Commit d4bae10a authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: disable semantic-release in cloned repositories

parent 4ba888ce
Loading
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -9,7 +9,11 @@ include:
    ref: "master"
    file: "/templates/validation.yml"
  - local: "templates/gitlab-ci-bash.yml"
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4.0
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4
    inputs:
      # disable semrel for all synch'd repositories
      release-disabled: true
      auto-release-enabled: true

variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-bash.yml"
@@ -17,8 +21,3 @@ variables:
  BASH_BATS_ENABLED: "true"
  BASH_BATS_LIBRARIES: "bats-support@https://github.com/bats-core/bats-support/archive/v0.3.0.zip bats-assert@https://github.com/bats-core/bats-assert/archive/v2.1.0.zip bats-file@https://github.com/bats-core/bats-file/archive/v0.4.0.zip"
  BASH_COVERAGE_ENABLED: "true"

semantic-release:
  rules:
    # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
    - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'