-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42371e4
commit 80a5cb8
Showing
3 changed files
with
29 additions
and
49 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
trigger: | ||
schedules: | ||
- cron: "0 1 * * 0" | ||
displayName: Weekly Cleanup | ||
always: true | ||
branches: | ||
include: | ||
- master | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
variables: | ||
azureServiceConnection: 'synapseml-clean-acr' # Name of the Azure service connection in Azure DevOps | ||
|
||
steps: | ||
- task: AzureCLI@2 | ||
displayName: 'Clean ACR' | ||
inputs: | ||
azureSubscription: 'SynapseML Build' | ||
scriptLocation: inlineScript | ||
scriptType: bash | ||
inlineScript: | | ||
set -e | ||
pip install --upgrade pip | ||
pip install azure-storage-blob azure-identity azure-keyvault-secrets | ||
python tools/acr/clean-acr.py mmlspark-keys clean-acr-connection-string | ||
File renamed without changes.