ci: Move test-docs job to deploy stage
We put it in the first container stage to prevent it from waiting for
jobs in previous stages, but empty needs: works for that as well.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6209>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b98236c..3f6e1cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@
- local: '.gitlab-ci/test-source-dep.yml'
stages:
- - container+docs
+ - container
- container-2
- git-archive
- deploy
@@ -97,7 +97,8 @@
extends: .docs-base
# Cancel job if a newer commit is pushed to the same branch
interruptible: true
- stage: container+docs
+ stage: deploy
+ needs: []
rules:
- *ignore_scheduled_pipelines
- if: *is-main-master
@@ -196,7 +197,7 @@
# repository's registry will be used there as well.
.container:
- stage: container+docs
+ stage: container
extends:
- .ci-run-policy
rules:
@@ -436,7 +437,7 @@
extends:
- .container
- .windows-docker-vs2019
- stage: container+docs
+ stage: container
variables:
GIT_STRATEGY: fetch # we do actually need the full repository though
timeout: 4h # LLVM takes ages
@@ -456,7 +457,7 @@
git_archive:
extends: .fdo.container-build@alpine
- stage: container+docs
+ stage: container
rules:
- if: *is-scheduled-pipeline
when: always