Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-16 21:10:22 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-16 21:25:30 +0300
commit9912ad261f696ef92657171396774607af7f1893 (patch)
tree9268e628db419c2c88b5bb64a6ce478b6bfe3163 /spec/factories/ci
parent50abec8ca36c5cbdb1f7878b3ac956211fc67d3d (diff)
Store when and yaml variables in builds table
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index fe05a0cfc00..5fb671df570 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -15,6 +15,11 @@ FactoryGirl.define do
services: ["postgres"]
}
end
+ yaml_variables do
+ [
+ { key: :DB_NAME, value: 'postgres', public: true }
+ ]
+ end
pipeline factory: :ci_pipeline