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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
53842505
Commit
53842505
authored
Mar 19, 2019
by
Victor Zagorodny
Committed by
Kamil Trzciński
Mar 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove before_script from DAST vendored template
parent
a6653b3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
+8
-9
No files found.
lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
View file @
53842505
...
@@ -21,7 +21,7 @@ dast:
...
@@ -21,7 +21,7 @@ dast:
allow_failure
:
true
allow_failure
:
true
services
:
services
:
-
docker:stable-dind
-
docker:stable-dind
before_
script
:
script
:
-
export DAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
-
export DAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
-
|
-
|
function dast_run() {
function dast_run() {
...
@@ -34,7 +34,6 @@ dast:
...
@@ -34,7 +34,6 @@ dast:
/analyze -t $DAST_WEBSITE \
/analyze -t $DAST_WEBSITE \
"$@"
"$@"
}
}
script
:
-
|
-
|
if [ -n "$DAST_AUTH_URL" ]
if [ -n "$DAST_AUTH_URL" ]
then
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