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
d8085824
Commit
d8085824
authored
Aug 06, 2021
by
Lin Jen-Shin
Committed by
Albert Salim
Aug 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Request against CI_API_V4_URL than GitLab.com
So it works on other instances.
parent
03903b0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tooling/bin/find_tests
tooling/bin/find_tests
+2
-1
No files found.
tooling/bin/find_tests
View file @
d8085824
...
@@ -5,9 +5,10 @@ require 'gitlab'
...
@@ -5,9 +5,10 @@ require 'gitlab'
require
'test_file_finder'
require
'test_file_finder'
gitlab_token
=
ENV
.
fetch
(
'DANGER_GITLAB_API_TOKEN'
,
''
)
gitlab_token
=
ENV
.
fetch
(
'DANGER_GITLAB_API_TOKEN'
,
''
)
gitlab_endpoint
=
ENV
.
fetch
(
'CI_API_V4_URL'
)
Gitlab
.
configure
do
|
config
|
Gitlab
.
configure
do
|
config
|
config
.
endpoint
=
'https://gitlab.com/api/v4'
config
.
endpoint
=
gitlab_endpoint
config
.
private_token
=
gitlab_token
config
.
private_token
=
gitlab_token
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