test: use non-deprecated gitlab CI variables

CI_BUILD_ID was replaced with CI_JOB_ID in gitlab 9+.
This commit is contained in:
Sanne Raymaekers 2023-05-11 22:48:09 +02:00 committed by Achilleas Koutsou
parent 0335db645b
commit c7d2eaa5f7
10 changed files with 11 additions and 11 deletions

View file

@ -45,7 +45,7 @@ get_compose_metadata () {
}
BRANCH_NAME="${CI_COMMIT_BRANCH:-local}"
BUILD_ID="${CI_BUILD_ID:-$(uuidgen)}"
BUILD_ID="${CI_JOB_ID:-$(uuidgen)}"
TEST_ID="$DISTRO_CODE-$ARCH-$BRANCH_NAME-$BUILD_ID"
IMAGE_KEY=container-${TEST_ID}