Constellation is the first Confidential Kubernetes. Constellation shields entire Kubernetes clusters from the (cloud) infrastructure using confidential computing.
GNU Affero General Public License v3.0
906
stars
47
forks
source link
ci: ignore missing files when creating archive #3118
During our e2e tests, we have a pre-configured list of files we plan to upload.
If some of these files don't exist, our artifact upload action fails, and we never upload an archive.
This can happen if the CLI fails during creation of the infrastructure, and then fails to clean up said infrastructure.
In this case, no constellation-mastersecret.json was ever created and the archive creation fails.
This causes problems for the clean-up action of the upgrade test.
Proposed change(s)
Only add files to the archive if they actually exist
Context
During our e2e tests, we have a pre-configured list of files we plan to upload. If some of these files don't exist, our artifact upload action fails, and we never upload an archive. This can happen if the CLI fails during creation of the infrastructure, and then fails to clean up said infrastructure. In this case, no
constellation-mastersecret.json
was ever created and the archive creation fails. This causes problems for the clean-up action of the upgrade test.Proposed change(s)