From 29e55bd2f0ad9bc13e0ab77609de618131a33a06 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 1 Dec 2026 11:34:56 +0100 Subject: [PATCH] Update to JuliaGPU Buildkite changes Fork PRs are no longer built directly on the GPU agents, which also no longer decrypt secrets. Approved fork commits are pushed to ci/pr- by JuliaCI/buildkite-pr-relay and built from there. Coverage is uploaded tokenless, replacing SECRET_CODECOV_TOKEN. --- .buildkite/pipeline.yml | 2 -- .github/workflows/BuildkiteApproval.yml | 14 ++++++++++++++ .github/workflows/BuildkiteRelay.yml | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/BuildkiteApproval.yml create mode 100644 .github/workflows/BuildkiteRelay.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 31b96cc8f..7e0813b4c 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,5 +1,3 @@ -env: - SECRET_CODECOV_TOKEN: "hmCvxMRTH8qx2QKtLc5h0xu/VLgawRpOj/zDGcMB0nsj15y3jZaF1vDoRGYyaEnavwxL6S3lgQYyEPOjlfPw6bbtIwdLpuMqw8Xb1nzqAKgkwsQgiT0khfbJnJnYiuTc9AdKpwRKsRsMcM+PgQEN1FvZ8jBO05oq7Dchdck8pb8nXx6UARQpR7a0fzhKeS4M96aMEfmxzDgy3eY6lfIeSPxoDHTuVd4zp8BzBuZjBKHtvA4OLYa3ITTQ7cSjiJllzzKnqea89Hp19JtpdzsPOHudfLu6z4ps5CmOtgxUuX5rN0AAbx8+XIJpnvX6CvjoJjtIL58/x9yAu/IhJdU9RA==;U2FsdGVkX1+JoWKEYnN/Wqi+8X5ZZIcqkLRd8UhErVCtXau6OD201NPB2PBr5aKUdJ+ZGFp3aDbLpJC2mK/29Q==" steps: - label: "Julia v1 RLCore" diff --git a/.github/workflows/BuildkiteApproval.yml b/.github/workflows/BuildkiteApproval.yml new file mode 100644 index 000000000..3969dbf73 --- /dev/null +++ b/.github/workflows/BuildkiteApproval.yml @@ -0,0 +1,14 @@ +# Held by GitHub on pull requests from outside contributors until a maintainer approves the +# run; BuildkiteRelay.yml then has the approved commit built on Buildkite. Must stay +# trivial: it runs the pull request's copy of this file. See +# https://github.com/JuliaCI/buildkite-pr-relay. +name: Buildkite approval +on: + pull_request: + types: [opened, synchronize, reopened] +permissions: {} +jobs: + approval: + runs-on: ubuntu-latest + steps: + - run: "true" diff --git a/.github/workflows/BuildkiteRelay.yml b/.github/workflows/BuildkiteRelay.yml new file mode 100644 index 000000000..89c3c60d2 --- /dev/null +++ b/.github/workflows/BuildkiteRelay.yml @@ -0,0 +1,20 @@ +# Pushes the commit of an approved fork pull request to the branch ci/pr-, which +# Buildkite builds, and deletes the branches of closed pull requests. +# See https://github.com/JuliaCI/buildkite-pr-relay. +name: Buildkite relay +on: + workflow_run: + workflows: ["Buildkite approval"] + types: [completed] + schedule: + - cron: "37 * * * *" + workflow_dispatch: +permissions: + contents: write # push and delete ci/pr- + pull-requests: read + statuses: write +jobs: + relay: + uses: JuliaCI/buildkite-pr-relay/.github/workflows/relay.yml@v2 + with: + pipeline: reinforcementlearning-dot-jl