Skip to content

Commit

Permalink
chore: fix clean acr (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 authored May 3, 2024
1 parent 42371e4 commit 80a5cb8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/clean-acr.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .pipelines/clean-acr.yml
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.

0 comments on commit 80a5cb8

Please sign in to comment.