Skip to content
Ronen edited this page Mar 4, 2020 · 10 revisions

install new repository pipeline.

create a new deployment pipeline that will be triggered later as part of Continuous Delivery

POST /pipelines/

{
  "action_type": "install",
  "owner": "scalecube",
  "repo": "robokit"
}

delete existing repository pipeline.

Delete an existing pipeline.

POST /pipelines/

{
  "action_type": "delete",
  "owner": "scalecube",
  "repo": "robokit"
}

deploy a namespace.

trigger a continuous delivery pipeline for a given branch

POST /pipelines/

{
  "action_type": "deploy",
  "owner": "scalecube",
  "repo": "github-gateway",
  "branch_name": "develop",
  "sha": "905de160be1c84e65dda76f4aaac557d861a5e4f",
  "is_pull_request": true,
  "issue_number": 9,
  "namespace": "scalecube-robokit-develop",
  "labeled": true,
  "labels": [
    "DEPLOY"
  ]
}

200 OK response:

{
  id:"FGD2342SFSDG4fDDFA"
}

cancel deploy pipeline. Cancel the deployment pipeline

POST /pipelines/

{
  "action_type": "cancel",
  "owner": "scalecube",
  "repo": "robokit"
  "id": "FGD2342SFSDG4fDDFA"
}
Clone this wiki locally