From f3209b887537a7d0ec7dbc092c159e4ba89fe33e Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Wed, 18 May 2022 19:14:05 +0200 Subject: [PATCH] chore(cicd): use image for extract-script job --- .gitlab-ci.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2d3ab8..19739a0 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-angular.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 -- GitLab