ci: move test-docs to container stage
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 22 Jun 2020 09:10:40 +0000 (11:10 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Jul 2020 14:31:38 +0000 (14:31 +0000)
While we're at it, rename it to reflect that we're now also testing docs
here.

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5469>

.gitlab-ci.yml

index b22e3423b45b73b510ee24a120940afd2486975b..42a969559ef5deb1c1c6af96b2b47023df286408 100644 (file)
@@ -9,7 +9,7 @@ include:
   - local: '.gitlab-ci/test-source-dep.yml'
 
 stages:
-  - container
+  - container+docs
   - container-2
   - meson-x86_64
   - scons
@@ -26,7 +26,6 @@ stages:
 
 .docs-base:
   image: alpine
-  stage: deploy
   script:
   - apk --no-cache add py3-pip
   - pip3 install sphinx sphinx_rtd_theme
@@ -34,6 +33,7 @@ stages:
 
 pages:
   extends: .docs-base
+  stage: deploy
   artifacts:
     paths:
     - public
@@ -46,6 +46,7 @@ pages:
 
 test-docs:
   extends: .docs-base
+  stage: container+docs
   except:
     refs:
     - master@mesa/mesa
@@ -131,7 +132,7 @@ success:
 # repository's registry will be used there as well.
 
 .container:
-  stage: container
+  stage: container+docs
   extends:
     - .ci-run-policy
   rules:
@@ -361,7 +362,7 @@ windows_build_vs2019:
   extends:
     - .container
     - .windows-docker-vs2019
-  stage: container
+  stage: container+docs
   variables:
     GIT_STRATEGY: fetch # we do actually need the full repository though
   timeout: 4h # LLVM takes ages