-
Notifications
You must be signed in to change notification settings - Fork 251
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
Added Cluster Queue/Jobs example to GraphQL Cookbook #2224
base: main
Are you sure you want to change the base?
Conversation
|
||
### List cluster queues | ||
|
||
List the first 20 cluster queues' key and ID for the first 10 clusters in the organisation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be a bit simpler/clearer. Maybe:
List the first 20 cluster queues' key and ID for the first 10 clusters in the organisation | |
For the first 10 clusters in an organization, list the key and ID of the first 20 cluster queues. |
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the latest commit 👍, TY @mbelton-buildkite
} | ||
``` | ||
|
||
### List jobs as part of a specific cluster queue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still keep the right meaning?
### List jobs as part of a specific cluster queue | |
### List jobs in a cluster queue |
Just looking if there's a sensible way to shorten it a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the latest commit 👍, TY @mbelton-buildkite
Added two examples for Clusters with GraphQL: inclusive of fetching Cluster queues for a given organisation, and also the current running Jobs for a given Cluster Queue (ID).