From 78ba91a3f869b7687e59935d8d08628a715172b7 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Fri, 22 Dec 2023 09:17:44 -0800 Subject: [PATCH 1/5] Install node during SourceBuild --- .azure/pipelines/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 71f0befc9d28..187a98ecc200 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -735,6 +735,11 @@ stages: platform: name: 'Managed' container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8' + preStep: + - task: NodeTool@0 + displayName: Install Node 20.x + inputs: + versionSpec: 20.x buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks $(_InternalRuntimeDownloadArgs)' skipPublishValidation: true jobProperties: From e4ddaae953193f43579685e6cc1dd4ca8718283b Mon Sep 17 00:00:00 2001 From: William Godbe Date: Fri, 22 Dec 2023 09:37:26 -0800 Subject: [PATCH 2/5] Update ci.yml --- .azure/pipelines/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 187a98ecc200..524b5a789b24 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -734,12 +734,7 @@ stages: parameters: platform: name: 'Managed' - container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8' - preStep: - - task: NodeTool@0 - displayName: Install Node 20.x - inputs: - versionSpec: 20.x + container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.15-WithNode' buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks $(_InternalRuntimeDownloadArgs)' skipPublishValidation: true jobProperties: From 260e158dc0165b934458d70f8a49fc039110e88e Mon Sep 17 00:00:00 2001 From: jacalvar Date: Fri, 22 Dec 2023 19:15:45 +0100 Subject: [PATCH 3/5] Try npm ci explicitly --- eng/SourceBuild.props | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index d83a2564b43f..55617b585742 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -83,4 +83,13 @@ + + + + + + From b2e87a52ba16224b19526ed3bc658690edc80f73 Mon Sep 17 00:00:00 2001 From: jacalvar Date: Fri, 22 Dec 2023 19:23:17 +0100 Subject: [PATCH 4/5] Add more diagnostics --- eng/SourceBuild.props | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 55617b585742..66e1404196fa 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -86,6 +86,16 @@ + + + + + + From deec16ac3236d316f8bb941bb9ac48a19e3c839c Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Mon, 8 Jan 2024 15:09:56 +0100 Subject: [PATCH 5/5] Update .azure/pipelines/ci.yml --- .azure/pipelines/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 524b5a789b24..f0aa4ebda5e5 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -734,7 +734,7 @@ stages: parameters: platform: name: 'Managed' - container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.15-WithNode' + container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8-20240104210103-4893224' buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks $(_InternalRuntimeDownloadArgs)' skipPublishValidation: true jobProperties: