Skip to content

Migrate Yggdrasil away from cryptic and static secrets#13956

Open
vchuravy wants to merge 4 commits into
masterfrom
vc/rebuild
Open

Migrate Yggdrasil away from cryptic and static secrets#13956
vchuravy wants to merge 4 commits into
masterfrom
vc/rebuild

Conversation

@vchuravy

Copy link
Copy Markdown
Member

Update Yggdrasil to follow the security architecture in JuliaCI/julia-buildkite#544

I will need some help with the OIDC changes.

Comment thread .buildkite/build.sh Outdated
Comment thread .buildkite/utils.jl
"AWS_SECRET_ACCESS_KEY=\"U2FsdGVkX1846b0BRbZjwIWSFV+Fiv1C/Hds/vB3aTkxubHPnRP6lVxGkAkOcFuvAntkoLF6J64QrOHWvjz8xg==\"",
]
"aws-assume-role-with-web-identity#v1.6.0" => Dict(
"role-arn" => "arn:aws:iam::AWS-ACCOUNT-ID:role/SOME-ROLE"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need someone to provide correct AWS-ACCOUNT-ID and ROLE for write access to s3://julia-bb-buildcache/

vchuravy and others added 2 commits June 13, 2026 22:33
Move registration out of the main pipeline and into a dedicated
yggdrasil-register pipeline, triggered (only on master) once all builds of
a project finish. This lets the GITHUB_TOKEN Buildkite secret be scoped to
that trusted pipeline so it is never readable from the build steps, which
run potentially untrusted build_tarballs.jl code.

The register pipeline pulls the freshly-built tarballs from the triggering
build via `buildkite-agent artifact download --build $BUILD_ID`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vchuravy vchuravy marked this pull request as ready for review June 13, 2026 20:34
@vchuravy vchuravy requested a review from Keno June 13, 2026 20:34
@DilumAluthge DilumAluthge self-requested a review June 14, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant