Skip to content

add CI coverage for kustomize changes #840

Closed

Description

@ktdreyer
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

Every pull request that touches components/manifests/** should validate that all kustomize overlays still build.

Context: Today only production and e2e get validated indirectly (via deploy workflows that run on push to main). kind, kind-local, and local-dev have no CI validation at all. A broken overlay is only discovered when someone runs make kind-up locally.

Requirements

  • Run oc kustomize for every overlay (production, e2e, kind, kind-local, local-dev) on PRs that change any file under components/manifests/
  • Fail the check if any overlay fails to build

Future: dry-run against stage cluster

A follow-up PR could add oc apply --dry-run=server against the stage cluster for the production overlay. This would validate admission webhooks and RBAC, not just kustomize syntax. Guard with if: github.event.pull_request.head.repo.full_name == github.repository to skip fork PRs where secrets are unavailable. Do not use pull_request_target.

Out of scope

  • Treating kustomize deprecation warnings (e.g. commonLabels → labels) as errors — track separately
  • mpp-preprod overlay (RHOAIENG-51656) — does not exist on main yet; add to the overlay list when it lands

Related

Activity

  1. added 8 commits that reference this issue on Mar 6, 2026
    08cd5be
    b1a3a91
    cc9062b
    33f30f1
    63780a2
    5b354e1
    d2aceb6
    34f1916
  2. self-assigned this
    on Mar 9, 2026
  3. added a commit that references this issue on Mar 11, 2026
    d7d3875
  4. added a commit that references this issue on Mar 11, 2026
    ac84355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions