Cirrus-ci-docs: How to start a build via the API?

Created on 2 Jul 2019  路  2Comments  路  Source: cirruslabs/cirrus-ci-docs

Question

I noticed #90 was closed, which implies that using the GraphQL API to initiate a build is possible. However, I've been unable to find any documentation for it.

So my questions are just:

  1. Is it actually possible?
  2. If so, what would the GraphQL request look like?
question

Most helpful comment

I鈥檒l add a section about this soon

All 2 comments

You can check documentation API about how to authorize and use the API: https://cirrus-ci.org/api/

Plus you can check the web client which uses a corresponding mutation to manually create builds in a dialog: https://github.com/cirruslabs/cirrus-ci-web/blob/master/src/components/CreateBuildDialog.js#L21-L29. Here is a comment with a screenshot of how it looks: https://github.com/cirruslabs/cirrus-ci-docs/issues/90#issuecomment-489638090

I鈥檒l add a section about this soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

plicease picture plicease  路  5Comments

RDIL picture RDIL  路  4Comments

iskakaushik picture iskakaushik  路  5Comments

dotdoom picture dotdoom  路  5Comments

dotdoom picture dotdoom  路  4Comments