From 4fcbd264f8a8b71ef70c603fcf342debbedeffe5 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 1 Dec 2026 11:05:52 +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 cfc9cb5fa..c19b5d26c 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,5 +1,3 @@ -env: - SECRET_CODECOV_TOKEN: "MH6hHjQi7vG2V1Yfotv5/z5Dkx1k5SdyGYlGTFXiQr22XksJgsXaBuvFKUrjC7JwcpBsOVU8103LuMKl3m7VJ35WzHZrOssYycVbdGcb2kloc6xvUOsN2R5BrhCQ4Pii0l6ZeVRjCnZVkcmb0Rf4glGFyfibCrqniry8RLhblsuFKFsijRK4OxiWYEs1IvUulN+ER8tEsEtw4+ZqC5nbLGMSnUG/saPkDQOVIBscvikbKEnBcCXBheGPktF+Y/cy/1Xa+FiBPoZcypwTeAjKG1g0MqyHXjaYekb/7fekaj+hukGaeJSCXxY8KEb2IZCh+Y36Tp6y6qsIp/AdtEnCpQ==;U2FsdGVkX18WQxvGLspPwzC4aDe+U7TXU+itebTbgh8LUkE6GukxxReHYiDZ6IrBiVvSGTVJMquW0c8KsOI1pw==" steps: - label: "Julia {{matrix.julia}} -- {{matrix.queue}} / {{matrix.group}}" 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..52bfe04cc --- /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: matrixalgebrakit-dot-jl