Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a9298540
Commit
a9298540
authored
Oct 07, 2020
by
Vicken Simonian
Committed by
Alessio Caiazza
Oct 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move before_script contents into script to prevent inadvertent
overriding by template users. Fix #249361
parent
004cb345
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
changelogs/unreleased/42782-move-beforescript-into-script.yml
...gelogs/unreleased/42782-move-beforescript-into-script.yml
+5
-0
lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
+1
-2
No files found.
changelogs/unreleased/42782-move-beforescript-into-script.yml
0 → 100644
View file @
a9298540
---
title
:
Move before_script into script for CQ template
merge_request
:
42782
author
:
Vicken Simonian @vicken.papaya
type
:
fixed
lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
View file @
a9298540
...
...
@@ -9,9 +9,8 @@ code_quality:
DOCKER_TLS_CERTDIR
:
"
"
CODE_QUALITY_IMAGE
:
"
registry.gitlab.com/gitlab-org/ci-cd/codequality:0.85.10-gitlab.1"
needs
:
[]
before_script
:
-
export SOURCE_CODE=$PWD
script
:
-
export SOURCE_CODE=$PWD
-
|
if ! docker info &>/dev/null; then
if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment