Loading templates/gitlab-ci-angular.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 @@ -426,9 +434,6 @@ ng-lint: - $NG_WORKSPACE_DIR/reports expire_in: 1 day 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): auto & non-blocking Loading Loading @@ -459,9 +464,6 @@ ng-build: - $NG_WORKSPACE_DIR/dist - $NG_WORKSPACE_DIR/reports expire_in: 1 day rules: # exclude merge requests - if: '$CI_MERGE_REQUEST_ID == null' ############################################################################################### # test stage: # Loading @@ -481,9 +483,6 @@ ng-e2e: - $NG_WORKSPACE_DIR/$NG_E2E_REPORT_PATH expire_in: 1 day rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # only run if feature is enabled - if: '$NG_E2E_ENABLED == "true"' Loading @@ -504,9 +503,6 @@ npm-publish: script: - npm_publish rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production branche: manual - if: '$NG_PUBLISH_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' when: manual Loading
templates/gitlab-ci-angular.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 @@ -426,9 +434,6 @@ ng-lint: - $NG_WORKSPACE_DIR/reports expire_in: 1 day 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): auto & non-blocking Loading Loading @@ -459,9 +464,6 @@ ng-build: - $NG_WORKSPACE_DIR/dist - $NG_WORKSPACE_DIR/reports expire_in: 1 day rules: # exclude merge requests - if: '$CI_MERGE_REQUEST_ID == null' ############################################################################################### # test stage: # Loading @@ -481,9 +483,6 @@ ng-e2e: - $NG_WORKSPACE_DIR/$NG_E2E_REPORT_PATH expire_in: 1 day rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # only run if feature is enabled - if: '$NG_E2E_ENABLED == "true"' Loading @@ -504,9 +503,6 @@ npm-publish: script: - npm_publish rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on production branche: manual - if: '$NG_PUBLISH_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' when: manual