Skip to content

Commit 4779d7c

Browse files
move pipelines to microsoft-sdl org (#524)
1 parent f9d982e commit 4779d7c

5 files changed

Lines changed: 20 additions & 26 deletions

File tree

Pipelines/core-pipeline.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resources:
66
repositories:
77
- repository: templates
88
type: git
9-
name: Data/OSS-Tools-Pipeline-Templates
9+
name: General/OSS-Tools-Pipeline-Templates
1010
ref: refs/tags/v2.0.4
1111
- repository: 1esPipelines
1212
type: git
@@ -42,7 +42,7 @@ extends:
4242
# projectPath: 'src/**/*[T|t]ests.csproj'
4343
# includeNuGetOrg: false
4444
# nugetFeedsToUse: 'config'
45-
# nugetConfigPath: 'nuget.release.config'
45+
# nugetConfigPath: 'nuget.config'
4646
# onInit:
4747
# - task: NuGetAuthenticate@1
4848

@@ -60,7 +60,7 @@ extends:
6060
artifactName: 'linux-mac-archive'
6161
includeNuGetOrg: false
6262
nugetFeedsToUse: 'config'
63-
nugetConfigPath: 'nuget.release.config'
63+
nugetConfigPath: 'nuget.config'
6464
onInit:
6565
- task: NuGetAuthenticate@1
6666
preBuild:
@@ -74,7 +74,7 @@ extends:
7474
artifactName: 'win-netcore-archive'
7575
includeNuGetOrg: false
7676
nugetFeedsToUse: 'config'
77-
nugetConfigPath: 'nuget.release.config'
77+
nugetConfigPath: 'nuget.config'
7878
onInit:
7979
- task: NuGetAuthenticate@1
8080
preBuild:
@@ -89,7 +89,7 @@ extends:
8989
artifactName: 'nuget-find-squats-lib-archive'
9090
includeNuGetOrg: false
9191
nugetFeedsToUse: 'config'
92-
nugetConfigPath: 'nuget.release.config'
92+
nugetConfigPath: 'nuget.config'
9393
onInit:
9494
- task: NuGetAuthenticate@1
9595
preBuild:
@@ -104,7 +104,7 @@ extends:
104104
artifactName: 'nuget-shared-lib-archive'
105105
includeNuGetOrg: false
106106
nugetFeedsToUse: 'config'
107-
nugetConfigPath: 'nuget.release.config'
107+
nugetConfigPath: 'nuget.config'
108108
onInit:
109109
- task: NuGetAuthenticate@1
110110
preBuild:
@@ -119,7 +119,7 @@ extends:
119119
artifactName: 'nuget-shared-cli-archive'
120120
includeNuGetOrg: false
121121
nugetFeedsToUse: 'config'
122-
nugetConfigPath: 'nuget.release.config'
122+
nugetConfigPath: 'nuget.config'
123123
onInit:
124124
- task: NuGetAuthenticate@1
125125
preBuild:
@@ -134,7 +134,7 @@ extends:
134134
artifactName: 'nuget-cli-archive'
135135
includeNuGetOrg: false
136136
nugetFeedsToUse: 'config'
137-
nugetConfigPath: 'nuget.release.config'
137+
nugetConfigPath: 'nuget.config'
138138
onInit:
139139
- task: NuGetAuthenticate@1
140140
preBuild:
@@ -159,10 +159,11 @@ extends:
159159
nuGetFeedType: external
160160
publishPackageMetadata: true
161161
publishFeedCredentials: 'sdl-oss-nuget-publish'
162-
steps:
162+
steps:
163163
- task: UseDotNet@2
164164
inputs:
165165
packageType: 'sdk'
166+
- task: NuGetAuthenticate@1
166167
- script: 'dotnet tool update -g nbgv'
167168
displayName: 'Install GitVersioning'
168169
- task: PowerShell@2

Pipelines/ossgadget-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extends:
4242
command: restore
4343
restoreSolution: '**/*.sln'
4444
feedsToUse: config
45-
nugetConfigPath: '$(Build.SourcesDirectory)/nuget.config.azure'
45+
nugetConfigPath: '$(Build.SourcesDirectory)/nuget.config'
4646
includeNuGetOrg: false
4747

4848
- task: DotNetCoreCLI@2
@@ -55,7 +55,7 @@ extends:
5555
arguments: >
5656
--configuration $(buildConfiguration)
5757
--no-restore
58-
--configfile nuget.config.azure
58+
--configfile nuget.config
5959
6060
# - task: DotNetCoreCLI@2
6161
# displayName: Test
@@ -66,6 +66,6 @@ extends:
6666
# includeNuGetOrg: false
6767
# arguments: >
6868
# --configuration $(buildConfiguration)
69-
# -p:RestoreConfigFile=nuget.config.azure
69+
# -p:RestoreConfigFile=nuget.config
7070
# --no-restore
7171
# --no-build

nuget.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="PublicRegistriesFeed" value="https://pkgs.dev.azure.com/microsoft-sdl/General/_packaging/PublicRegistriesFeed/nuget/v3/index.json" />
6+
</packageSources>
7+
</configuration>

nuget.config.azure

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

nuget.release.config

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

0 commit comments

Comments
 (0)