From b47206c2dd90d36b5accbd9762bf8a0c545ae334 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Mon, 18 Mar 2024 17:37:43 -0400 Subject: [PATCH 1/2] Fix workloads build by bringing back some needed variables https://github.com/dotnet/runtime/pull/99179 made some changes and switched the template the workloads build was using. In the process, workloadArtifactsPath and workloadPackagesPath got dropped, which meant the workloads build did not pick up any manifests to process. As a result, the build failed. --- eng/pipelines/mono/templates/workloads-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eng/pipelines/mono/templates/workloads-build.yml b/eng/pipelines/mono/templates/workloads-build.yml index 4824f2f1203f2c..bb8ff94361ccb2 100644 --- a/eng/pipelines/mono/templates/workloads-build.yml +++ b/eng/pipelines/mono/templates/workloads-build.yml @@ -42,6 +42,12 @@ jobs: value: '/p:OfficialBuildId=$(Build.BuildNumber)' - name: SignType value: $[ coalesce(variables.OfficialSignType, 'real') ] + - name: monoRepoRoot + value: '$(Build.SourcesDirectory)/src/mono' + - name: workloadPackagesPath + value: $(Build.SourcesDirectory)/artifacts/workloadPackages + - name: workloadArtifactsPath + value: $(Build.SourcesDirectory)/artifacts/workloads - ${{ parameters.variables }} steps: From a033cda86b822354e3a3c2021dfa721e0877442f Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Mon, 18 Mar 2024 17:55:11 -0400 Subject: [PATCH 2/2] Remove unused variable --- eng/pipelines/mono/templates/workloads-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/eng/pipelines/mono/templates/workloads-build.yml b/eng/pipelines/mono/templates/workloads-build.yml index bb8ff94361ccb2..f046c33fbf1b8e 100644 --- a/eng/pipelines/mono/templates/workloads-build.yml +++ b/eng/pipelines/mono/templates/workloads-build.yml @@ -42,8 +42,6 @@ jobs: value: '/p:OfficialBuildId=$(Build.BuildNumber)' - name: SignType value: $[ coalesce(variables.OfficialSignType, 'real') ] - - name: monoRepoRoot - value: '$(Build.SourcesDirectory)/src/mono' - name: workloadPackagesPath value: $(Build.SourcesDirectory)/artifacts/workloadPackages - name: workloadArtifactsPath