Simon Jakobi pushed to branch wip/sjakobi/T27856-doc-tarball-only-jobs at Glasgow Haskell Compiler / GHC Commits: f095dcf6 by Simon Jakobi at 2026-11-25T22:18:12+01:00 ci: Make ONLY_JOBS apply to doc-tarball The doc-tarball job needs the bindists of both x86_64-linux-deb13-numa-slow-validate and x86_64-windows-validate. A pipeline created with ONLY_JOBS was therefore red unless it also listed these two jobs. With ONLY_JOBS set, doc-tarball now runs only if it is named there, like the generated jobs. Since doc-tarball can now be absent from a pipeline, we mark the `pages` job's dependency on it as optional. Fixes #28176 Assisted-by: Claude Fable 5.2 - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -599,6 +599,8 @@ abi-test-nightly: doc-tarball: stage: packaging + rules: + - if: '$ONLY_JOBS == null || $ONLY_JOBS =~ /.*\bdoc-tarball(\s|$).*/' needs: - job: x86_64-linux-deb13-numa-slow-validate optional: true @@ -1162,7 +1164,10 @@ ghc-wasm-meta-unreg: pages: stage: deploy - needs: [doc-tarball] + needs: + - job: doc-tarball + # May be absent, depending on ONLY_JOBS. + optional: true dependencies: null image: "debian:13" # See #18973 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f095dcf6624c4f3b6d54a3f55bdc0ba0... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f095dcf6624c4f3b6d54a3f55bdc0ba0... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help