Commit d82ca17f authored by Philippe Lafoucrière's avatar Philippe Lafoucrière

Remove DAST job

refs #3413
parent 1fd03ea2
Pipeline #38359483 passed with stages
in 29 minutes and 35 seconds
......@@ -23,7 +23,6 @@ stages:
- prepare
- build
- deploy
- dast
lint 0 2:
stage: build
......@@ -255,29 +254,4 @@ deploy:
tags:
- deploy
only:
- master@gitlab-com/www-gitlab-com
dast:
stage: dast
only:
- branches@gitlab-com/www-gitlab-com
except:
- master@gitlab-com/www-gitlab-com
image: registry.gitlab.com/gitlab-org/security-products/zaproxy
allow_failure: true
before_script: []
cache: {}
dependencies: []
tags: []
services: []
variables:
DOCKER_DRIVER: overlay2
DAST_WEB_SITE: https://$CI_COMMIT_REF_SLUG.about-src.gitlab.com
script:
- if [ -z $DAST_WEB_SITE ]; then echo "Please configure DAST_WEB_SITE env variable" && exit 1; fi
- mkdir /zap/wrk/
- /zap/zap-baseline.py -J gl-dast-report.json -t $DAST_WEB_SITE || true
- cp /zap/wrk/gl-dast-report.json .
artifacts:
reports:
dast: gl-dast-report.json
- master@gitlab-com/www-gitlab-com
\ No newline at end of file
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