File tree Expand file tree Collapse file tree
src/cbl-mariner/2.0/android/amd64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,15 @@ parameters:
1313 type : boolean
1414 default : false
1515
16+ - name : sourceBuildPipelineRunId
17+ displayName : >
18+ Source build pipeline run ID. This refers to runs of *this pipeline*.
19+ Override this parameter in combination with disabling the `Build` stage to
20+ test or publish images that were built in a different pipeline run. When
21+ building new images, leave this value alone.
22+ type : string
23+ default : $(Build.BuildId)
24+
1625schedules :
1726- cron : " 0 5 1,15 * *"
1827 displayName : Monthly rebuild of all images
@@ -32,12 +41,18 @@ variables:
3241- template : /eng/pipelines/variables/common.yml@self
3342 parameters :
3443 disableMatrixTrimming : ${{ parameters.disableMatrixTrimming }}
44+ sourceBuildPipelineRunId : ${{ parameters.sourceBuildPipelineRunId }}
3545- name : publishEolAnnotations
3646 value : true
3747
3848extends :
3949 template : /eng/common/templates/1es-official.yml@self
4050 parameters :
51+ serviceConnections :
52+ - name : $(internal-mirror.serviceConnectionName)
53+ - name : $(build.serviceConnectionName)
54+ - name : $(publish.serviceConnectionName)
55+ - name : $(marStatus.serviceConnectionName)
4156 stages :
4257 - template : /eng/pipelines/stages/build-test-publish-repo.yml@self
4358 parameters :
Original file line number Diff line number Diff line change @@ -2,9 +2,16 @@ parameters:
22- name : disableMatrixTrimming
33 type : boolean
44 default : false
5+ # sourceBuildPipelineRunId should be overridden when skipping a build to run
6+ # tests or publish images that were produced in a different pipeline run.
7+ - name : sourceBuildPipelineRunId
8+ type : string
9+ default : " "
510
611variables :
712- template : /eng/common/templates/variables/dotnet/build-test-publish.yml@self
13+ parameters :
14+ sourceBuildPipelineRunId : ${{ parameters.sourceBuildPipelineRunId }}
815- name : officialBranches
916 # comma-delimited list of branch names
1017 value : main
Original file line number Diff line number Diff line change 11ARG ANDROID_SDK_ROOT=/usr/local/android-sdk
22ARG ANDROID_NDK_VERSION=23.2.8568313
33ARG ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/$ANDROID_NDK_VERSION
4- FROM mcr.microsoft.com/openjdk/jdk:17-mariner AS android-sdk-download
4+ FROM mcr.microsoft.com/openjdk/jdk:17-mariner-cm2 AS android-sdk-download
55ARG ANDROID_SDK_ROOT
66ARG ANDROID_NDK_VERSION
77ARG ANDROID_NDK_ROOT
@@ -30,7 +30,7 @@ RUN /usr/local/cmdline-tools/cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_
3030RUN rm -r ${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/python3/lib/python3.9/site-packages/ \
3131 && rm -r ${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-tidy
3232
33- FROM mcr.microsoft.com/openjdk/jdk:17-mariner
33+ FROM mcr.microsoft.com/openjdk/jdk:17-mariner-cm2
3434ARG ANDROID_SDK_ROOT
3535ARG ANDROID_NDK_VERSION
3636ARG ANDROID_NDK_ROOT
You can’t perform that action at this time.
0 commit comments