Mesa (master): ci: Use "when: always" for pages job

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 2 16:50:04 UTC 2020


Module: Mesa
Branch: master
Commit: fc41ec16c8b3dbe5fa78ce3e94cb547564532a65
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc41ec16c8b3dbe5fa78ce3e94cb547564532a65

Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Wed Jul  1 17:41:06 2020 +0200

ci: Use "when: always" for pages job

"when: on_success" meant that that the job wouldn't run automatically
until all jobs of all earlier stages passed, and would be skipped if
any of them failed. But we need to always run this job if any
documentation files were modified.

Fixes: 8e2cb8ef276b "gitlab-ci: Extend .ci-run-policy template for docs
                     jobs"

Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5711>

---

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f3af0fef3d0..1df576d6a81 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,7 @@ pages:
       changes: &docs-or-ci
       - docs/**/*
       - .gitlab-ci.yml
-      when: on_success
+      when: always
     # Other cases default to never
 
 test-docs:



More information about the mesa-commit mailing list