Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Google Cloud Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Renaud CADEL
Google Cloud Platform
Commits
9c80d9d6
Commit
9c80d9d6
authored
2 years ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
chore(cicd): use image for extract-script job
parent
2b9c303f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-15
3 additions, 15 deletions
.gitlab-ci.yml
with
3 additions
and
15 deletions
.gitlab-ci.yml
+
3
−
15
View file @
9c80d9d6
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,21 +23,6 @@ variables:
...
@@ -20,21 +23,6 @@ variables:
GITLAB_CI_FILES
:
"
templates/gitlab-ci-gcloud.yml"
GITLAB_CI_FILES
:
"
templates/gitlab-ci-gcloud.yml"
BASH_SHELLCHECK_FILES
:
"
*.sh"
BASH_SHELLCHECK_FILES
:
"
*.sh"
# extract the Bash script from template (for ShellCheck job)
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment