Skip to content
JuliaGPUPublic

About

Scratch prototype for the GPU CI approve-and-run gate (maleadt); safe to delete

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ci-test

Tests JuliaCI/buildkite-pr-relay: an approved fork PR should get a build in the Buildkite pipeline tb-scratch-ci-gate. Not a package; safe to delete.

File Purpose
.github/workflows/BuildkiteApproval.yml Runs true. GitHub holds this run on outside contributors' PRs until a maintainer approves it.
.github/workflows/BuildkiteRelay.yml When a Buildkite approval run completes, calls the relay, which creates a Buildkite PR build if the run was an approved fork-PR run.
.buildkite/pipeline.yml One echo ok step on tb-scratch-nonexistent, a queue without agents, so the step never runs.

Settings:

  • GitHub: fork PR workflows require approval for all external contributors.
  • Secret: BUILDKITE_TOKEN, a repository secret with read_builds and write_builds. It overrides the JuliaGPU organization secret of the same name, which can't create builds.
  • Buildkite: the pipeline builds no PRs and no forks by itself.

To try it:

  1. Contributor (an account outside JuliaGPU): open a fork PR against main that only changes README.md. Its Buildkite approval run waits for approval.
  2. Maintainer: approve the run. The Buildkite PR relay status links to the new build in tb-scratch-ci-gate.
  3. Contributor: push a change to .buildkite/. Maintainer: approve again. The relay posts a failing status for that commit and creates no build.

About

Scratch prototype for the GPU CI approve-and-run gate (maleadt); safe to delete

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors