summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-11-05 08:38:31 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-11-05 08:38:31 +0000
commit1d5f2f9c333534b7004501bcfa52ca873d6a3403 (patch)
tree7f905ecbb6b4d45ced22e71003521ba70f20cfb8 /spec
parentf336133edceec122effc4dc88666ba0bf39ff15d (diff)
parent5423e5464943e30c4eadf874f86fa86cd2d557ad (diff)
downloadgitlab-ce-1d5f2f9c333534b7004501bcfa52ca873d6a3403.tar.gz
Merge branch '37473-expose-project-visibility-as-ci-variable' into 'master'
Resolve "Expose project visibility as CI variable" Closes #37473 See merge request gitlab-org/gitlab-ce!15193
Diffstat (limited to 'spec')
-rw-r--r--spec/models/ci/build_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 41ecdb604f1..5ed2e1ca99a 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1271,6 +1271,7 @@ describe Ci::Build do
{ key: 'CI_PROJECT_PATH_SLUG', value: project.full_path_slug, public: true },
{ key: 'CI_PROJECT_NAMESPACE', value: project.namespace.full_path, public: true },
{ key: 'CI_PROJECT_URL', value: project.web_url, public: true },
+ { key: 'CI_PROJECT_VISIBILITY', value: 'private', public: true },
{ key: 'CI_PIPELINE_ID', value: pipeline.id.to_s, public: true },
{ key: 'CI_CONFIG_PATH', value: pipeline.ci_yaml_file_path, public: true },
{ key: 'CI_REGISTRY_USER', value: 'gitlab-ci-token', public: true },