Commit Graph

11 Commits

Author SHA1 Message Date
Kamil Trzciński 684751d3c2 Make needs: to require previous jobs
This changes `needs:` from weak reference
to have a strong reference.

This means that job will not be created
unless all needs are present as part of
a pipeline.
2019-08-02 18:41:40 +02:00
Grzegorz Bizon 5d85a04927 Make it possible to fabricate CI/CD bridge jobs 2019-01-25 10:32:40 +01:00
gfyoung 06892e88f5 Enable frozen string for lib/gitlab/ci
Enables frozen string for the following:

* lib/gitlab/ci/*.rb
* lib/gitlab/ci/build/**/*.rb
* lib/gitlab/ci/config/**/*.rb
* lib/gitlab/ci/pipeline/**/*.rb
* lib/gitlab/ci/reports/**/*.rb

Partially addresses #47424.
2018-10-26 16:36:42 -07:00
Grzegorz Bizon bf59ed3cf9 Simplify how we set pipeline builds user on creation 2018-03-23 14:52:33 +01:00
Grzegorz Bizon b6e4e449fb Integrate build seeds with variables expressions policy 2018-03-23 13:56:16 +01:00
Grzegorz Bizon 0e51842dca Move policy related specs our of YAML processor tests 2018-03-22 13:09:47 +01:00
Grzegorz Bizon c7809d097a Fix rubocop offense in pipeline build seed class 2018-03-22 11:03:44 +01:00
Grzegorz Bizon db3d031969 Evaluate only/except policies outside of YAML processor 2018-03-21 14:40:27 +01:00
Grzegorz Bizon 9b5a912f93 Make it easier to test pipeline stage seeds 2018-03-21 13:08:30 +01:00
Grzegorz Bizon ad61a18154 Support building all pipeline resource before saving 2018-03-21 09:53:26 +01:00
Grzegorz Bizon ab0cd2a8bf Introduce pipeline build seeds 2018-03-21 09:33:25 +01:00