Loading templates/gitlab-ci-golang.yml +8 −15 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 @@ -292,9 +300,6 @@ go-build: paths: - $GO_PROJECT_DIR/bin/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE set - if: '$GO_TEST_IMAGE' Loading @@ -315,9 +320,6 @@ go-test: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE set - if: '$GO_TEST_IMAGE' Loading @@ -339,9 +341,6 @@ go-build-test: - $GO_PROJECT_DIR/bin/ - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE not set - if: '$GO_TEST_IMAGE == null' Loading @@ -359,9 +358,6 @@ go-ci-lint: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # exclude if GO_CI_LINT_DISABLED set - if: '$GO_CI_LINT_DISABLED == "true"' when: never Loading @@ -386,9 +382,6 @@ go-mod-outdated: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on schedule: auto - if: '$CI_PIPELINE_SOURCE == "schedule"' allow_failure: true Loading Loading
templates/gitlab-ci-golang.yml +8 −15 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 @@ -292,9 +300,6 @@ go-build: paths: - $GO_PROJECT_DIR/bin/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE set - if: '$GO_TEST_IMAGE' Loading @@ -315,9 +320,6 @@ go-test: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE set - if: '$GO_TEST_IMAGE' Loading @@ -339,9 +341,6 @@ go-build-test: - $GO_PROJECT_DIR/bin/ - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # if $GO_TEST_IMAGE not set - if: '$GO_TEST_IMAGE == null' Loading @@ -359,9 +358,6 @@ go-ci-lint: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # exclude if GO_CI_LINT_DISABLED set - if: '$GO_CI_LINT_DISABLED == "true"' when: never Loading @@ -386,9 +382,6 @@ go-mod-outdated: paths: - $GO_PROJECT_DIR/reports/ rules: # exclude merge requests - if: $CI_MERGE_REQUEST_ID when: never # on schedule: auto - if: '$CI_PIPELINE_SOURCE == "schedule"' allow_failure: true Loading