Skip to content

Commit

Permalink
fix: add cleanup for artifact overwrite (#5009)
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiezhang1997 authored Sep 30, 2024
1 parent a2f978f commit ef3f714
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pipelines/templates/e2e-windows-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ parameters:
jobs:
- job: Setup_Test_Cluster
steps:
- bash: |
echo "Cleaning up artifacts..."
rm -rf $(Build.ArtifactStagingDirectory)/${{ parameters.windowsImage }}${{ parameters.windowsGpuDriverSuffix }}-clusterConfig
displayName: "Clean up artifacts"
- bash: |
az login --identity
az account set -s $(AZURE_E2E_SUBSCRIPTION_ID)
Expand Down Expand Up @@ -82,6 +86,10 @@ jobs:
matrix: $[ dependencies.Generate_Matrix.outputs['matrix.scenarioMatrix'] ]
maxParallel: 3
steps:
- bash: |
echo "Cleaning up artifacts..."
rm -rf $(Build.ArtifactStagingDirectory)/${{ parameters.windowsImage }}${{ parameters.windowsGpuDriverSuffix }}-$(SCENARIO_NAME)-logs
displayName: "Clean up artifacts"
- download: current
artifact: ${{ parameters.windowsImage }}${{ parameters.windowsGpuDriverSuffix }}-clusterConfig
- bash: |
Expand Down

0 comments on commit ef3f714

Please sign in to comment.