chore(ci): default reusable runners to ubuntu-latest for public consumers#44
Merged
Merged
Conversation
e89ce46 to
61e5638
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the organization’s reusable workflows and workflow templates to default to GitHub-hosted runners (ubuntu-latest) so that public OSS consumers run for free on hosted runners by default, while private consumers can still opt into self-hosted capacity by explicitly passing runner: ferrlabs-k8s.
Changes:
- Switch workflow templates (
ci-node,ci-astro,release) toruns-on: ubuntu-latest. - Update reusable CI workflows (
reusable-ci-node,reusable-ci-astro) to default theirrunnerinput toubuntu-latest. - Add a
runnerinput toreusable-docker-build(defaultubuntu-latest) and wire the heavybuildjob toruns-on: ${{ inputs.runner }}.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| workflow-templates/release.yml | Template now runs releases on ubuntu-latest by default. |
| workflow-templates/README.md | Documentation updated to describe the new default and override mechanism. |
| workflow-templates/ci-node.yml | Template now runs Node CI on ubuntu-latest by default. |
| workflow-templates/ci-astro.yml | Template now runs Astro CI on ubuntu-latest by default. |
| .github/workflows/reusable-docker-build.yml | Introduces runner input and routes the build job’s runs-on through it. |
| .github/workflows/reusable-ci-node.yml | Changes default runner input to ubuntu-latest. |
| .github/workflows/reusable-ci-astro.yml | Changes default runner input to ubuntu-latest. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+45
to
+48
| description: 'GitHub Actions runner label for the build job (the heavy one). Private consumers pass `ferrlabs-k8s`; public consumers leave the default.' | ||
| type: string | ||
| required: false | ||
| default: 'ubuntu-latest' |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Default the
runnerinput on all reusable workflows toubuntu-latestso public OSS consumers (FerrFlow, Benchmarks, Fixtures, FerrVault operator) run on GitHub-hosted runners for free, while private consumers (Cloud APIs/sites, Kit, UI, MCP, Infra) keep passingrunner: ferrlabs-k8sexplicitly.Why:
runnerlands on free hosted runners, not on the private clusterReusables touched
reusable-ci-astro.ymlrunnerdefaultferrlabs-k8s→ubuntu-latestreusable-ci-node.ymlrunnerdefaultferrlabs-k8s→ubuntu-latestreusable-docker-build.ymlrunnerinput (defaultubuntu-latest);buildjob switchesruns-on: ferrlabs-k8s→runs-on: ${{ inputs.runner }}Already correct (no change needed):
reusable-ci-rust.yml— already defaults toubuntu-latestreusable-ci-go.yml— already defaults toubuntu-latestreusable-release-rust.yml— uses the matrix-ospattern, no self-hosted referencereusable-security-scan.yml— hardcodedubuntu-lateston every job (light, no need for parameterization)Workflow templates
workflow-templates/{ci-astro,ci-node,release}.ymlswitched from hardcodedruns-on: ferrlabs-k8storuns-on: ubuntu-latest. New repos scaffolded from these templates land on free hosted runners by default; private repos can swap the line manually when they want the self-hosted cluster.README.mdclarified accordingly.Private consumer migration
Private repos (FerrLabs-Cloud, FerrFlow-Cloud, FerrVault-Cloud, FerrTrack-Cloud, FerrGrowth-Cloud, FerrFleet-Cloud, FerrGames-Cloud, Kit, UI, MCP, Infra) that consume these reusables need to keep passing
runner: ferrlabs-k8sif they want the self-hosted cluster. A spot-check is in progress in a follow-up.