Merge branch 'MON-485_use_claranet_docker_image' into 'master'

MON-485 fix missing curl command for second step of the CI

Closes MON-485

See merge request claranet/pt-monitoring/projects/datadog/terraform/monitors!81
This commit is contained in:
Quentin Manfroi 2019-07-26 10:32:01 +02:00
commit 6821deddb4

View File

@ -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