Commit ed6cecfb authored by Albert Salim's avatar Albert Salim

Share review app resource group across jobs

Using the same resource group across the jobs
`review-deploy`, `review-stop`, `review-delete-deployment`
to avoid concurrent execution of these jobs.

If these jobs are allowed to run concurrently,
they would be disrupting one another in the same
kubernetes namespace.
parent efa5169e
......@@ -35,6 +35,7 @@ review-build-cng:
extends:
- .default-retry
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-helm3.5-kubectl1.17
resource_group: "review/${CI_COMMIT_REF_NAME}"
variables:
HOST_SUFFIX: "${CI_ENVIRONMENT_SLUG}"
DOMAIN: "-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}"
......@@ -51,7 +52,6 @@ review-deploy:
- .review:rules:review-deploy
stage: deploy
needs: ["review-build-cng"]
resource_group: "review/${CI_COMMIT_REF_NAME}"
before_script:
- export GITLAB_SHELL_VERSION=$(<GITLAB_SHELL_VERSION)
- export GITALY_VERSION=$(<GITALY_SERVER_VERSION)
......
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