Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DISCOVERY-435: Authorize GitHub requests if token is available
On internal Jenkins, `make build-container` may fail because GitHub rate-limits API requests, and a lot of internal traffic appears as a single IP to GitHub. To solve this, Jenkins will start providing API token when building container. Obviously we don't want to require everyone to use a token, so this is optional. Token is provided through docker / podman `--secret` flag. That flag must point to a file and that file must exist. So we provide empty one here in commit, and will fill it on Jenkins.
- Loading branch information
1 parent
7244574
commit 2e908b7
Showing
4 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
.dockerignore | ||
.egg | ||
.github | ||
.github_api_token | ||
.gitignore | ||
.pytest_cache | ||
.tool-versions | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters