Commit 1537c7d9 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch '31571-implement-dag-for-review-review-prepare-qa' into 'master'

Implement DAG for review/review-prepare/qa

See merge request gitlab-org/gitlab!17920
parents da75b0e4 7a451c77
...@@ -198,6 +198,7 @@ dast: ...@@ -198,6 +198,7 @@ dast:
- .only-code-qa-changes - .only-code-qa-changes
- .only-review - .only-review
stage: qa stage: qa
needs: ["review-deploy"]
dependencies: ["review-deploy"] dependencies: ["review-deploy"]
before_script: before_script:
- export DAST_WEBSITE="$(cat review_app_url.txt)" - export DAST_WEBSITE="$(cat review_app_url.txt)"
......
...@@ -183,6 +183,7 @@ review-cleanup-failed-deployment: ...@@ -183,6 +183,7 @@ review-cleanup-failed-deployment:
GITLAB_ADMIN_PASSWORD: "${REVIEW_APPS_ROOT_PASSWORD}" GITLAB_ADMIN_PASSWORD: "${REVIEW_APPS_ROOT_PASSWORD}"
GITHUB_ACCESS_TOKEN: "${REVIEW_APPS_QA_GITHUB_ACCESS_TOKEN}" GITHUB_ACCESS_TOKEN: "${REVIEW_APPS_QA_GITHUB_ACCESS_TOKEN}"
EE_LICENSE: "${REVIEW_APPS_EE_LICENSE}" EE_LICENSE: "${REVIEW_APPS_EE_LICENSE}"
needs: ["review-deploy"]
dependencies: ["review-deploy"] dependencies: ["review-deploy"]
artifacts: artifacts:
paths: paths:
...@@ -239,6 +240,8 @@ review-performance: ...@@ -239,6 +240,8 @@ review-performance:
extends: extends:
- .review-performance-base - .review-performance-base
- .only-review - .only-review
needs: ["review-deploy"]
dependencies: ["review-deploy"]
before_script: before_script:
- export CI_ENVIRONMENT_URL="$(cat review_app_url.txt)" - export CI_ENVIRONMENT_URL="$(cat review_app_url.txt)"
- echo "${CI_ENVIRONMENT_URL}" - echo "${CI_ENVIRONMENT_URL}"
...@@ -259,6 +262,7 @@ schedule:review-performance: ...@@ -259,6 +262,7 @@ schedule:review-performance:
extends: extends:
- .review-performance-base - .review-performance-base
- .only-review-schedules - .only-review-schedules
needs: ["schedule:review-deploy"]
dependencies: ["schedule:review-deploy"] dependencies: ["schedule:review-deploy"]
parallel-spec-reports: parallel-spec-reports:
......
...@@ -185,11 +185,11 @@ subgraph "`qa` stage" ...@@ -185,11 +185,11 @@ subgraph "`qa` stage"
R --> |needs| F; R --> |needs| F;
P --> |needs| B; P --> |needs| B;
P --> |needs| F; P --> |needs| F;
review-qa-smoke -.-> |depends on| G; review-qa-smoke -.-> |needs and depends on| G;
review-qa-all -.-> |depends on| G; review-qa-all -.-> |needs and depends on| G;
review-qa-performance -.-> |depends on| G; review-performance -.-> |needs and depends on| G;
X2["schedule:review-performance<br/>(master only)"] -.-> |depends on| G2; X2["schedule:review-performance<br/>(master only)"] -.-> |needs and depends on| G2;
dast -.-> |depends on| G; dast -.-> |needs and depends on| G;
end end
subgraph "`notification` stage" subgraph "`notification` stage"
......
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