From 214778ed37ed1bcbf3894c6c386e3054bf768899 Mon Sep 17 00:00:00 2001 From: Ismail Ahmad <ismailahmad@ismailscbookpro.lan> Date: Sat, 16 Jan 2021 00:07:31 -0500 Subject: [PATCH] chore: explictly setting the pre var job as a dependency --- .gitlab-ci.yml | 4 ++++ .gitlab-ci/templates.yml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14337de6ba..fd188b803b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -209,6 +209,8 @@ aws/rke2/cluster up: - .rke2 up needs: - job: aws/network up + - job: pre vars + artifacts: true environment: name: review/aws-${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} @@ -281,6 +283,8 @@ aws/rke2/cluster down: - .rke2 down needs: - job: aws/rke2/bigbang down + - job: pre vars + artifacts: true environment: name: review/aws-${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} diff --git a/.gitlab-ci/templates.yml b/.gitlab-ci/templates.yml index c4c7ad631f..27fc2b958a 100644 --- a/.gitlab-ci/templates.yml +++ b/.gitlab-ci/templates.yml @@ -18,7 +18,6 @@ include: variables: TF_IN_AUTOMATION: "1" before_script: - # Shorten the env name down to 15 characters - echo "$TF_VAR_env" - cd ${CI_PROJECT_DIR}/${TF_ROOT} - terraform version -- GitLab