this is likely a better place to ask = )
# deployment-kubernetes
s
this is likely a better place to ask = )
r
Checkout the GraphQL Schema for the dagster instance: https://docs.dagster.io/concepts/dagit/graphql#exploring-the-graphql-schema-and-documentation. You can do the following in your CI/CD: • launch a job execution • poll for the completion of the job until it reaches a terminal state to determine whether to fail or mark your CI/CD as success
👍 1
s
thanks, @rex, this may be what we were looking for!
r
You’ll want to look at: •
launchRun
, which returns the id of the run you have launched • Then you can use the id from above in a query to
runOrError
. You can poll this until the
status
is either
SUCCESS
,
FAILURE
, or
CANCELED
.
s
perfect!
what component is running the API endpoint? is it the daemon?
I mean, it should be, right? = )
r
the daemon is not running the api endpoint. dagit is hosting the endpoint - it runs a graphql server.
s
so GraphQL is a backend for the dagit frontend? that actually makes a lot of sense