From 5fbd7d474ae82cb5397013f5cb8c20918aaf6c89 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Tue, 5 Sep 2023 11:47:07 -0400 Subject: [PATCH] roachprod: report runs to DMS 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 --- pkg/cmd/roachprod/docker/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/roachprod/docker/entrypoint.sh b/pkg/cmd/roachprod/docker/entrypoint.sh index ce782a9a54a9..634dbb07eea3 100755 --- a/pkg/cmd/roachprod/docker/entrypoint.sh +++ b/pkg/cmd/roachprod/docker/entrypoint.sh @@ -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