From f70dfac18427fba5799886741e1d77283fd1d925 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Fri, 26 Jul 2019 10:26:00 +0200 Subject: [PATCH] MON-485 fix missing curl command for second step of the CI --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58ce21e..b130656 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,8 @@ auto_update: deploy_terraform: stage: deploy script: + - apk update + - apk add --no-cache curl - "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=${TEMPLATES_GITLAB_BRANCH:-master} -F \"variables[SCENARIO]=test\" ${CI_API_V4_URL}/projects/${TEMPLATES_GITLAB_ID}/trigger/pipeline" only: - master @@ -31,6 +33,8 @@ deploy_terraform: build_template: stage: build script: + - apk update + - apk add --no-cache curl - "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=${TEMPLATES_GITLAB_BRANCH:-master} -F \"variables[SCENARIO]=build\" -F \"variables[TAG]=$CI_COMMIT_TAG\" ${CI_API_V4_URL}/projects/${TEMPLATES_GITLAB_ID}/trigger/pipeline" only: - tags