Commit 7cfc090d authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '10471-remove-before-script-for-dast-template-ce' into 'master'

Remove before_script from DAST vendored template

See merge request gitlab-org/gitlab-ce!26281
parents a6653b3c 53842505
......@@ -21,7 +21,7 @@ dast:
allow_failure: true
services:
- docker:stable-dind
before_script:
script:
- export DAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
- |
function dast_run() {
......@@ -34,7 +34,6 @@ dast:
/analyze -t $DAST_WEBSITE \
"$@"
}
script:
- |
if [ -n "$DAST_AUTH_URL" ]
then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment