Skip to content
Snippets Groups Projects

Merge request pipeline flow

Closed Mihai Patrascoiu requested to merge merge_request_pipeline into develop
+ 24
0
@@ -109,6 +109,28 @@ server_rpm:
paths:
- artifacts/
ci_cd_test:
stage: build
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
script:
- echo "GitLab CI/CD | Print all environment variables"
- env
ci_cd_test_with_rules:
stage: build
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
script:
- echo "GitLab CI/CD | Print all environment variables"
- env
rules:
- if: '$CI_PROJECT_NAMESPACE != "fts"'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_TAG == null'
when: manual
#--------------------------
# Docker build templates
#--------------------------
@@ -236,6 +258,8 @@ rpms:
rules:
- if: '$CI_PROJECT_NAMESPACE != "fts"'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_TAG == null'
when: manual
Loading