summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/user.rb')
-rw-r--r--qa/qa/runtime/user.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/qa/qa/runtime/user.rb b/qa/qa/runtime/user.rb
new file mode 100644
index 00000000000..12ceda015f0
--- /dev/null
+++ b/qa/qa/runtime/user.rb
@@ -0,0 +1,15 @@
+module QA
+ module Runtime
+ module User
+ extend self
+
+ def name
+ ENV['GITLAB_USERNAME'] || 'root'
+ end
+
+ def password
+ ENV['GITLAB_PASSWORD'] || 'test1234'
+ end
+ end
+ end
+end