-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding cluster queue support for hosted agents (#596)
* initial push for hosted agent queue * updated graphql queries to match hosted schema * Set enough hosted config to create a queue * Getting the hosted agents to a create a store state * Padding out the update queue functionality * Adding the xcodeVersion capabilities * Finishing off the XCode work * Bring the project back closer to the original * Regenerate the full graph schema * Update the image naming to better align with the API * Fixes for linting and tests * Updating the state properly for the update method --------- Co-authored-by: Ben McNicholl <[email protected]> Co-authored-by: Matthew Borden <[email protected]>
- Loading branch information
1 parent
27a34b7
commit 93508bc
Showing
10 changed files
with
1,207 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ schema: | |
go get github.com/suessflorian/gqlfetch/gqlfetch | ||
go get github.com/Khan/genqlient/[email protected] | ||
go get github.com/vektah/gqlparser/v2/[email protected] | ||
go run github.com/suessflorian/gqlfetch/gqlfetch -endpoint https://graphql.buildkite.com/v1 -header "Authorization=Bearer $${BUILDKITE_GRAPHQL_TOKEN}" > schema.graphql | ||
go run github.com/suessflorian/gqlfetch/gqlfetch -endpoint "$${BUILDKITE_GRAPHQL_URL:-https://graphql.buildkite.com/v1}" -header "Authorization=Bearer $${BUILDKITE_API_TOKEN:-$$BUILDKITE_GRAPHQL_TOKEN}" > schema.graphql | ||
|
||
# Generate the GraphQL code | ||
generate: schema | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.