Skip to content
Snippets Groups Projects
.gitlab-ci.yml 708 B
Newer Older
Pierre Smeyers's avatar
Pierre Smeyers committed
include:
  - project: "to-be-continuous/tools/gitlab-ci"
    ref: "master"
    file: "/templates/extract.yml"
  - project: "to-be-continuous/tools/gitlab-ci"
    ref: "master"
    file: "/templates/validation.yml"
  - project: "to-be-continuous/kicker"
    ref: "master"
    file: "/templates/validation.yml"
  - component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3.5
    inputs:
      shellcheck-files: "*.sh"
Cédric OLIVIER's avatar
Cédric OLIVIER committed
  - local: "templates/gitlab-ci-semrel.yml"

Pierre Smeyers's avatar
Pierre Smeyers committed
variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-semrel.yml"

Cédric OLIVIER's avatar
Cédric OLIVIER committed
semantic-release:
  rules:
    # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
    - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'