diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47e4841c73875bc10eb8e277ede30e2d5a0f44fe..cd679fe54c8845be5fc74d474b17c5cd67650652 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,29 +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/semantic-release' - ref: '3.11' - file: '/templates/gitlab-ci-semrel.yml' - -stages: - - build - - publish + - 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" + - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.11 variables: GITLAB_CI_FILES: "templates/gitlab-ci-rust.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' \ No newline at end of file + - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'