Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
qa/qa/runtime/env.rb
qa/qa/runtime/env.rb
+12
-0
qa/qa/runtime/namespace.rb
qa/qa/runtime/namespace.rb
+1
-1
qa/qa/runtime/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