From 5cbf4f7c83b74fd1841f1c7a7ca769688b39baca Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Tue, 1 Dec 2026 11:25: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. --- .github/workflows/BuildkiteApproval.yml | 14 ++++++++++++++ .github/workflows/BuildkiteRelay.yml | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/BuildkiteApproval.yml create mode 100644 .github/workflows/BuildkiteRelay.yml diff --git a/.github/workflows/BuildkiteApproval.yml b/.github/workflows/BuildkiteApproval.yml new file mode 100644 index 0000000..3969dbf --- /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 0000000..35e8aef --- /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: linearoperatorcollection-dot-jl