Commit graph

13 commits

Author SHA1 Message Date
GitLab Bot
1ab35c9208 Add latest changes from gitlab-org/gitlab@master 2020-04-16 06:09:39 +00:00
GitLab Bot
2c89e16976 Add latest changes from gitlab-org/gitlab@master 2020-02-12 15:09:37 +00:00
GitLab Bot
55733b19c5 Add latest changes from gitlab-org/gitlab@master 2020-02-11 06:09:46 +00:00
GitLab Bot
7351a484d7 Add latest changes from gitlab-org/gitlab@master 2020-02-10 12:08:59 +00:00
GitLab Bot
0d6fa03312 Add latest changes from gitlab-org/gitlab@master 2020-02-06 18:08:54 +00:00
Matija Čupić
16084ee9d3
Port changes from EE
Ports changes from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12343
2019-08-04 19:42:29 +02: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
Jason van den Hurk
8d1649f774 Change CI_REF_PROTECTED variable to CI_COMMIT_REF_PROTECTED 2019-04-10 12:56:56 +02:00
Jason van den Hurk
af46d33fba Added the CI_REF_PROTECTED variable to the Gitlab runner
This variable shows if the branch the runner is executing is protected
or not.
References: #50909
2019-04-10 11:13:04 +02:00
Thong Kuah
a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Grzegorz Bizon
a5ac7e7a0c Fix CI/CD bridge variables unit test 2019-03-02 21:04:59 +01: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
320b6d965e Add basic implementation of CI/CD bridge job 2018-12-12 10:34:17 +01:00