forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buildkite] Fix env leakage of signed tokens (JuliaLang#42526)
After a few days of debugging, the buildkite people figured out that the reason our "unprivileged" jobs were getting privileges was because of an obscure behavior of top-level `env:` blocks. To fix it, we should always scope our `env:` mappings to a particular step, and so that's exactly what this does. We also add a `.gitignore` mapping for the new, more convenient way that `cryptic` likes to store keys in the repository.
- Loading branch information
1 parent
7794a06
commit a1800a9
Showing
5 changed files
with
14 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ignore the unencrypted repo_key | ||
repo_key | ||
|
||
# Ignore any agent keys (public or private) we have stored | ||
agent_key* |
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
Binary file modified
BIN
+0 Bytes
(100%)
.buildkite/pipelines/main/misc/signed_pipeline_test.yml.signature
Binary file not shown.
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
3 changes: 1 addition & 2 deletions
3
.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml.signature
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
Salted__bU�,l-!FGw��(�WA�I��r�l��4��q�# R�})(�w��r��=;yEsI�FO}�H$��FEb��� | ||
3��uU�f | ||
Salted__��@P=j���R���U(�,~�p @Q������'h7����OMJ���g���t<�A�(�v?ɴ<,:�j���Y'o��ڥσdٛ |