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

Generate CodeFlare API client #133

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Generate CodeFlare API client #133

merged 1 commit into from
Jun 14, 2023

Conversation

astefanutti
Copy link
Contributor

@astefanutti astefanutti commented Jun 12, 2023

This PR generates the CodeFlare client using k8s code-generator.

This client will ease the development of e2e tests, and may eventually be used externally.

The change in the the API directory structure is to accommodate tooling conventions.

@astefanutti
Copy link
Contributor Author

/assign @anishasthana

@astefanutti astefanutti mentioned this pull request Jun 13, 2023
7 tasks
Copy link
Member

@anishasthana anishasthana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

The make commands are running for me locally. Not sure how to debug further than this.

@openshift-ci openshift-ci bot added the lgtm label Jun 13, 2023
@astefanutti
Copy link
Contributor Author

/lgtm

The make commands are running for me locally. Not sure how to debug further than this.

The proof PR #136 exercises the generated client. e.g.:

https://github.com/project-codeflare/codeflare-operator/pull/136/files#diff-82075545c22e6700e8c62cd71f0d1d9875d87dbe20c0932fa0bd5fd9c6e6ff65R61

I think that's a good way to validate it works. WDYT?

@anishasthana
Copy link
Member

That's reasonable to me!

Copy link

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci
Copy link

openshift-ci bot commented Jun 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anishasthana, z103cb

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

@openshift-merge-robot openshift-merge-robot merged commit 3180604 into project-codeflare:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants