From e38ad9a0afee6f3057df65a5bb0b597ffe199a0a Mon Sep 17 00:00:00 2001 From: jiasli <4003950+jiasli@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:45:15 +0800 Subject: [PATCH] disable-mariner-test --- azure-pipelines.yml | 92 ++++++++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9e588a1a7cd..9b372a3975a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -683,52 +683,52 @@ jobs: TargetPath: $(Build.ArtifactStagingDirectory) ArtifactName: $(artifact) -- job: TestRpmPackageMariner - displayName: Test Rpm Package Mariner - timeoutInMinutes: 120 - dependsOn: - - BuildRpmPackageMariner - - ExtractMetadata - condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual', 'Schedule')) - pool: - name: $(pool) - strategy: - matrix: - 2.0 AMD64: - image: mcr.microsoft.com/cbl-mariner/base/core:2.0 - artifact: rpm-mariner2.0-amd64 - pool: ${{ variables.ubuntu_pool }} - 2.0 ARM64: - image: mcr.microsoft.com/cbl-mariner/base/core:2.0 - artifact: rpm-mariner2.0-arm64 - pool: ${{ variables.ubuntu_arm64_pool }} - steps: - - task: DownloadPipelineArtifact@1 - displayName: 'Download Metadata' - inputs: - TargetPath: '$(Build.ArtifactStagingDirectory)/metadata' - artifactName: metadata - - - task: DownloadPipelineArtifact@1 - displayName: 'Download Build Artifacts' - inputs: - TargetPath: '$(Build.ArtifactStagingDirectory)/rpm' - artifactName: $(artifact) - - - bash: ./scripts/ci/install_docker.sh - displayName: Install Docker - - - bash: | - set -ex - - CLI_VERSION=`cat $SYSTEM_ARTIFACTSDIRECTORY/metadata/version` - RPM_NAME=$(find $SYSTEM_ARTIFACTSDIRECTORY/rpm/ -type f -name "azure-cli-$CLI_VERSION-1.cm2.*.rpm" -printf '%f\n') - - echo "== Test rpm package on ${IMAGE} ==" - docker pull $IMAGE - docker run --rm -e RPM_NAME=$RPM_NAME -v $SYSTEM_ARTIFACTSDIRECTORY/rpm:/mnt/rpm -v $(pwd):/azure-cli $IMAGE /bin/bash "/azure-cli/scripts/release/rpm/test_mariner_in_docker.sh" - - displayName: 'Test Rpm Package Mariner' +#- job: TestRpmPackageMariner +# displayName: Test Rpm Package Mariner +# timeoutInMinutes: 120 +# dependsOn: +# - BuildRpmPackageMariner +# - ExtractMetadata +# condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual', 'Schedule')) +# pool: +# name: $(pool) +# strategy: +# matrix: +# 2.0 AMD64: +# image: mcr.microsoft.com/cbl-mariner/base/core:2.0 +# artifact: rpm-mariner2.0-amd64 +# pool: ${{ variables.ubuntu_pool }} +# 2.0 ARM64: +# image: mcr.microsoft.com/cbl-mariner/base/core:2.0 +# artifact: rpm-mariner2.0-arm64 +# pool: ${{ variables.ubuntu_arm64_pool }} +# steps: +# - task: DownloadPipelineArtifact@1 +# displayName: 'Download Metadata' +# inputs: +# TargetPath: '$(Build.ArtifactStagingDirectory)/metadata' +# artifactName: metadata +# +# - task: DownloadPipelineArtifact@1 +# displayName: 'Download Build Artifacts' +# inputs: +# TargetPath: '$(Build.ArtifactStagingDirectory)/rpm' +# artifactName: $(artifact) +# +# - bash: ./scripts/ci/install_docker.sh +# displayName: Install Docker +# +# - bash: | +# set -ex +# +# CLI_VERSION=`cat $SYSTEM_ARTIFACTSDIRECTORY/metadata/version` +# RPM_NAME=$(find $SYSTEM_ARTIFACTSDIRECTORY/rpm/ -type f -name "azure-cli-$CLI_VERSION-1.cm2.*.rpm" -printf '%f\n') +# +# echo "== Test rpm package on ${IMAGE} ==" +# docker pull $IMAGE +# docker run --rm -e RPM_NAME=$RPM_NAME -v $SYSTEM_ARTIFACTSDIRECTORY/rpm:/mnt/rpm -v $(pwd):/azure-cli $IMAGE /bin/bash "/azure-cli/scripts/release/rpm/test_mariner_in_docker.sh" +# +# displayName: 'Test Rpm Package Mariner' # TODO: rpmbuild on Red Hat UBI 8 is slow for unknown reason. Still working with Red Hat to investigate. - job: BuildRpmPackages