BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5f62a935
Commit
5f62a935
authored
Feb 09, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move all ENV to Runtime::Env
parent
133b3f20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
env.rb
qa/qa/runtime/env.rb
+12
-0
namespace.rb
qa/qa/runtime/namespace.rb
+1
-1
user.rb
qa/qa/runtime/user.rb
+2
-2
No files found.
qa/qa/runtime/env.rb
View file @
5f62a935
...
...
@@ -16,6 +16,18 @@ module QA
def
personal_access_token
ENV
[
'PERSONAL_ACCESS_TOKEN'
]
end
def
user_username
ENV
[
'GITLAB_USERNAME'
]
end
def
user_password
ENV
[
'GITLAB_PASSWORD'
]
end
def
sandbox_name
ENV
[
'GITLAB_SANDBOX_NAME'
]
end
end
end
end
qa/qa/runtime/namespace.rb
View file @
5f62a935
...
...
@@ -16,7 +16,7 @@ module QA
end
def
sandbox_name
ENV
[
'GITLAB_SANDBOX_NAME'
]
||
'gitlab-qa-sandbox'
Runtime
::
Env
.
sandbox_name
||
'gitlab-qa-sandbox'
end
end
end
...
...
qa/qa/runtime/user.rb
View file @
5f62a935
...
...
@@ -4,11 +4,11 @@ module QA
extend
self
def
name
ENV
[
'GITLAB_USERNAME'
]
||
'root'
Runtime
::
Env
.
user_username
||
'root'
end
def
password
ENV
[
'GITLAB_PASSWORD'
]
||
'5iveL!fe'
Runtime
::
Env
.
user_password
||
'5iveL!fe'
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment