diff options
author | Matija Čupić <matija.cupic.97@gmail.com> | 2017-11-04 20:20:59 +0100 |
---|---|---|
committer | Matija Čupić <matija.cupic.97@gmail.com> | 2017-11-05 01:39:36 +0100 |
commit | 5423e5464943e30c4eadf874f86fa86cd2d557ad (patch) | |
tree | e696844a78aa7e780ce8114ac3a324e9859060f5 /spec/models | |
parent | 576f0a5a6d3819149590fad00986dee8c719db32 (diff) | |
download | gitlab-ce-5423e5464943e30c4eadf874f86fa86cd2d557ad.tar.gz |
Harcode project visibility37473-expose-project-visibility-as-ci-variable
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index f804b422794..5ed2e1ca99a 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -1271,7 +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: Gitlab::VisibilityLevel.string_level(project.visibility_level), 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 }, |