Skip to content

Commit 28fcdc5

Browse files
authored
use internal feeds for python and nuget (#594)
1 parent 81fff9b commit 28fcdc5

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

build/NuGet.config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<config>
4+
<add key="repositoryPath" value="NuGetPackages" />
5+
</config>
6+
<packageSources>
7+
<!-- Limit to one feed per 1ES guidance -->
8+
<clear />
9+
<add key="VS-CoreXtFeeds" value="https://pkgs.dev.azure.com/devdiv/_packaging/VS-CoreXtFeeds/nuget/v3/index.json" protocolVersion="3" />
10+
</packageSources>
11+
</configuration>

build/azure-devdiv-pipeline.pre-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ extends:
7979
checkLatest: true
8080
displayName: Select Node 22 LTS
8181

82+
- task: PipAuthenticate@1
83+
displayName: 'Pip Authenticate'
84+
inputs:
85+
artifactFeeds: 'DevDiv/debugpy'
86+
8287
- task: UsePythonVersion@0
8388
inputs:
8489
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9

build/templates/sign.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ steps:
3939
displayName: Restore signing packages
4040
inputs:
4141
command: restore
42+
feedsToUse: config
4243
restoreSolution: '$(Build.SourcesDirectory)/packages.config'
4344
restoreDirectory: '$(Build.SourcesDirectory)/packages'
45+
nugetConfigPath: '$(Build.SourcesDirectory)/build/NuGet.config'
4446

4547
- powershell: |
4648
New-Item -ItemType Directory -Path "$(Build.StagingDirectory)\drop" -Force | Out-Null; Copy-Item "$(Build.SourcesDirectory)\$(VsixName)" "$(Build.StagingDirectory)\drop\$(VsixName)" -Force; if (!(Test-Path "$(Build.StagingDirectory)\drop\$(VsixName)")) { Write-Error 'VSIX copy failed'; exit 1 }; Get-Item "$(Build.StagingDirectory)\drop\$(VsixName)" | Format-Table Name,Length,LastWriteTime -AutoSize

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"scripts": {
5656
"compile": "webpack",
5757
"compile-tests": "tsc -p . --outDir out",
58-
"format-check": "prettier --check 'src/**/*.ts' 'build/**/*.yml' '.github/**/*.yml'",
59-
"fix-format": "prettier --write 'src/**/*.ts' 'build/**/*.yml' '.github/**/*.yml'",
58+
"format-check": "prettier --check \"src/**/*.ts\" \"build/**/*.yml\" \".github/**/*.yml\"",
59+
"fix-format": "prettier --write \"src/**/*.ts\" \"build/**/*.yml\" \".github/**/*.yml\"",
6060
"lint": "eslint src --ext ts",
6161
"package": "webpack --mode production --devtool hidden-source-map",
6262
"pretest": "npm run compile-tests && npm run compile && npm run lint",

0 commit comments

Comments
 (0)