MON-449 add tag to build
This commit is contained in:
parent
2e6ff3a5cf
commit
f9012ff302
@ -27,7 +27,7 @@ deploy_terraform:
|
||||
- apk update
|
||||
- apk upgrade
|
||||
- apk add --no-cache curl
|
||||
- "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=MON-182_minimal_v1 -F 'variables[SCENARIO]=test' https://git.fr.clara.net/api/v4/projects/513/trigger/pipeline"
|
||||
- "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=MON-182_minimal_v1 -F \"variables[SCENARIO]=test\" https://git.fr.clara.net/api/v4/projects/513/trigger/pipeline"
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
@ -41,7 +41,7 @@ build_template:
|
||||
- apk update
|
||||
- apk upgrade
|
||||
- apk add --no-cache curl
|
||||
- "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=MON-182_minimal_v1 -F 'variables[SCENARIO]=build' https://git.fr.clara.net/api/v4/projects/513/trigger/pipeline"
|
||||
- "curl -X POST -F token=${TEMPLATES_GITLAB_TOKEN} -F ref=MON-182_minimal_v1 -F \"variables[SCENARIO]=build\" -F \"variables[TAG]=$CI_COMMIT_TAG\" https://git.fr.clara.net/api/v4/projects/513/trigger/pipeline"
|
||||
only:
|
||||
- tags
|
||||
except:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user