From a3ad2a6745606e1314c6a68b8ffb0496e9719e66 Mon Sep 17 00:00:00 2001 From: dotnet-docker-bot <60522487+dotnet-docker-bot@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:54:39 -0700 Subject: [PATCH] Update common Docker engineering infrastructure with latest --- eng/common/templates/jobs/generate-matrix.yml | 2 ++ eng/common/templates/stages/build-test-publish-repo.yml | 3 +++ eng/common/templates/stages/dotnet/build-test-publish-repo.yml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/eng/common/templates/jobs/generate-matrix.yml b/eng/common/templates/jobs/generate-matrix.yml index 4fc4ae759..f4fb75c0b 100644 --- a/eng/common/templates/jobs/generate-matrix.yml +++ b/eng/common/templates/jobs/generate-matrix.yml @@ -6,6 +6,7 @@ parameters: isTestStage: false internalProjectName: null noCache: false + customInitSteps: [] commonInitStepsForMatrixAndBuild: [] jobs: @@ -15,6 +16,7 @@ jobs: - ${{ parameters.commonInitStepsForMatrixAndBuild }} - template: /eng/common/templates/steps/retain-build.yml@self - template: /eng/common/templates/steps/init-docker-linux.yml@self + - ${{ parameters.customInitSteps }} - template: /eng/common/templates/steps/validate-branch.yml@self parameters: internalProjectName: ${{ parameters.internalProjectName }} diff --git a/eng/common/templates/stages/build-test-publish-repo.yml b/eng/common/templates/stages/build-test-publish-repo.yml index 8ec26e70f..0a5b9ef35 100644 --- a/eng/common/templates/stages/build-test-publish-repo.yml +++ b/eng/common/templates/stages/build-test-publish-repo.yml @@ -4,6 +4,7 @@ parameters: buildMatrixCustomBuildLegGroupArgs: "" testMatrixCustomBuildLegGroupArgs: "" customCopyBaseImagesInitSteps: [] + customGenerateMatrixInitSteps: [] customBuildInitSteps: [] customTestInitSteps: [] customPublishInitSteps: [] @@ -83,6 +84,7 @@ stages: customBuildLegGroupArgs: ${{ parameters.buildMatrixCustomBuildLegGroupArgs }} internalProjectName: ${{ parameters.internalProjectName }} noCache: ${{ parameters.noCache }} + customInitSteps: ${{ parameters.customGenerateMatrixInitSteps }} commonInitStepsForMatrixAndBuild: - template: /eng/common/templates/steps/common-init-for-matrix-and-build.yml@self parameters: @@ -257,6 +259,7 @@ stages: isTestStage: true internalProjectName: ${{ parameters.internalProjectName }} publicProjectName: ${{ parameters.publicProjectName }} + customInitSteps: ${{ parameters.customGenerateMatrixInitSteps }} commonInitStepsForMatrixAndBuild: - template: /eng/common/templates/steps/common-init-for-matrix-and-build.yml@self parameters: diff --git a/eng/common/templates/stages/dotnet/build-test-publish-repo.yml b/eng/common/templates/stages/dotnet/build-test-publish-repo.yml index 471b01fc3..973fb1fd1 100644 --- a/eng/common/templates/stages/dotnet/build-test-publish-repo.yml +++ b/eng/common/templates/stages/dotnet/build-test-publish-repo.yml @@ -8,6 +8,7 @@ parameters: buildMatrixCustomBuildLegGroupArgs: "" testMatrixCustomBuildLegGroupArgs: "" customCopyBaseImagesInitSteps: [] + customGenerateMatrixInitSteps: [] customBuildInitSteps: [] customTestInitSteps: [] customPublishInitSteps: [] @@ -27,6 +28,7 @@ stages: internalProjectName: ${{ parameters.internalProjectName }} publicProjectName: ${{ parameters.publicProjectName }} isInternalServicingValidation: ${{ parameters.isInternalServicingValidation }} + customGenerateMatrixInitSteps: ${{ parameters.customGenerateMatrixInitSteps }} buildMatrixCustomBuildLegGroupArgs: ${{ parameters.buildMatrixCustomBuildLegGroupArgs }} testMatrixCustomBuildLegGroupArgs: ${{ parameters.testMatrixCustomBuildLegGroupArgs }} customCopyBaseImagesInitSteps: ${{ parameters.customCopyBaseImagesInitSteps}}