Skip to content
Staircase

Pipeline

The orchestration primitive that runs the shipping stages as one sequence.

The stages exist as separate products — Code, Assess, Build, Deploy, Comply and publication through Marketplace — and this is the thing that runs them in order, as a single automated action against a repository.

Keeping the stages independently callable and the sequence separate is what allowed a stage to be run alone. Re-running assessment against a repository without deploying it is a normal operation, not a special mode.

What is recorded is the action itself plus the deployment surface behind it — creating a pipeline, deploying it, and the dynamic form that deploys one built for a specific service.

Operations

Action

POST /run-action

Run Action

run_action

Run Action.

Run Action

Other responses

201

Operations

POST /deployment

Run deployment to root

Run deployment process for given service from branch to the root account

Request bodyapplication/json
3 fields
FieldTypeDescription
branchrequiredstringGit branch to use
environmentrequiredstringcan be dev or test
projectrequiredstringname of project(repository name)
Response 201application/json
3 fields

Deployment created

FieldTypeDescription
statusstringStatus of triggered deployment
messagestringInformation about deployment
execution_idstringID of deployment using which user can retrieve status
GET /deployment/{execution_id}/status

Get deployment status

Get deployment status for the deployment to any account using execution_id

Parameters
1
ParameterTypeDescription
execution_id required string path
Response 200application/json
2 fields

Status for provided execution

FieldTypeDescription
deployment_statusstringStatus of deployment
descriptionstringDeployment description
Response 400application/json
2 fields

Provided execution id does not exists

FieldTypeDescription
messagestringError message
descriptionstringError description
POST /dynamicDeployment

Run deployment on given account

Run deployment process for given service from branch at any accoun

Request bodyapplication/json
6 fields
FieldTypeDescription
branchrequiredstringuse github sha commit
projectrequiredstringname of project(repository name)
bucketrequiredstringname of bucket where place artifacts for sandbox:sandbox-account-artifacts
bundle_idrequiredstringsha commit
accessKeyrequiredstringaccess key for account, ask devops for providing keys
secretKeyrequiredstringsecret key for account, ask devops for providing keys
Other responses

200

POST /v3/deployments

Start deployment pipeline

Deploy service to a given account

Request bodyapplication/json
6 fields
FieldTypeDescription
project_namerequiredstringname of github repository
access_keyrequiredstringenvironment credentials
secret_keyrequiredstringenvironment credentials
envstring
branchstringbranch to be deployed if different from master
domain_namerequiredstring (hostname)domain name of the environment to deploy
Response 201application/json
1 fields

Pipeline execution created

FieldTypeDescription
bundle_idstring (uuid)
Other responses

400

GET /v3/deployments/{bundle_id}

Get status of current deployment

Parameters
1
ParameterTypeDescription
bundle_id required string (uuid) path
Response 200application/json
2 fields

Deployment status

FieldTypeDescription
bundle_idstring (uuid)
statusstring
Other responses

404

Errors

400404

Type to search.