Compare commits
	
		
			2 Commits
		
	
	
		
			8c1016a231
			...
			8764634ea0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8764634ea0 | |||
| 1b4c4b5d64 | 
| @@ -72,20 +72,17 @@ jobs: | |||||||
|         id: setup |         id: setup | ||||||
|         with: |         with: | ||||||
|           version: "latest" |           version: "latest" | ||||||
|       - name: Run `packer init` |       - name: Prepare build environment | ||||||
|         id: init |         id: init | ||||||
|         run: packer init -upgrade ./packer |  | ||||||
|       - name: Prepare dependencies and inject configuration |  | ||||||
|         run: | |         run: | | ||||||
|           export BUILD_COMMIT=$(echo "${{ gitea.sha }}" | cut -c 1-10) |           packer init -upgrade ./packer | ||||||
|           export BUILD_SUFFIX=$(openssl rand -hex 3) |  | ||||||
|  |  | ||||||
|           sed -i -e "s/<<img-password>>/${{ secrets.SSH_PASSWORD }}/g" \ |  | ||||||
|             packer/preseed/UbuntuServer22.04/user-data |  | ||||||
|  |  | ||||||
|           ansible-galaxy collection install \ |           ansible-galaxy collection install \ | ||||||
|             -r ansible/requirements.yml \ |             -r ansible/requirements.yml \ | ||||||
|             -p ./ansible/collections |             -p ./ansible/collections | ||||||
|  |  | ||||||
|  |           echo "BUILD_COMMIT=$(echo ${{ gitea.sha }} | cut -c 1-10)" >> $GITHUB_ENV | ||||||
|  |           echo "BUILD_SUFFIX=$(openssl rand -hex 3)" >> $GITHUB_ENV | ||||||
|       - name: Run `packer validate` |       - name: Run `packer validate` | ||||||
|         id: validate |         id: validate | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
| @@ -195,7 +195,7 @@ components: | |||||||
|  |  | ||||||
|   json-server: |   json-server: | ||||||
|     helm: |     helm: | ||||||
|       version: v0.8.3 |       version: v0.8.4 | ||||||
|       chart: spamasaurus/json-server |       chart: spamasaurus/json-server | ||||||
|       parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' |       parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' | ||||||
|       chart_values: !unsafe | |       chart_values: !unsafe | | ||||||
| @@ -207,10 +207,14 @@ components: | |||||||
|                 - path: / |                 - path: / | ||||||
|                   pathType: Prefix |                   pathType: Prefix | ||||||
|         jsonServer: |         jsonServer: | ||||||
|  |           image: | ||||||
|  |             repository: code.spamasaurus.com/djpbessems/json-server | ||||||
|           seedData: |           seedData: | ||||||
|             configInline: {} |             configInline: {} | ||||||
|         sidecar: |         sidecar: | ||||||
|           targetUrl: version.{{ vapp['metacluster.fqdn'] }} |           targetUrl: version.{{ vapp['metacluster.fqdn'] }} | ||||||
|  |           image: | ||||||
|  |             repository: code.spamasaurus.com/djpbessems/json-server | ||||||
|  |  | ||||||
|   kube-prometheus-stack: |   kube-prometheus-stack: | ||||||
|     helm: |     helm: | ||||||
|   | |||||||
| @@ -15,7 +15,7 @@ source "vsphere-iso" "ubuntu" { | |||||||
|   boot_order                     = "disk,cdrom" |   boot_order                     = "disk,cdrom" | ||||||
|   boot_command                   = [ |   boot_command                   = [ | ||||||
|     "e<down><down><down><end>", |     "e<down><down><down><end>", | ||||||
|     " autoinstall ds=nocloud;", |     " autoinstall network-config=disabled ds=nocloud;", | ||||||
|     "<F10>" |     "<F10>" | ||||||
|   ] |   ] | ||||||
|   boot_wait                      = "2s" |   boot_wait                      = "2s" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user