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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1fb6525c
Commit
1fb6525c
authored
Aug 16, 2021
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: Allow using separate github token for spec
parent
0f757067
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
qa/qa/specs/features/api/1_manage/import_large_github_repo_spec.rb
...cs/features/api/1_manage/import_large_github_repo_spec.rb
+4
-1
No files found.
qa/qa/specs/features/api/1_manage/import_large_github_repo_spec.rb
View file @
1fb6525c
...
@@ -30,7 +30,10 @@ module QA
...
@@ -30,7 +30,10 @@ module QA
builder
.
response
(
:logger
,
logger
,
headers:
false
,
bodies:
false
)
builder
.
response
(
:logger
,
logger
,
headers:
false
,
bodies:
false
)
end
end
Octokit
::
Client
.
new
(
access_token:
Runtime
::
Env
.
github_access_token
,
auto_paginate:
true
)
Octokit
::
Client
.
new
(
access_token:
ENV
[
'QA_LARGE_GH_IMPORT_GH_TOKEN'
]
||
Runtime
::
Env
.
github_access_token
,
auto_paginate:
true
)
end
end
let
(
:gh_branches
)
{
github_client
.
branches
(
github_repo
).
map
(
&
:name
)
}
let
(
:gh_branches
)
{
github_client
.
branches
(
github_repo
).
map
(
&
:name
)
}
...
...
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