@@ -324,83 +324,6 @@ jobs:
324324 inputs :
325325 filePath : build_scripts\windows\scripts\test_zip_installation.ps1
326326
327- - job : BuildDockerImageAlpine
328- continueOnError : true
329- displayName : Build Docker Image Alpine
330- strategy :
331- matrix :
332- ${{ each arch in parameters.architectures }} :
333- ${{ arch.name }} :
334- pool : ${{ arch.pool }}
335- artifactName : docker-${{ arch.value }}
336- dockerfile : alpine.dockerfile
337- pool :
338- name : $(pool)
339- steps :
340- - bash : ./scripts/ci/install_docker.sh
341- displayName : Install Docker
342- - task : Bash@3
343- displayName : ' Bash Script'
344- inputs :
345- targetType : ' filePath'
346- filePath : scripts/release/docker/pipeline.sh
347-
348- - task : AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
349- displayName : ' SBOM'
350- inputs :
351- BuildDropPath : $(Build.ArtifactStagingDirectory)
352- DockerImagesToScan : ' clibuild$BUILD_BUILDNUMBER:latest'
353-
354- - task : PublishPipelineArtifact@0
355- displayName : ' Publish Artifact: docker image'
356- inputs :
357- TargetPath : $(Build.ArtifactStagingDirectory)
358- ArtifactName : $(artifactName)
359-
360- - job : TestDockerImageAlpine
361- continueOnError : true
362- displayName : Test Docker Image Alpine
363- dependsOn :
364- - BuildDockerImageAlpine
365- - ExtractMetadata
366- condition : succeeded()
367- strategy :
368- matrix :
369- ${{ each arch in parameters.architectures }} :
370- ${{ arch.name }} :
371- pool : ${{ arch.pool }}
372- artifactName : docker-${{ arch.value }}
373- pool :
374- name : $(pool)
375- steps :
376- - task : DownloadPipelineArtifact@1
377- displayName : ' Download Metadata'
378- inputs :
379- TargetPath : ' $(Build.ArtifactStagingDirectory)/metadata'
380- artifactName : metadata
381-
382- - task : DownloadPipelineArtifact@1
383- displayName : ' Download Docker Image'
384- inputs :
385- TargetPath : ' $(Build.ArtifactStagingDirectory)/docker'
386- artifactName : $(artifactName)
387-
388- - bash : ./scripts/ci/install_docker.sh
389- displayName : Install Docker
390-
391- - bash : |
392- set -exv
393-
394- CLI_VERSION=`cat $SYSTEM_ARTIFACTSDIRECTORY/metadata/version`
395- IMAGE_NAME=clibuild$BUILD_BUILDNUMBER:latest
396- TAR_FILE=$SYSTEM_ARTIFACTSDIRECTORY/docker/docker-azure-cli-$CLI_VERSION.tar
397-
398- echo "== Test docker image =="
399-
400- docker load < $TAR_FILE
401- docker run $IMAGE_NAME /bin/bash -c "time az self-test && time az --version && sleep 5"
402- displayName: 'Bash Script'
403-
404327- job : BuildDockerImageAzureLinux
405328 displayName : Build Docker Image Azure Linux
406329 dependsOn : BuildRpmPackagesAzureLinux
@@ -1242,8 +1165,6 @@ jobs:
12421165 - TestMsiInstallation
12431166 - BuildWindowsZIP
12441167 - TestZipInstallation
1245- - BuildDockerImageAlpine
1246- - TestDockerImageAlpine
12471168 - BuildDockerImageAzureLinux
12481169 - TestDockerImageAzureLinux
12491170 - BuildPythonWheel
0 commit comments