Skip to content

Commit fc49bbe

Browse files
Merge pull request #32 from pluralsh/refresh-schema
Refresh schema
2 parents 09aa00d + 4b7e068 commit fc49bbe

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

models_gen.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/schema.graphql

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,8 @@ type RootMutationType {
514514
"the id of the PR automation instance to use"
515515
id: ID!
516516

517+
identifier: String
518+
517519
branch: String
518520

519521
context: Json
@@ -742,7 +744,7 @@ type RootMutationType {
742744
deleteCustomStackRun(id: ID!): CustomStackRun
743745

744746
"Creates a custom run, with the given command list, to execute w\/in the stack's environment"
745-
onDemandRun(stackId: ID!, commands: [CommandAttributes]): StackRun
747+
onDemandRun(stackId: ID!, commands: [CommandAttributes], context: Json): StackRun
746748

747749
upsertObservabilityProvider(attributes: ObservabilityProviderAttributes!): ObservabilityProvider
748750

@@ -757,7 +759,7 @@ type RootMutationType {
757759
updateProject(id: ID!, attributes: ProjectAttributes!): Project
758760

759761
"a reusable mutation for updating rbac settings on core services"
760-
updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID): Boolean
762+
updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID, stackId: ID): Boolean
761763
}
762764

763765
type RootSubscriptionType {
@@ -2312,6 +2314,9 @@ input PromotionCriteriaAttributes {
23122314
"the id of a pr automation to update this service"
23132315
prAutomationId: ID
23142316

2317+
"overrides the repository slug for the referenced pr automation"
2318+
repository: String
2319+
23152320
"the secrets to copy over in a promotion"
23162321
secrets: [String]
23172322
}
@@ -2375,6 +2380,9 @@ type PipelineStage {
23752380
"the name of this stage (eg dev, prod, staging)"
23762381
name: String!
23772382

2383+
"the errors for this stage"
2384+
errors: [ServiceError]
2385+
23782386
"the services within this stage"
23792387
services: [StageService]
23802388

@@ -2515,6 +2523,9 @@ type StageService {
25152523
type PromotionCriteria {
25162524
id: ID!
25172525

2526+
"overrides the repository slug for the referenced pr automation"
2527+
repository: String
2528+
25182529
"the source service in a prior stage to promote settings from"
25192530
source: ServiceDeployment
25202531

0 commit comments

Comments
 (0)