Skip to content
Snippets Groups Projects
Commit 5f426245 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab-ci: remove `dependencies` from jobs

Historically, `needs` specifies the jobs which need to complete
successfully and `dependencies` specifies the jobs which provide
artifacts which should be used. Modern GitLab discourages using both as
`needs` now supports an `artifacts` key to say "depend on but do not use
artifacts", so remove `dependencies` and use `needs:artifacts` where
necessary.

See: https://docs.gitlab.com/ee/ci/yaml/#needsartifacts
parent 1d0bd0a2
No related branches found
No related tags found
1 merge request!86gitlab-ci: remove `dependencies` from jobs
Pipeline #421721 passed
......@@ -27,7 +27,7 @@ stages:
# Additionally, jobs may also contain:
#
# - artifacts
# - dependency/needs jobs for required jobs
# - needs jobs for required jobs
################################################################################
# CI strategy for DIY.
......@@ -59,8 +59,6 @@ test:fedora36-mpich:
- .cmake_test_linux
- .linux_builder_tags
- .run_automatically
dependencies:
- build:fedora36-mpich
needs:
- build:fedora36-mpich
......@@ -78,8 +76,6 @@ test:fedora36-mpich-nothreads:
- .cmake_test_linux
- .linux_builder_tags
- .run_automatically
dependencies:
- build:fedora36-mpich-nothreads
needs:
- build:fedora36-mpich-nothreads
......@@ -98,8 +94,6 @@ test:fedora36-openmpi:
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
dependencies:
- build:fedora36-openmpi
needs:
- build:fedora36-openmpi
......@@ -118,8 +112,6 @@ test:fedora36-asan:
- .linux_tester_priv_tags
- .cmake_build_artifacts
- .run_automatically
dependencies:
- build:fedora36-asan
needs:
- build:fedora36-asan
......@@ -138,8 +130,6 @@ test:fedora36-ubsan:
- .linux_tester_priv_tags
- .cmake_build_artifacts
- .run_automatically
dependencies:
- build:fedora36-ubsan
needs:
- build:fedora36-ubsan
......@@ -156,8 +146,6 @@ test:windows_vs2022_debug:
- .windows_tags
- .cmake_test_windows
- .run_automatically
dependencies:
- build:windows_vs2022_debug
needs:
- build:windows_vs2022_debug
......@@ -174,7 +162,5 @@ test:windows_vs2022_release:
- .windows_tags
- .cmake_test_windows
- .run_automatically
dependencies:
- build:windows_vs2022_release
needs:
- build:windows_vs2022_release
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment