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

List cloudapi compose jobs #4425

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Oct 22, 2024

This pull request includes:

  • adequate testing for the new functionality or fixed issue
  • adequate documentation informing people about the change such as
    • submit a PR for the READMEs listed here
    • submit a PR for the osbuild.org website repository if this PR changed any behavior not covered by the automatically updated READMEs

@bcl
Copy link
Contributor Author

bcl commented Oct 22, 2024

This is just the compose job listing part of #4154 with the output using ComposeStatus instead of just the ids. I'll rewrite the other PR to just do the delete part after this is merged and the questions over there are closed.

@bcl bcl force-pushed the main-just-list-composes branch from b38a0b3 to ccd9b90 Compare October 25, 2024 16:23
@achilleas-k achilleas-k self-requested a review November 7, 2024 17:38
@bcl bcl force-pushed the main-just-list-composes branch from ccd9b90 to f2a596b Compare November 15, 2024 18:13
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

LGTM. Sorry it took long to get around to reviewing and now there are merge conflicts :/

Any reason we can't do the dbjobqueue here too? Would it make the PR too big?

I guess the reasoning is that this is for unifying the weldr API into the cloud API and on-prem the fsjobqueue is used...?

@bcl
Copy link
Contributor Author

bcl commented Nov 26, 2024

Any reason we can't do the dbjobqueue here too? Would it make the PR too big?

Yeah, it was too large and has some questions about the data structures so I'm trying to do things in smaller steps.

@bcl bcl force-pushed the main-just-list-composes branch from f2a596b to 414fbab Compare November 26, 2024 23:24
bcl added 4 commits December 20, 2024 11:44
This lists the root job UUIDs (the jobs with no dependants).
Currently only implemented by fsjobqueue. The function for
dbjobqueue currently returns nil.

Related: RHEL-60120
This will be used to list the top level job UUIDs.

Related: RHEL-60120
This will make it easier to use the status in responses.

Related: RHEL-60120
This returns the status using the same structure as it does for
requesting individual statuses for the jobs.

Related: RHEL-60120
@bcl bcl force-pushed the main-just-list-composes branch from 414fbab to 4ef3a62 Compare December 20, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants