Commit e43ec397 authored by Albert Salim's avatar Albert Salim

Temporarily disabling review apps

- removes `review-deploy` job
- removes downstream jobs depending on `review-deploy`
parent e520e164
...@@ -146,37 +146,38 @@ dependency_scanning: ...@@ -146,37 +146,38 @@ dependency_scanning:
dependency_scanning: gl-dependency-scanning-report.json dependency_scanning: gl-dependency-scanning-report.json
expire_in: 1 week # GitLab-specific expire_in: 1 week # GitLab-specific
# We need to duplicate this job's definition because it seems it's impossible to # Temporarily disabling review apps
# override an included `only.refs`. ## We need to duplicate this job's definition because it seems it's impossible to
# See https://gitlab.com/gitlab-org/gitlab/issues/31371. ## override an included `only.refs`.
dast: ## See https://gitlab.com/gitlab-org/gitlab/issues/31371.
extends: #dast:
- .default-retry # extends:
- .reports:rules:dast # - .default-retry
# This is needed so that manual jobs with needs don't block the pipeline. # - .reports:rules:dast
# See https://gitlab.com/gitlab-org/gitlab/-/issues/199979. # # This is needed so that manual jobs with needs don't block the pipeline.
dependencies: ["review-deploy"] # # See https://gitlab.com/gitlab-org/gitlab/-/issues/199979.
stage: qa # GitLab-specific # dependencies: ["review-deploy"]
image: # stage: qa # GitLab-specific
name: "registry.gitlab.com/gitlab-org/security-products/dast:$DAST_VERSION" # image:
variables: # name: "registry.gitlab.com/gitlab-org/security-products/dast:$DAST_VERSION"
# To be done in a later iteration # variables:
# DAST_USERNAME: "root" # # To be done in a later iteration
# DAST_USERNAME_FIELD: "user[login]" # # DAST_USERNAME: "root"
# DAST_PASSWORD_FIELD: "user[passowrd]" # # DAST_USERNAME_FIELD: "user[login]"
DAST_VERSION: 1 # # DAST_PASSWORD_FIELD: "user[passowrd]"
script: # DAST_VERSION: 1
- 'export DAST_WEBSITE="${DAST_WEBSITE:-$(cat environment_url.txt)}"' # script:
# To be done in a later iteration # - 'export DAST_WEBSITE="${DAST_WEBSITE:-$(cat environment_url.txt)}"'
# - 'export DAST_AUTH_URL="${DAST_WEBSITE}/users/sign_in"' # # To be done in a later iteration
# - 'export DAST_PASSWORD="${REVIEW_APPS_ROOT_PASSWORD}"' # # - 'export DAST_AUTH_URL="${DAST_WEBSITE}/users/sign_in"'
- /analyze -t $DAST_WEBSITE # # - 'export DAST_PASSWORD="${REVIEW_APPS_ROOT_PASSWORD}"'
artifacts: # - /analyze -t $DAST_WEBSITE
paths: # artifacts:
- gl-dast-report.json # GitLab-specific # paths:
reports: # - gl-dast-report.json # GitLab-specific
dast: gl-dast-report.json # reports:
expire_in: 1 week # GitLab-specific # dast: gl-dast-report.json
# expire_in: 1 week # GitLab-specific
# To be done in a later iteration: https://gitlab.com/gitlab-org/gitlab/issues/31160#note_278188255 # To be done in a later iteration: https://gitlab.com/gitlab-org/gitlab/issues/31160#note_278188255
# schedule:dast: # schedule:dast:
......
This diff is collapsed.
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