From 161a24e5ba8cd6440ed68aee6f6cb03f57863489 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Wed, 21 Aug 2024 22:52:07 +0200 Subject: [PATCH] ci(tbc): migrate to component include --- .gitlab-ci.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b245c6..352f409 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,28 +1,22 @@ 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' - -- GitLab