Commit graph

11 commits

Author SHA1 Message Date
GitLab Bot
b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Shinya Maeda
ed3a2fc8d7 Fix CI_COMMIT_REF_NAME and SLUG variable
With Pipelines for Merge Requests feature, users cannout keep using
$CI_COMMIT_REF_NAME and _SLUG predefined variables for dynamic
environments. We fix this problem by explicitly looking at the source
ref.
2019-04-29 18:52:51 +07:00
Grzegorz Bizon
552a32c015 Extract scoped CI/CD variables to a separate concern
This commits extract code responsible for calculating essential CI/CD
variables to a separate concern. This makes it possible to share this
code between a `Ci::Build` and a `Ci::Bridge`.

We might want to refactor this to use composition instead of
inheritance.
2019-03-02 21:03:41 +01:00
Grzegorz Bizon
eb2966fadd Move ref slug helper to HasRef module 2019-03-02 15:00:00 +01:00
Grzegorz Bizon
8850da27c3 Extract common when code between CI/CD processables 2019-01-25 10:40:13 +01:00
Grzegorz Bizon
e5cd47fc97 Implement default when for bridge jobs as on_success 2019-01-25 10:38:25 +01:00
Grzegorz Bizon
531626ee16 Use generic commit status as a tmp partial for a bridge 2019-01-25 10:37:32 +01:00
Grzegorz Bizon
20e7d4882c Make CI/CD bridge job a pipeline processable entity 2019-01-25 10:37:18 +01:00
Grzegorz Bizon
563942ee3d Connect CI/CD bridge jobs to trigger requests too 2019-01-25 10:34:14 +01:00
Grzegorz Bizon
4f2685fb7f Simplify CI/CD bridge class 2018-12-12 13:50:26 +01:00
Grzegorz Bizon
320b6d965e Add basic implementation of CI/CD bridge job 2018-12-12 10:34:17 +01:00