Add `needs:` CI config option

Merged Matija Čupić requested to merge mc/feature/pipeline-tracking-config into master

What does this MR do?

  • Add needs:pipeline CI config option
  • Pre-seed Ci::Build jobs with tracked pipelines

Related https://gitlab.com/gitlab-org/gitlab-ee/issues/9045
Related https://gitlab.com/gitlab-org/gitlab-ee/issues/11238
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/12334
CE MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12343

Continuation from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/11264

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • N/A Label as security and @ mention @gitlab-com/gl-security/appsec
  • N/A The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • N/A Security reports checked/validated by a reviewer from the AppSec team
Edited by Matija Čupić