Skip to content

massdriver-cloud/xo

Repository files navigation

xo - eXecution Orchestrator

xo is a small utility to facilitate communication between a Massdriver provisioner and the Massdriver platform.

Many of the capabilities here also exist in mass, the Massdriver CLI. You should use mass locally for any interactions with the Massdriver platform. xo is only intended to be used within provisioners.

Usage

Pulling a Bundle

xo bundle pull

Used by the initialization provisioner to pull the bundle for all the subsequent steps.

Managing Artifacts

This should be included in the provisioner script. Refer Massdriver's offical provisioners for examples.

xo artifact publish -d artifact_name -n "Artifact description" -f artifact.json
xo artifact delete -d artifact_name -n "Artifact description"

Reporting Deployment Status

Deployment Started

This is handled automatically by the initialization provisioner.

xo deployment provision start
xo deployment decommission start

Deployment Completed

This is handled automatically by Massdriver's workflow orchestrator.

xo deployment provision complete
xo deployment decommission complete

Deployment Failed

This is handled automatically by Massdriver's workflow orchestrator.

xo deployment provision fail
xo deployment decommission fail