Commit 161a24e5 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci(tbc): migrate to component include

parent 499ce7a2
Loading
Loading
Loading
Loading
+12 −18
Original line number Diff line number Diff line
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'
  - project: 'to-be-continuous/bash'
    ref: '3.4'
    file: '/templates/gitlab-ci-bash.yml'
  - 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.4
    inputs:
      shellcheck-files: "*.sh"
  - local: "templates/gitlab-ci-semrel.yml"

stages:
  - build
  - publish

variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-semrel.yml"
  BASH_SHELLCHECK_FILES: "*.sh"

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