Merge pull request #3560 from flatcar/tormath1/stackit-fix-gc

ci-automation: fix STACKIT garbage collection
This commit is contained in:
Mathieu Tortuyaux 2025-12-17 15:47:12 +01:00 committed by GitHub
commit 29f2bf8627
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -263,6 +263,7 @@ function _garbage_collect_impl() {
--env BRIGHTBOX_CLIENT_ID --env BRIGHTBOX_CLIENT_SECRET \
--env AKAMAI_TOKEN \
--env STACKIT_SERVICE_ACCOUNT \
--env STACKIT_PROJECT_ID \
-w /work -v "$PWD":/work "${mantle_ref}" /work/ci-automation/garbage_collect_cloud.sh
echo

View File

@ -10,7 +10,8 @@ timeout --signal=SIGQUIT 60m ore brightbox gc --duration 6h \
timeout --signal=SIGQUIT 60m ore akamai gc --duration 6h \
--akamai-token="${AKAMAI_TOKEN}"
timeout --signal=SIGQUIT 60m ore stackit gc --duration 6h \
--stackit-service-account-key-path=<(echo "${STACKIT_SERVICE_ACCOUNT}" | base64 --decode)
--stackit-service-account-key-path=<(echo "${STACKIT_SERVICE_ACCOUNT}" | base64 --decode) \
--stackit-project-id="${STACKIT_PROJECT_ID}"
secret_to_file aws_credentials_config_file "${AWS_CREDENTIALS}"
for channel in alpha beta stable lts; do
for arch in amd64 arm64; do