Skip to content

Commit

Permalink
Merge pull request #26 from pluralsh/add-agent-vsn
Browse files Browse the repository at this point in the history
Add agent vsn to deployment settings
  • Loading branch information
michaeljguarino authored May 1, 2024
2 parents fbb67d1 + 4c54d10 commit c4bb588
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
9 changes: 9 additions & 0 deletions client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions graph/models.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ fragment DeploymentSettingsFragment on DeploymentSettings {
id
name
agentHelmValues
agentVsn
writeBindings {
...PolicyBindingFragment
}
Expand Down
7 changes: 5 additions & 2 deletions models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ type RootQueryType {

prAutomation(id: ID, name: String): PrAutomation

pullRequests(after: String, first: Int, before: String, last: Int, clusterId: ID, serviceId: ID, q: String): PullRequestConnection
pullRequests(
after: String, first: Int, before: String, last: Int, clusterId: ID, serviceId: ID, open: Boolean, q: String
): PullRequestConnection

scmWebhooks(after: String, first: Int, before: String, last: Int): ScmWebhookConnection

Expand Down Expand Up @@ -255,6 +257,8 @@ type RootQueryType {

status: ServiceDeploymentStatus

errored: Boolean

"the handle of the cluster for this service"
cluster: String
): ServiceDeploymentConnection
Expand Down Expand Up @@ -780,6 +784,9 @@ type DeploymentSettings {
"custom helm values to apply to all agents (useful for things like adding customary annotations\/labels)"
agentHelmValues: String

"The console's expected agent version"
agentVsn: String!

"the latest known k8s version"
latestK8sVsn: String!

Expand Down Expand Up @@ -1066,7 +1073,9 @@ type InfrastructureStack {
"why this run was cancelled"
cancellationReason: String

runs(after: String, first: Int, before: String, last: Int): StackRunConnection
runs(after: String, first: Int, before: String, last: Int, pullRequestId: ID): StackRunConnection

pullRequests(after: String, first: Int, before: String, last: Int): PullRequestConnection

"files bound to a run of this stack"
files: [StackFile]
Expand Down

0 comments on commit c4bb588

Please sign in to comment.