remove cloud-cleaner in favour of scheduled cloud cleaner

from now on, we will run schedules cloud cleaner every ~1h, so there's
no need to run cloud cleaner.
This commit is contained in:
Juan Abia 2022-06-09 08:53:01 +02:00 committed by Jakub Rusz
parent bdd7122f10
commit 135d28bc9f
2 changed files with 0 additions and 12 deletions

View file

@ -14,7 +14,6 @@ stages:
- schutzbot/ci_details.sh > ci-details-after-run || true
- schutzbot/update_github_status.sh update || true
- schutzbot/save_journal.sh || true
- schutzbot/run_cloud_cleaner.sh || true
interruptible: true
tags:
- terraform

View file

@ -1,11 +0,0 @@
#!/bin/bash
set -euo pipefail
source tools/set-env-variables.sh
BRANCH_NAME="${BRANCH_NAME:-${CI_COMMIT_BRANCH}}"
BUILD_ID="${BUILD_ID:-${CI_BUILD_ID}}"
CLEANER_CMD="env $(cat "${AZURE_CREDS:-/dev/null}") BRANCH_NAME=$BRANCH_NAME BUILD_ID=$BUILD_ID DISTRO_CODE=$DISTRO_CODE /usr/libexec/osbuild-composer-test/cloud-cleaner"
echo "🧹 Running the cloud cleaner"
$CLEANER_CMD