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

OpenAPI: Adapt the gobuild.yaml pipeline to run the new Go-OpenAPI generator #6142

Closed
manusa opened this issue Jul 17, 2024 · 0 comments · Fixed by #6161
Closed

OpenAPI: Adapt the gobuild.yaml pipeline to run the new Go-OpenAPI generator #6142

manusa opened this issue Jul 17, 2024 · 0 comments · Fixed by #6161
Assignees
Labels
component/kubernetes-model Deals with the kubernetes-model
Milestone

Comments

@manusa
Copy link
Member

manusa commented Jul 17, 2024

Description

Part of #6130

As part of the OpenAPI generation process, we've implemented functionality to generate the missing OpenAPI spec for types that aren't directly exposed by Kubernetes (#6131).

This process should run as part of the gobuild.yml pipeline to ensure that changes to this generator are persisted.

Tasks

  • Add a new task in the global Makefile to generate-openapi
  • Rename the current generate-model task to generate-model-legacy
  • Add a new task generate-model task that executes all of the model-related tasks (will now be generate-openapi & generate-model-legacy
  • Modify the Check No Schema file modified step in the gobuild.yml pipeline to verify none of the files was modified.
@manusa manusa added this to the 7.0.0 milestone Jul 17, 2024
@manusa manusa added the component/kubernetes-model Deals with the kubernetes-model label Jul 17, 2024
@manusa manusa self-assigned this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes-model Deals with the kubernetes-model
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant