From 7a7695fd79b6c43ef3f125bdaa5975c8e198ef48 Mon Sep 17 00:00:00 2001 From: Kent Rancourt Date: Wed, 16 Feb 2022 14:00:47 -0500 Subject: [PATCH] nightly cleanup: confirm repo delete non-interactively (#1820) Signed-off-by: Kent Rancourt --- .brigade/brigade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.brigade/brigade.ts b/.brigade/brigade.ts index fa496e710..fd676e059 100644 --- a/.brigade/brigade.ts +++ b/.brigade/brigade.ts @@ -395,7 +395,7 @@ events.on("brigade.sh/cron", "nightly-cleanup", async event => { "brigade2-worker" ] repos.forEach((repo: string) => { - script += `&& az acr repository delete --name unstablebrigade --repository ${repo}` + script += `&& az acr repository delete --name unstablebrigade --repository ${repo} --yes` }) job.primaryContainer.arguments = ["-c", script] await job.run()