Skip to content

Run source examples without plugin compilation - #645

Merged
sj26 merged 5 commits into
mainfrom
migrate-example-producers
Nov 9, 2026
Merged

sj26 merged 5 commits into
mainfrom
migrate-example-producers

Conversation

@sj26

@sj26 sj26 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

🤖

Why

The example launchers send source-ref: "$commit" to github-actions#latest. The simplified plugin will no longer compile source, so these producers must change before that plugin is promoted.

What

Build the checked-out CLI in the example importer and invoke it directly:

BUILDKITE_PLUGIN_CONFIGURATION='{"workflow":".github/workflows/example-basic.yml"}' "$distribution_root/buildkite-gha" plugin

Preserve the selected commit, event context, and workflow selection. Both entry points share the same launcher. Compilation stays in this repository's source-testing pipeline, not in the product plugin. The diff now contains only the example launchers and their contributor documentation; CLI acquisition stays unchanged.

Merge and validate this before promoting plugin #68. Additive CLI support #644 is already merged; raw release acquisition #666 is a separate prerequisite. Main CI can trigger an automatic CLI release after merge; this PR does not manually trigger publication.

sj26 and others added 4 commits November 2, 2026 12:01
Replace development-only runtime paths with explicit HTTPS platform URLs.
Never fall back to a release when a custom platform is missing.

Amp-Thread-ID: https://ampcode.com/threads/T-e386451c-f404-41b8-8d80-f10d9ee76197
Co-authored-by: Amp <amp@ampcode.com>
Build the checked-out CLI in the example importer and share one launcher instead of sending retired source-ref configuration to the plugin.

Amp-Thread-ID: https://ampcode.com/threads/T-e386451c-f404-41b8-8d80-f10d9ee76197
Co-authored-by: Amp <amp@ampcode.com>
Preserve legacy metadata and development-runtime inputs until producers have migrated. Exercise release, source-build, and URL acquisition through the same mixed-platform importer contract. Move example-producer migration out of this first step.

Amp-Thread-ID: https://ampcode.com/threads/T-e386451c-f404-41b8-8d80-f10d9ee76197
Co-authored-by: Amp <amp@ampcode.com>
Build the checked-out CLI in the example importer and share one launcher instead of sending retired source-ref configuration to the plugin.

Amp-Thread-ID: https://ampcode.com/threads/T-e386451c-f404-41b8-8d80-f10d9ee76197
Co-authored-by: Amp <amp@ampcode.com>
@sj26
sj26 marked this pull request as ready for review November 9, 2026 23:43
@sj26
sj26 merged commit 301bd78 into main Nov 9, 2026
8 checks passed
@sj26
sj26 deleted the migrate-example-producers branch November 9, 2026 23:53
@buildkite-gha-releases

Copy link
Copy Markdown

🤖 Released in v0.126.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant