Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
110034: roachprod: report runs to DMS r=srosenberg a=rail

Previously, the roachprod gc runs was not reporting to Dead Man's Snitch, because the local changes made to the cronjob were removed by a deployment.

This PR adds a call to DMS to report successful runs.

Epic: none
Release note: None

Co-authored-by: Rail Aliiev <[email protected]>
  • Loading branch information
craig[bot] and rail committed Sep 5, 2023
2 parents 2af50c0 + 5fbd7d4 commit 9b91e98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cmd/roachprod/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ aws configure set aws_secret_access_key $(cat /secrets/aws_secret_access_key)
# library to work
aws configure set region us-east-1
az login --service-principal -u $(cat /secrets/azure_user_id) -p $(cat /secrets/azure_password) -t $(cat /secrets/azure_tenant_id)
exec /usr/local/bin/roachprod $@
/usr/local/bin/roachprod "$@"
# Report only successful runs to Dead Man's Snitch
curl https://nosnch.in/060eb36e55

0 comments on commit 9b91e98

Please sign in to comment.