Skip to content

Make Prow the only pull request gate; Actions keeps releases and publishing - #1093

Merged
railgrid-prow[bot] merged 2 commits into
railgrid:mainfrom
mjudeikis:prow-only-ci
Nov 14, 2026
Merged

railgrid-prow[bot] merged 2 commits into
railgrid:mainfrom
mjudeikis:prow-only-ci

Conversation

@mjudeikis

@mjudeikis mjudeikis commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What

GitHub Actions stops validating pull requests. Prow (/.prow.yaml) is the gate; Actions keeps releases, image/chart publishing, the mirror splits and the CI image.

Workflow Before After
ci.yaml, e2e.yaml push to main, manual manual only (fallback when the Prow cluster is down)
infrastructure-templates-e2e.yaml PR, push to main, manual manual only
images.yaml PR, tags, releases, manual tags, releases, manual
infrastructure-examples.yaml PR, push to main, manual push to main, manual (publishes :latest)
split-*.yaml (6) PR, push to main, manual push to main, manual
macos.yaml PR, push to main unchanged: needs a macOS runner
goreleaser.yaml PR on release config, tags unchanged: release dry-run
release and publish workflows, ci-image.yaml, tilt-e2e.yaml unchanged

Every check those workflows ran on pull requests now has a Prow job. Like the existing ones, all three are required and start on every pull request that is not docs-only (no optional, no run_if_changed); each narrows its work inside job.sh to what the PR touched, as the workflows' path filters did, and succeeds at once when that is nothing.

Was, on pull requests Prow job
images.yaml provider images, infrastructure-examples.yaml pull-railgrid-images
infrastructure-templates-e2e.yaml pull-railgrid-e2e-infrastructure-templates
split-*.yaml dry run pull-railgrid-split

Things to know

  • There is no post-merge run on main any more. Tide tests a PR against the current main before merging, so that run repeated a result Prow already had.
  • A non-docs PR now starts 16 pods instead of 13. The three new ones exit within a minute or two when the PR does not touch their inputs.
  • The shared Go module cache was written by ci.yaml on pushes to main. It is now refreshed only by a manual CI run on main; the macOS job restores the last entry and downloads the difference.
  • hack/ci/test_workflows.py now fails if any workflow other than macos.yaml and goreleaser.yaml starts on pull_request, or if a Prow job is optional or path-triggered.

Verification

  • python3 -m unittest discover -s hack/ci (34 tests) and actionlint on every workflow pass.
  • .prow.yaml passes Prow checkconfig against the config in railgrid/ops.
  • Run locally in the CI image: images (built the two images and both example apps a test diff selected), split (split the one touched subtree, skipped the rest), and the skip path of e2e-infrastructure-templates.
  • This PR touches hack/ci/, so here all three do their full work: ten images, six splits, and the kro template suite, which has not run on Prow before.

…ishing

No workflow starts on pull_request any more except macos.yaml (needs a macOS
runner) and the goreleaser dry-run. ci.yaml, e2e.yaml and
infrastructure-templates-e2e.yaml start only by manual dispatch, as the
fallback when the Prow cluster is unavailable. images.yaml,
infrastructure-examples.yaml and the split workflows keep their publishing
triggers.

Two Prow jobs take over what the removed triggers covered:
pull-railgrid-images builds the provider images a PR touched and the
infrastructure example apps, and pull-railgrid-e2e-infrastructure-templates
runs the kro template suite. The split dry-run on pull requests is not ported.
@mjudeikis
mjudeikis requested a review from cwilhit as a code owner November 14, 2026 10:40
pull-railgrid-images and pull-railgrid-e2e-infrastructure-templates no longer
use run_if_changed: like the other jobs they start on every non-docs pull
request and job.sh narrows the work to what the PR touched. Add
pull-railgrid-split, the dry run split-*.yaml did on pull requests.
@mjudeikis

Copy link
Copy Markdown
Contributor Author

/approve

@railgrid-prow

railgrid-prow Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mjudeikis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@railgrid-prow
railgrid-prow Bot merged commit f54071d into railgrid:main Nov 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant