diff --git a/models_gen.go b/models_gen.go index 0fd7994..c727c64 100644 --- a/models_gen.go +++ b/models_gen.go @@ -2718,6 +2718,8 @@ type PipelineStage struct { ID string `json:"id"` // the name of this stage (eg dev, prod, staging) Name string `json:"name"` + // the errors for this stage + Errors []*ServiceError `json:"errors,omitempty"` // the services within this stage Services []*StageService `json:"services,omitempty"` // the context that is to be applied to this stage for PR promotions @@ -3161,6 +3163,8 @@ type PrometheusDatasource struct { // how a promotion for a service will be performed type PromotionCriteria struct { ID string `json:"id"` + // overrides the repository slug for the referenced pr automation + Repository *string `json:"repository,omitempty"` // the source service in a prior stage to promote settings from Source *ServiceDeployment `json:"source,omitempty"` // whether you want to copy any configuration values from the source service @@ -3179,6 +3183,8 @@ type PromotionCriteriaAttributes struct { SourceID *string `json:"sourceId,omitempty"` // the id of a pr automation to update this service PrAutomationID *string `json:"prAutomationId,omitempty"` + // overrides the repository slug for the referenced pr automation + Repository *string `json:"repository,omitempty"` // the secrets to copy over in a promotion Secrets []*string `json:"secrets,omitempty"` } diff --git a/schema/schema.graphql b/schema/schema.graphql index 4841859..dae32d1 100644 --- a/schema/schema.graphql +++ b/schema/schema.graphql @@ -514,6 +514,8 @@ type RootMutationType { "the id of the PR automation instance to use" id: ID! + identifier: String + branch: String context: Json @@ -742,7 +744,7 @@ type RootMutationType { deleteCustomStackRun(id: ID!): CustomStackRun "Creates a custom run, with the given command list, to execute w\/in the stack's environment" - onDemandRun(stackId: ID!, commands: [CommandAttributes]): StackRun + onDemandRun(stackId: ID!, commands: [CommandAttributes], context: Json): StackRun upsertObservabilityProvider(attributes: ObservabilityProviderAttributes!): ObservabilityProvider @@ -757,7 +759,7 @@ type RootMutationType { updateProject(id: ID!, attributes: ProjectAttributes!): Project "a reusable mutation for updating rbac settings on core services" - updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID): Boolean + updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID, stackId: ID): Boolean } type RootSubscriptionType { @@ -2312,6 +2314,9 @@ input PromotionCriteriaAttributes { "the id of a pr automation to update this service" prAutomationId: ID + "overrides the repository slug for the referenced pr automation" + repository: String + "the secrets to copy over in a promotion" secrets: [String] } @@ -2375,6 +2380,9 @@ type PipelineStage { "the name of this stage (eg dev, prod, staging)" name: String! + "the errors for this stage" + errors: [ServiceError] + "the services within this stage" services: [StageService] @@ -2515,6 +2523,9 @@ type StageService { type PromotionCriteria { id: ID! + "overrides the repository slug for the referenced pr automation" + repository: String + "the source service in a prior stage to promote settings from" source: ServiceDeployment