Loading .gitlab-ci.yml +3 −13 Original line number Diff line number Diff line 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' Loading @@ -20,19 +23,6 @@ variables: GITLAB_CI_FILES: "templates/gitlab-ci-gitleaks.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 Loading Loading
.gitlab-ci.yml +3 −13 Original line number Diff line number Diff line 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' Loading @@ -20,19 +23,6 @@ variables: GITLAB_CI_FILES: "templates/gitlab-ci-gitleaks.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 Loading