Skip to content
Snippets Groups Projects
Commit 4ed257f5 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

chore(cicd): use image for extract-script job

parent f2c281f5
No related branches found
No related tags found
No related merge requests found
include: include:
- project: 'to-be-continuous/tools/gitlab-ci'
ref: 'master'
file: '/templates/extract.yml'
- project: 'to-be-continuous/tools/gitlab-ci' - project: 'to-be-continuous/tools/gitlab-ci'
ref: 'master' ref: 'master'
file: '/templates/validation.yml' file: '/templates/validation.yml'
...@@ -20,19 +23,6 @@ variables: ...@@ -20,19 +23,6 @@ variables:
GITLAB_CI_FILES: "templates/gitlab-ci-puppeteer.yml" GITLAB_CI_FILES: "templates/gitlab-ci-puppeteer.yml"
BASH_SHELLCHECK_FILES: "*.sh" 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: semantic-release:
rules: rules:
# on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment