Skip to content
Snippets Groups Projects

gitlab-ci: remove `dependencies` from jobs

Merged Ben Boeckel requested to merge ben.boeckel/diy:ci-use-only-needs into master

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading