From dcfa10a725d11510e6925dd66bc48da19b60276f Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 1 Dec 2026 11:00:08 +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 f0593aef..d0968f27 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,5 +1,3 @@ -env: - SECRET_CODECOV_TOKEN: "l7PxpMgxHEiz2l3UDDj5122Xirv5du1QFQiTf09YISC8VOz/nXeQC2yYY6iTMbccQG3xrumfWke9vtLbAc9LPH75kw3zQODuWMbz0eGSf9wtw7foqO6KAo5neMTeZJ0ZFgFMa2Q89T5SNIQsi4b5Zs7BVto6qB9Z/3QEs/BpsR25cYkY4Y6JBU6XuqZ6GRAc6BtlB4OmBEp3BBsXatx6y64zF0qbp4rocmcBQEoeQkcXtxf0dfA0KNAHpweWPrzIAMZ0aUYp6iEikxwLY5TjVFhOIcpVXUlxIdhl2qaaDF6b6WlgGXiGLpBjsLQfvlOgIlXH59Ddg0IVxboF2a37OA==;U2FsdGVkX19MveWMe1aasYZoJwaeiKO5XqwMZ/utOFj7h1CE9UX4nduBMXTyJ77tpNmCBYsQNJ/PadbX2224hQ==" steps: - label: "NVIDIA GPUs -- Julia v1" diff --git a/.github/workflows/BuildkiteApproval.yml b/.github/workflows/BuildkiteApproval.yml new file mode 100644 index 00000000..3969dbf7 --- /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 00000000..0a6c7127 --- /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: sparsematrixcolorings-dot-jl