Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Pull requests from forks are built from a `ci/pr-<N>` branch once a maintainer has approved
# their commit (see .github/workflows/BuildkiteRelay.yml); those builds count as pull
# requests below.
#
# Commit message tags select what to run: `[only X]` runs only the listed steps, `[skip X]`
# skips them, where X is a comma-separated list of: `tests` (all steps), `julia` (released
# Julia versions), `nightly`, `special`. To limit the load on the shared GPU runner, pull
Expand Down Expand Up @@ -52,7 +56,7 @@ steps:
if: |
build.message !~ /\[skip [^\]]*(tests|julia)/ &&
(build.message =~ /\[only [^\]]*(tests|julia)/ ||
build.message !~ /\[only / && build.pull_request.id == null)
build.message !~ /\[only / && build.pull_request.id == null && build.branch !~ /^ci\/pr-/)
matrix:
setup:
julia:
Expand All @@ -64,7 +68,7 @@ steps:
if: |
build.message !~ /\[skip [^\]]*(tests|nightly)/ &&
(build.message =~ /\[only [^\]]*(tests|nightly)/ ||
build.message !~ /\[only / && build.pull_request.id == null)
build.message !~ /\[only / && build.pull_request.id == null && build.branch !~ /^ci\/pr-/)
soft_fail: true
matrix:
setup:
Expand Down Expand Up @@ -122,9 +126,8 @@ steps:
if: |
build.message !~ /\[skip [^\]]*(tests|special)/ &&
(build.message =~ /\[only [^\]]*(tests|special)/ ||
build.message !~ /\[only / && build.pull_request.id == null)
build.message !~ /\[only / && build.pull_request.id == null && build.branch !~ /^ci\/pr-/)
timeout_in_minutes: 60

env:
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: "eager" # OK to downloading JLLs from GitHub
SECRET_CODECOV_TOKEN: "OYpS8fj3vGhj7iZf9vLAeapyxQNSOEW6mApcSvGboL9AlS+0nfOSFjFrIBNnIU0prxQQy1gR9AwR/JO1m2OFWeRhjYtkQPPhk4xVtSKmv0LLTL0snA8IohUopqfu722i7zLrPcz/A0LFIFsb0ey+oReJs2xnGOshNIJu4FDowUV3wmZvfKWNsSK4cGN+HFQ3387Ow4SsmiUr7oqh0iMBQNqaY8oZ2BY1dFOgPaOegIp70YEFRdJ8DKaLd7WGxFLY9oQEhZZdmx/zx0xo56/NGtDwVYkDPa4qPhJczDBoIn5XvcRiIW0VJ/MaRARxnpenBX5H6gwdcZYUGtjXWIRXBw==;U2FsdGVkX1/bZy1Bp4/dBH5scPpWqLKusXGvSkRGUa+1F7hi4P4Cu5a6GcfNIEvQr+bBj2VlZvqhNW0FAqN3QQ=="
14 changes: 14 additions & 0 deletions .github/workflows/BuildkiteApproval.yml
Original file line number Diff line number Diff line change
@@ -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"
20 changes: 20 additions & 0 deletions .github/workflows/BuildkiteRelay.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Pushes the commit of an approved fork pull request to the branch ci/pr-<N>, 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-<N>
pull-requests: read
statuses: write
jobs:
relay:
uses: JuliaCI/buildkite-pr-relay/.github/workflows/relay.yml@v2
with:
pipeline: oneapi-dot-jl
Loading