Add support for viewing pipeline run output
This commit is contained in:
+72
-70
@@ -2,27 +2,63 @@ schema {
|
||||
query: Query
|
||||
mutation: Mutation
|
||||
}
|
||||
"A credential for authenticating with the pipeline source host."
|
||||
type CloneCredential {
|
||||
"The id of the credential."
|
||||
"A secret available for use inside of a pipeline."
|
||||
type Secret {
|
||||
"The id of the secret."
|
||||
id: String!
|
||||
"The name of the credential."
|
||||
"The name of the secret."
|
||||
name: String!
|
||||
"The secret for the credential."
|
||||
"The secret."
|
||||
secret: String!
|
||||
"The credential type."
|
||||
type: String!
|
||||
"The username to user with the credential."
|
||||
username: String!
|
||||
}
|
||||
"A webhook for triggering pipelines"
|
||||
type Webhook {
|
||||
"The id of the webhook."
|
||||
"A runner available for use inside of a pipeline."
|
||||
type Runner {
|
||||
"The id of the runner."
|
||||
id: String!
|
||||
"The secret used to validate the webhook."
|
||||
secret: String!
|
||||
"The format of the webhook."
|
||||
serverType: String!
|
||||
"The name of the runner."
|
||||
name: String!
|
||||
"The token."
|
||||
token: String!
|
||||
}
|
||||
""
|
||||
type Query {
|
||||
""
|
||||
CloneCredential(
|
||||
"The id of the requested credential."
|
||||
id: String!
|
||||
): CloneCredential
|
||||
""
|
||||
CloneCredentials: [CloneCredential]!
|
||||
""
|
||||
Pipeline(
|
||||
"The id of the requested pipeline."
|
||||
id: String!
|
||||
): Pipeline
|
||||
""
|
||||
Pipelines: [Pipeline]!
|
||||
""
|
||||
Runners: [Runner]!
|
||||
""
|
||||
Secrets: [Secret]!
|
||||
}
|
||||
"A pipeline for running ci jobs"
|
||||
type Pipeline {
|
||||
"The configured credential for cloning the pipeline source."
|
||||
cloneCredential: CloneCredential
|
||||
"The id of the pipeline."
|
||||
id: String!
|
||||
"The name of the pipeline."
|
||||
name: String!
|
||||
"The polling interval for the pipeline."
|
||||
pollInterval: Int!
|
||||
"The list of runs for the pipeline."
|
||||
runs: [Run!]!
|
||||
"The list of secrets for the pipeline."
|
||||
secrets: [Secret!]!
|
||||
"The url of the pipeline."
|
||||
url: String!
|
||||
"The list of webhooks for the pipeline."
|
||||
webhooks: [Webhook!]!
|
||||
}
|
||||
""
|
||||
type Mutation {
|
||||
@@ -89,66 +125,32 @@ type Mutation {
|
||||
pipelineId: String!
|
||||
): Pipeline
|
||||
}
|
||||
"A runner available for use inside of a pipeline."
|
||||
type Runner {
|
||||
"The id of the runner."
|
||||
"A webhook for triggering pipelines"
|
||||
type Webhook {
|
||||
"The id of the webhook."
|
||||
id: String!
|
||||
"The name of the runner."
|
||||
name: String!
|
||||
"The token."
|
||||
token: String!
|
||||
}
|
||||
"A pipeline for running ci jobs"
|
||||
type Pipeline {
|
||||
"The configured credential for cloning the pipeline source."
|
||||
cloneCredential: CloneCredential
|
||||
"The id of the pipeline."
|
||||
id: String!
|
||||
"The name of the pipeline."
|
||||
name: String!
|
||||
"The polling interval for the pipeline."
|
||||
pollInterval: Int!
|
||||
"The list of runs for the pipeline."
|
||||
runs: [Run!]!
|
||||
"The list of secrets for the pipeline."
|
||||
secrets: [Secret!]!
|
||||
"The url of the pipeline."
|
||||
url: String!
|
||||
"The list of webhooks for the pipeline."
|
||||
webhooks: [Webhook!]!
|
||||
}
|
||||
"A secret available for use inside of a pipeline."
|
||||
type Secret {
|
||||
"The id of the secret."
|
||||
id: String!
|
||||
"The name of the secret."
|
||||
name: String!
|
||||
"The secret."
|
||||
"The secret used to validate the webhook."
|
||||
secret: String!
|
||||
"The format of the webhook."
|
||||
serverType: String!
|
||||
}
|
||||
""
|
||||
type Query {
|
||||
""
|
||||
CloneCredential(
|
||||
"The id of the requested credential."
|
||||
id: String!
|
||||
): CloneCredential
|
||||
""
|
||||
CloneCredentials: [CloneCredential]!
|
||||
""
|
||||
Pipeline(
|
||||
"The id of the requested pipeline."
|
||||
id: String!
|
||||
): Pipeline
|
||||
""
|
||||
Pipelines: [Pipeline]!
|
||||
""
|
||||
Runners: [Runner]!
|
||||
""
|
||||
Secrets: [Secret]!
|
||||
"A credential for authenticating with the pipeline source host."
|
||||
type CloneCredential {
|
||||
"The id of the credential."
|
||||
id: String!
|
||||
"The name of the credential."
|
||||
name: String!
|
||||
"The secret for the credential."
|
||||
secret: String!
|
||||
"The credential type."
|
||||
type: String!
|
||||
"The username to user with the credential."
|
||||
username: String!
|
||||
}
|
||||
"A pipeline run"
|
||||
type Run {
|
||||
"Logs of the top level container build for the run."
|
||||
buildOutput: String
|
||||
"The id of the run."
|
||||
id: String!
|
||||
"The progress status of the run."
|
||||
|
||||
Reference in New Issue
Block a user