MON-485 fix missing curl command for second step of the CI
This commit is contained in:
parent
65461fcc0b
commit
f70dfac184
@ -20,6 +20,8 @@ auto_update:
|
|||||||
deploy_terraform:
|
deploy_terraform:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
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"
|
- "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:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -31,6 +33,8 @@ deploy_terraform:
|
|||||||
build_template:
|
build_template:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
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"
|
- "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:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user