Skip to content

Commit

Permalink
nightly cleanup: confirm repo delete non-interactively (#1820)
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Rancourt <kent.rancourt@microsoft.com>
  • Loading branch information
krancour authored Feb 16, 2022
1 parent e19836f commit 7a7695f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .brigade/brigade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7a7695f

Please sign in to comment.