For systems that support running a command before and/or after the deployment command, you can record releases 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 release 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 releases record --app=$APP --service=$SERVICE --release-channel=$RELEASE_CHANNEL --commit=$COMMIT --repository=$REPO --deployment-system=$DEPLOYMENT_SYSTEM
Updated about 1 month ago