Skip to content

Commit f3597d8

Browse files
fix: resolve daily CI build failures (1ES pool image + npm auth)
Add missing 'image' property to 1ES pool config and configure npm registry auth via .npmrc and npmAuthenticate task for network isolation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ed95e4b commit f3597d8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.azure-pipelines/daily-ci-build.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ extends:
2121
parameters:
2222
pool:
2323
name: Azure-Pipelines-1ESPT-ExDShared
24+
image: ubuntu-latest
2425
os: linux
2526
sdl:
2627
sourceAnalysisPool:
@@ -47,6 +48,11 @@ extends:
4748
inputs:
4849
versionSpec: '20.x'
4950

51+
- task: npmAuthenticate@0
52+
displayName: Authenticate npm
53+
inputs:
54+
workingFile: $(Build.SourcesDirectory)/.npmrc
55+
5056
- script: npm ci
5157
displayName: Install dependencies
5258
workingDirectory: $(Build.SourcesDirectory)

‎.npmrc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/npm/registry/
2+
always-auth=true

0 commit comments

Comments
 (0)