GuidesAPI Reference
Log In
Guides

Deployments on Other Systems

For systems that support running a command before and/or after the deployment command, you can record deployments to be tracked by Clairvoyance.

  1. Make an API token.
    1. Install pvnctl and authenticate.
    2. Create an API Token.
  2. Add the following commands before deployment happens on your deployment system:
# authentiate pvnctl
pvnctl auth context add default <your-org>.grpc.runprodvana.com:443
pvnctl auth token $YOUR_API_TOKEN

# record deployment
APP=your-app
SERVICE=your-service
RELEASE_CHANNEL=your-release-channel
COMMIT=...
REPO=github.com/your/repo
DEPLOYMENT_SYSTEM=some-name-for-your-deployment-system
pvnctl deployments record --app=$APP --service=$SERVICE --release-channel=$RELEASE_CHANNEL --commit=$COMMIT --repository=$REPO --deployment-system=$DEPLOYMENT_SYSTEM