Skip to content

Commit 9bf44ef

Browse files
authored
{Packaging} Drop Alpine docker image (#29741)
1 parent 08ace38 commit 9bf44ef

3 files changed

Lines changed: 0 additions & 156 deletions

File tree

alpine.dockerfile

Lines changed: 0 additions & 51 deletions
This file was deleted.

azure-pipelines.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -1252,8 +1175,6 @@ jobs:
12521175
- TestMsiInstallation
12531176
- BuildWindowsZIP
12541177
- TestZipInstallation
1255-
- BuildDockerImageAlpine
1256-
- TestDockerImageAlpine
12571178
- BuildDockerImageAzureLinux
12581179
- TestDockerImageAzureLinux
12591180
- BuildPythonWheel

scripts/release/rpm/centos7.dockerfile

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)