mcs-api icon indicating copy to clipboard operation
mcs-api copied to clipboard

Allow codegen verification

Open skitt opened this issue 1 year ago • 1 comments

Current codegen no longer supports --verify-only; to verify, this generates the code in a temporary directory, and diffs the current code with the newly-generated code. The script exits with the status code of the last command, so it will fail if diff finds any difference.

To correctly account for files which are no longer generated, actual code generation starts by deleting the output directory.

skitt avatar Jul 03 '24 13:07 skitt

/approve

skitt avatar Aug 01 '24 07:08 skitt

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nojnhuh, skitt

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

The pull request process is described here

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

k8s-ci-robot avatar Aug 01 '24 07:08 k8s-ci-robot