Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit c43a480

Browse files
AbhitejJohnjonsequitur
authored andcommitted
Clearing out the publish task template as well to help get the build unblocked.
1 parent 12f18b6 commit c43a480

3 files changed

Lines changed: 40 additions & 37 deletions

File tree

azure-pipelines-official.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,10 @@ extends:
204204
#---------------------------------------------------------------------------------------------------------------------#
205205
# NPM Publish #
206206
#---------------------------------------------------------------------------------------------------------------------#
207-
- template: /eng/templates/npm-publish-tasks.yml@self
207+
- template: /eng/publish/publish-npm.yml@self
208+
parameters:
209+
packageName: microsoft-polyglot-notebooks-*.tgz
210+
registryUrl: pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/npm/registry/
211+
registryUser: dnceng
212+
registryEmail: dnceng@microsoft.com
213+
publishingBranch: main

azure-pipelines.yml

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -215,34 +215,40 @@ stages:
215215
#---------------------------------------------------------------------------------------------------------------------#
216216
# Post Build #
217217
#---------------------------------------------------------------------------------------------------------------------#
218-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
219-
- template: eng/common/templates/post-build/post-build.yml
220-
parameters:
221-
publishingInfraVersion: 3
222-
# signing validation currently has issues with dotnet 7; disabling as per internal guidance
223-
enableSigningValidation: false
224-
# Symbol validation is not entirely reliable as of yet, so should be turned off until https://github.com/dotnet/arcade/issues/2871 is resolved.
225-
enableSymbolValidation: false
226-
# SourceLink improperly looks for generated files. See https://github.com/dotnet/arcade/issues/3069
227-
enableSourceLinkValidation: false
228-
# Enable SDL validation, passing through values from the 'DotNet-FSharp-SDLValidation-Params' group.
229-
SDLValidationParameters:
230-
enable: true
231-
params: >-
232-
-SourceToolsList @("policheck","credscan")
233-
-TsaInstanceURL $(_TsaInstanceURL)
234-
-TsaProjectName $(_TsaProjectName)
235-
-TsaNotificationEmail $(_TsaNotificationEmail)
236-
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
237-
-TsaBugAreaPath $(_TsaBugAreaPath)
238-
-TsaIterationPath $(_TsaIterationPath)
239-
-TsaRepositoryName "Interactive"
240-
-TsaCodebaseName "Interactive-GitHub"
241-
-TsaPublish $True
242-
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/policheck_exclusions.xml")
218+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
219+
- template: eng/common/templates/post-build/post-build.yml
220+
parameters:
221+
publishingInfraVersion: 3
222+
# signing validation currently has issues with dotnet 7; disabling as per internal guidance
223+
enableSigningValidation: false
224+
# Symbol validation is not entirely reliable as of yet, so should be turned off until https://github.com/dotnet/arcade/issues/2871 is resolved.
225+
enableSymbolValidation: false
226+
# SourceLink improperly looks for generated files. See https://github.com/dotnet/arcade/issues/3069
227+
enableSourceLinkValidation: false
228+
# Enable SDL validation, passing through values from the 'DotNet-FSharp-SDLValidation-Params' group.
229+
SDLValidationParameters:
230+
enable: true
231+
params: >-
232+
-SourceToolsList @("policheck","credscan")
233+
-TsaInstanceURL $(_TsaInstanceURL)
234+
-TsaProjectName $(_TsaProjectName)
235+
-TsaNotificationEmail $(_TsaNotificationEmail)
236+
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
237+
-TsaBugAreaPath $(_TsaBugAreaPath)
238+
-TsaIterationPath $(_TsaIterationPath)
239+
-TsaRepositoryName "Interactive"
240+
-TsaCodebaseName "Interactive-GitHub"
241+
-TsaPublish $True
242+
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/policheck_exclusions.xml")
243243
244244
#---------------------------------------------------------------------------------------------------------------------#
245245
# NPM Publish #
246246
#---------------------------------------------------------------------------------------------------------------------#
247-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
248-
- template: /eng/templates/npm-publish-tasks.yml@self
247+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
248+
- template: eng/publish/publish-npm.yml
249+
parameters:
250+
packageName: microsoft-polyglot-notebooks-*.tgz
251+
registryUrl: pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/npm/registry/
252+
registryUser: dnceng
253+
registryEmail: dnceng@microsoft.com
254+
publishingBranch: main

eng/templates/npm-publish-tasks.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)