File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 22default :
33 image : mcr.microsoft.com/devcontainers/python:1-3.12-bookworm
44
5- variables :
6- PIPELINE_NAME : ' CI_COMMIT_BRANCH' # A default is not required
7-
85workflow :
9- name : ' Pipeline for branch : $PIPELINE_NAME '
6+ name : ' $CI_COMMIT_AUTHOR : $CI_COMMIT_TITLE '
107 auto_cancel :
118 on_new_commit : interruptible
129 on_job_failure : all
1310 rules :
1411 - if : $CI_PIPELINE_SOURCE == 'merge_request_event'
1512 variables :
1613 DEPLOY_ENV : " development"
17- PIPELINE_NAME : ' $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME'
1814 - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1915 variables :
2016 DEPLOY_ENV : " staging"
2117 - if : $CI_COMMIT_BRANCH == $CI_COMMIT_TAG
2218 variables :
2319 DEPLOY_ENV : " production"
24- PIPELINE_NAME : ' $CI_COMMIT_TAG'
2520 - when : never
2621
2722stages :
You can’t perform that action at this time.
0 commit comments