Skip to content
Snippets Groups Projects
Commit dfc05395 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Gate deployment on the other relevant QA jobs

parent 925671c6
No related branches found
No related tags found
3 merge requests!319update production,!311bump nixpkgs version,!305Automate updating nixpkgs pin in develop branch once a week
Pipeline #2146 passed
......@@ -53,7 +53,7 @@ morph-build-localdev:
# just needs this tweak.
echo '{}' > morph/grid/${GRID}/public-keys/users.nix
morph-build-testing:
morph-build-staging:
<<: *MORPH_BUILD
variables:
GRID: "testing"
......@@ -94,6 +94,13 @@ system-tests:
# Update the staging deployment - only on a commit to the develop branch.
update-staging:
<<: *UPDATE_GRID
# https://docs.gitlab.com/ee/ci/yaml/index.html#needs
needs:
# Only deploy if the code looks good.
- "system-tests"
- "morph-build-staging"
# https://docs.gitlab.com/ee/ci/yaml/#rules
rules:
# https://docs.gitlab.com/ee/ci/yaml/index.html#rulesif
......@@ -116,6 +123,13 @@ update-staging:
# Update the production deployment - only on a commit to the production branch.
deploy-to-production:
<<: *UPDATE_GRID
# https://docs.gitlab.com/ee/ci/yaml/index.html#needs
needs:
# Only deploy if the code looks good.
- "system-tests"
- "morph-build-staging"
# https://docs.gitlab.com/ee/ci/yaml/#rules
rules:
# https://docs.gitlab.com/ee/ci/yaml/index.html#rulesif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment