Revert "Change our Android build and test legs to use the new CBL-Mariner-based image...
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 29 May 2023 05:51:10 +0000 (14:51 +0900)
committerGitHub <noreply@github.com>
Mon, 29 May 2023 05:51:10 +0000 (14:51 +0900)
This reverts commit 559f630beea2d72e9357505a891ea514e731650c.

eng/pipelines/common/platform-matrix.yml
eng/pipelines/common/templates/pipeline-with-resources.yml
eng/pipelines/runtime-android-grpc-client-tests.yml

index 0b3cc1a..4f0d6bf 100644 (file)
@@ -579,26 +579,6 @@ jobs:
         helixQueueGroup: ${{ parameters.helixQueueGroup }}
         ${{ insert }}: ${{ parameters.jobParameters }}
 
-# Android x64 with Docker-in-Docker
-
-- ${{ if containsValue(parameters.platforms, 'android_x64_docker') }}:
-  - template: xplat-setup.yml
-    parameters:
-      jobTemplate: ${{ parameters.jobTemplate }}
-      helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
-      variables: ${{ parameters.variables }}
-      osGroup: android
-      archType: x64
-      targetRid: android-x64
-      platform: android_x64
-      shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
-      container: android_docker
-      jobParameters:
-        runtimeFlavor: mono
-        buildConfig: ${{ parameters.buildConfig }}
-        helixQueueGroup: ${{ parameters.helixQueueGroup }}
-        ${{ insert }}: ${{ parameters.jobParameters }}
-
 # Android x86
 
 - ${{ if containsValue(parameters.platforms, 'android_x86') }}:
index e135269..9d3815e 100644 (file)
@@ -33,14 +33,10 @@ resources:
       image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm64-alpine
       env:
         ROOTFS_DIR: /crossrootfs/arm64
-
     # This container contains all required toolsets to build for Android and for Linux with bionic libc.
-    - container: linux_bionic
-      image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-android
 
-    # This container contains all required toolsets to build for Android as well as tooling to build docker images.
-    - container: android_docker
-      image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-android-docker
+    - container: linux_bionic
+      image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-android
 
     - container: linux_x64
       image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-amd64
index 00e51f7..2c52bbf 100644 (file)
@@ -36,7 +36,7 @@ extends:
           buildConfig: Release
           runtimeFlavor: mono
           platforms:
-          - android_x64_docker
+          - android_x64
           jobParameters:
             testGroup: innerloop
             nameSuffix: AllSubsets_Mono_gRPC