Skip to content

Commit 99f4ec8

Browse files
committed
ci-automation: fix STACKIT garbage collection
The STACKIT project ID was missing for the gargabe collector to run. Signed-off-by: Mathieu Tortuyaux <[email protected]>
1 parent c1c79e6 commit 99f4ec8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci-automation/garbage_collect.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ function _garbage_collect_impl() {
263263
--env BRIGHTBOX_CLIENT_ID --env BRIGHTBOX_CLIENT_SECRET \
264264
--env AKAMAI_TOKEN \
265265
--env STACKIT_SERVICE_ACCOUNT \
266+
--env STACKIT_PROJECT_ID \
266267
-w /work -v "$PWD":/work "${mantle_ref}" /work/ci-automation/garbage_collect_cloud.sh
267268

268269
echo

ci-automation/garbage_collect_cloud.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ timeout --signal=SIGQUIT 60m ore brightbox gc --duration 6h \
1010
timeout --signal=SIGQUIT 60m ore akamai gc --duration 6h \
1111
--akamai-token="${AKAMAI_TOKEN}"
1212
timeout --signal=SIGQUIT 60m ore stackit gc --duration 6h \
13-
--stackit-service-account-key-path=<(echo "${STACKIT_SERVICE_ACCOUNT}" | base64 --decode)
13+
--stackit-service-account-key-path=<(echo "${STACKIT_SERVICE_ACCOUNT}" | base64 --decode) \
14+
--stackit-project-id="${STACKIT_PROJECT_ID}"
1415
secret_to_file aws_credentials_config_file "${AWS_CREDENTIALS}"
1516
for channel in alpha beta stable lts; do
1617
for arch in amd64 arm64; do

0 commit comments

Comments
 (0)