summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-16 20:10:22 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-16 20:25:30 +0200
commit9912ad261f696ef92657171396774607af7f1893 (patch)
tree9268e628db419c2c88b5bb64a6ce478b6bfe3163 /spec/factories
parent50abec8ca36c5cbdb1f7878b3ac956211fc67d3d (diff)
downloadgitlab-ce-9912ad261f696ef92657171396774607af7f1893.tar.gz
Store when and yaml variables in builds table
Diffstat (limited to 'spec/factories')
-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