Skip to content

Commit

Permalink
Use the dev ops nuget feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Nov 10, 2021
1 parent 948bc94 commit 60937ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion samples/Basic/Docker/Console/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<packageSources>
<clear />
<add key="packages" value="packages" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
</configuration>
2 changes: 1 addition & 1 deletion samples/Basic/Docker/WebApi/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<packageSources>
<clear />
<add key="packages" value="packages" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
</configuration>
24 changes: 12 additions & 12 deletions scripts/azure-templates-bootstrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ parameters:
condition: succeeded() # whether or not to run this template
shouldPublish: true # whether or not to publish the artifacts
configuration: $(CONFIGURATION) # the build configuration
buildExternals: '5425298' # the build number to download externals from
buildExternals: '' # the build number to download externals from
verbosity: $(VERBOSITY) # the level of verbosity to use when building
docker: '' # the Docker image to build and use
dockerArgs: '' # any additional arguments to pass to docker build
Expand All @@ -31,18 +31,18 @@ parameters:
artifactName: '' # the name of the artifact to merge this run into

jobs:
- ${{ if startsWith(parameters.name, 'native_') }}:
- template: azure-templates-download.yml
parameters:
name: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
vmImage: ${{ parameters.vmImage }}
condition: ${{ parameters.condition }}
postBuildSteps: ${{ parameters.postBuildSteps }}
buildExternals: ${{ parameters.buildExternals }}
artifactName: ${{ parameters.artifactName }}
# - ${{ if startsWith(parameters.name, 'native_') }}:
# - template: azure-templates-download.yml
# parameters:
# name: ${{ parameters.name }}
# displayName: ${{ parameters.displayName }}
# vmImage: ${{ parameters.vmImage }}
# condition: ${{ parameters.condition }}
# postBuildSteps: ${{ parameters.postBuildSteps }}
# buildExternals: ${{ parameters.buildExternals }}
# artifactName: ${{ parameters.artifactName }}

- ${{ if not(startsWith(parameters.name, 'native_')) }}:
# - ${{ if not(startsWith(parameters.name, 'native_')) }}:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
timeoutInMinutes: 120
Expand Down

0 comments on commit 60937ad

Please sign in to comment.