Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Add script for API diff check #2096

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

EmilienM
Copy link
Contributor

What this PR does / why we need it:

  • Add target to Makefile to run make apidiff
  • Add the script itself, copied from other platforms

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1860

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 22, 2024
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 22, 2024
Copy link

netlify bot commented May 22, 2024

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit e5a460e
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/664e1a47350aff000821c458
😎 Deploy Preview https://deploy-preview-2096--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@EmilienM EmilienM changed the title Add script for API diff check 🌱 Add script for API diff check May 22, 2024
@EmilienM
Copy link
Contributor Author

/cc mdbooth

@k8s-ci-robot k8s-ci-robot requested a review from mdbooth May 22, 2024 16:08
* Add target to Makefile to run `make apidiff`
* Add the script itself, copied from other platforms
@EmilienM
Copy link
Contributor Author

mhh I need to find a way to skip it for v1alpha1 stuffs.

@EmilienM EmilienM marked this pull request as draft May 22, 2024 16:17
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2024
@EmilienM
Copy link
Contributor Author

We agreed the following:

  • Add a non voting job to run apidiff
  • If the job fails, ignore failures if it's because of a change in our go api until we figure things out with our codebase.

@EmilienM EmilienM marked this pull request as ready for review May 31, 2024 19:54
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 31, 2024
@mdbooth
Copy link
Contributor

mdbooth commented May 31, 2024

/approve

Wouldn't it be nice if we had a tool like Zuul which could test both this PR and kubernetes/test-infra#32644 together?

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mdbooth

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 k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 31, 2024
@jichenjc
Copy link
Contributor

jichenjc commented Jun 3, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 3, 2024
@k8s-ci-robot k8s-ci-robot merged commit 77bd3e6 into kubernetes-sigs:main Jun 3, 2024
9 checks passed
@pierreprinetti pierreprinetti deleted the issue_1860 branch July 2, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CI: check apidiff once v1beta1 is released
4 participants