NO-JIRA: UPSTREAM: <carry>: Add manifests verify target#145
Conversation
|
@RadekManak: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@RadekManak: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damdo, mdbooth The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by @damdo |
|
@damdo: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
Add a verify target to ensure OCP manifests are generated correctly and no uncommitted changes exist after regeneration.
Changes
openshift/provider-version.mkto define the provider version used for manifest generationopenshift/verify-diff.shscript to verify no untracked files or uncommitted changes existverifyandverify-%Makefile targets to enable verification workflowscheck-envdependency fromocp-manifeststarget (version now sourced from provider-version.mk)Purpose
This enables CI to verify that generated OCP manifests are up-to-date by running
make verify-ocp-manifests, which will:make ocp-manifestsThis prevents manifests from becoming stale when the provider version or manifest generation logic changes.
Testing
The verify job will be automatically triggered by CI once the corresponding PR in openshift/release (openshift/release#71392) is merged.