Loading templates/gitlab-ci-xxx.yml +8 −12 Original line number Diff line number Diff line Loading @@ -13,6 +13,14 @@ # program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth # Floor, Boston, MA 02110-1301, USA. # ========================================================================================= # default workflow rules workflow: rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never - when: always variables: # variabilized tracking image TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" Loading Loading @@ -324,9 +332,6 @@ xxx-build: paths: - build/ - reports/ rules: # exclude merge requests - if: '$CI_MERGE_REQUEST_ID == null' # (example) linter job xxx-lint: Loading @@ -344,9 +349,6 @@ xxx-lint: paths: - reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production or integration branches: auto - if: '$CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF' # else (development branches): manual & non-blocking Loading @@ -369,9 +371,6 @@ xxx-depcheck: paths: - reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on schedule: auto - if: '$CI_PIPELINE_SOURCE == "schedule"' allow_failure: true Loading @@ -393,9 +392,6 @@ xxx-publish: script: - xxx $XXX_PUBLISH_ARGS rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production branch(es): manual & non-blocking if $XXX_PUBLISH_ENABLED is set - if: '$XXX_PUBLISH_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' when: manual Loading Loading
templates/gitlab-ci-xxx.yml +8 −12 Original line number Diff line number Diff line Loading @@ -13,6 +13,14 @@ # program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth # Floor, Boston, MA 02110-1301, USA. # ========================================================================================= # default workflow rules workflow: rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never - when: always variables: # variabilized tracking image TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" Loading Loading @@ -324,9 +332,6 @@ xxx-build: paths: - build/ - reports/ rules: # exclude merge requests - if: '$CI_MERGE_REQUEST_ID == null' # (example) linter job xxx-lint: Loading @@ -344,9 +349,6 @@ xxx-lint: paths: - reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production or integration branches: auto - if: '$CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF' # else (development branches): manual & non-blocking Loading @@ -369,9 +371,6 @@ xxx-depcheck: paths: - reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on schedule: auto - if: '$CI_PIPELINE_SOURCE == "schedule"' allow_failure: true Loading @@ -393,9 +392,6 @@ xxx-publish: script: - xxx $XXX_PUBLISH_ARGS rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production branch(es): manual & non-blocking if $XXX_PUBLISH_ENABLED is set - if: '$XXX_PUBLISH_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' when: manual Loading