From 74e4049dad8f149e566023aff8c2b1e2ed447714 Mon Sep 17 00:00:00 2001 From: Update Bot <update-bot@private.storage> Date: Fri, 22 Jul 2022 13:04:09 -0400 Subject: [PATCH] Re-add stages GitLab docs explicitly say `needs` does not require stages but GitLab actual behavior is: ``` Found errors in your .gitlab-ci.yml: update-staging job needs system-tests job, but system-tests is not in any previous stage update-staging job needs morph-build-staging job, but morph-build-staging is not in any previous stage ``` --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14d8e4b4..5162b482 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,12 +18,17 @@ - when: "never" +stages: + - "build" + - "deploy" + default: # Guide the choice of an appropriate runner for all these jobs. # https://docs.gitlab.com/ee/ci/runners/#runner-runs-only-tagged-jobs tags: - "nixos" - "shell" + stage: "build" variables: # https://docs.gitlab.com/ee/ci/runners/configure_runners.html#job-stages-attempts -- GitLab