-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: KMS GCP image on RHEL9 and ubuntu22 (#94)
* build: prepare release 1.1.0 * ci: add packer build max_retries + do not start nginx on KMS install * fix(rhel): permission for certificate/key * fix: build * fix: retry packer build until it succeeds * fix: packer build * fix: export KMS_VERSION * fix: export KMS_VERSION (again) * fix: try restorecon on rhel * fix: do no fail on error on KMS startup script * fix: revert change * fix: autostart cosmian_vm_agent, remove startup script * fix: retry on failures for nginx * fix: retry on failures for nginx on rhel * fix: create nginx systemd service before modifying it * fix: enable nginx * fix: enable nginx * fix(kms): temporary disable httpd selinux security * fix: revert changes on mount_luks.sh * ci: build/test GCP images only on PR * ci: build cargo on every commit. Build GCP image on PR only
- Loading branch information
Showing
18 changed files
with
113 additions
and
150 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
on: | ||
# Run only on pull requests and tags | ||
push: | ||
tags: | ||
- '*' | ||
pull_request: | ||
|
||
name: Pull requests CI | ||
|
||
jobs: | ||
build-cosmian-vm-binaries: | ||
name: Build binaries | ||
uses: ./.github/workflows/build.yml | ||
|
||
build-test-gcp-sev-image: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
distrib: [ubuntu, rhel] | ||
product: [cosmian-vm, kms] | ||
name: (GCP) ${{ matrix.product }} - ${{ matrix.distrib }} - SEV | ||
needs: build-cosmian-vm-binaries | ||
secrets: inherit | ||
uses: ./.github/workflows/gcp_image.yml | ||
with: | ||
techno: sev | ||
distrib: ${{ matrix.distrib }} | ||
machine-type: n2d-standard-2 | ||
zone: europe-west4-a | ||
confidential-compute-type: SEV_SNP | ||
min-cpu-platform: AMD Milan | ||
project: cosmian-dev | ||
mode: beta | ||
product: ${{ matrix.product }} | ||
kms-version: 4.15.0 | ||
|
||
release: | ||
name: Release | ||
if: startsWith(github.ref, 'refs/tags/') | ||
needs: [build-test-gcp-sev-image] | ||
secrets: inherit | ||
uses: ./.github/workflows/release.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
cosmian_vm_version: 1.1.0-rc.4 | ||
cosmian_vm_version: 1.1.0 | ||
cosmian_kms_version: 4.15.0 | ||
|
||
nginx_user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ansible/roles/cosmian_vm_agent/templates/supervisor_cosmian_vm_agent.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.