diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fdfe2983f4c91867f0ceac45af9cb5652057bee..1e3d4c761c3f8355f6a4daf3ad310a6879088a69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,7 @@ 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' @@ -20,19 +23,6 @@ variables: GITLAB_CI_FILES: "templates/gitlab-ci-puppeteer.yml" BASH_SHELLCHECK_FILES: "*.sh" -extract-script: - stage: .pre - script: - - echo "#!/bin/bash" > script.sh - - sed -n '/BEGSCRIPT/,/ENDSCRIPT/p' "$GITLAB_CI_FILES" | sed 's/^ //' >> script.sh - - export LC_ALL=C.UTF-8 - artifacts: - when: always - name: extracted template script - expire_in: 1h - paths: - - script.sh - semantic-release: rules: # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED