Skip to content

Commit 7ab7294

Browse files
authored
ci: [backport] Remove AKS Engine storage account usage (#2706)
ci: Remove AKS Engine storage account usage
1 parent ed817a5 commit 7ab7294

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

.pipelines/pipeline.yaml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@ stages:
136136
pathtoPublish: "$(Build.ArtifactStagingDirectory)"
137137
condition: succeeded()
138138

139-
- task: AzureCLI@1
140-
inputs:
141-
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
142-
scriptLocation: "inlineScript"
143-
inlineScript: |
144-
echo Creating storage container with name acn-$(STORAGE_ID) and account name $(STORAGE_ACCOUNT_NAME)
145-
az storage container create -n acn-$(STORAGE_ID) --account-name $(STORAGE_ACCOUNT_NAME) --public-access container
146-
az storage blob upload-batch -d acn-$(STORAGE_ID) -s ./output/bins/ --account-name $(STORAGE_ACCOUNT_NAME)
147-
displayName: Create artifact storage container
148-
condition: succeeded()
149-
150139
- stage: containerize
151140
displayName: Build Images
152141
dependsOn:
@@ -452,31 +441,3 @@ stages:
452441
echo $TAG
453442
echo $CURRENT_VERSION
454443
echo "Checking if branch is up to date with master"
455-
456-
- stage: cleanup
457-
displayName: Cleanup
458-
dependsOn:
459-
- "azure_overlay_e2e"
460-
- "aks_swift_e2e"
461-
- "cilium_e2e"
462-
- "cilium_overlay_cilium_e2e"
463-
- "aks_ubuntu_22_linux_e2e"
464-
- "aks_windows_22_e2e"
465-
jobs:
466-
- job: delete_remote_artifacts
467-
displayName: Delete remote artifacts
468-
pool:
469-
name: $(BUILD_POOL_NAME_DEFAULT)
470-
demands: agent.os -equals Linux
471-
steps:
472-
- checkout: none
473-
- task: AzureCLI@1
474-
inputs:
475-
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
476-
scriptLocation: "inlineScript"
477-
inlineScript: |
478-
BUILD_NUMBER=$(Build.BuildNumber)
479-
BUILD_NUMBER=${BUILD_NUMBER//./-}
480-
echo Deleting storage container with name acn-$BUILD_NUMBER and account name $(STORAGE_ACCOUNT_NAME)
481-
az storage container delete -n acn-$BUILD_NUMBER --account-name $(STORAGE_ACCOUNT_NAME)
482-
displayName: Cleanup remote Azure storage container

0 commit comments

Comments
 (0)