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.
- Make an API token.
- 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
Updated 11 months ago