Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions build/template-install-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ steps:
azureSubscription: 'AuthSdkResourceManager'
KeyVaultName: 'msidlabs'
SecretsFilter: 'LabAuth'

- task: NuGetAuthenticate@1
displayName: NuGet Authenticate
inputs:
nuGetServiceConnections: 'IDDP Feed'

- powershell: |
$kvSecretBytes = [System.Convert]::FromBase64String('$(LabAuth)')
Expand Down
2 changes: 2 additions & 0 deletions build/template-pack-nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ steps:
nobuild: '${{parameters.NoBuild}}'
packagesToPack: '${{ parameters.ProjectRootPath }}\${{ parameters.AssemblyName }}.csproj'
IncludeSymbols: true
feedsToUse: 'config'
nugetConfigPath: NuGet.config
verbosityPack: normal
packDirectory:
arguments: '--configuration ${{ parameters.BuildConfiguration }}'
14 changes: 14 additions & 0 deletions build/template-restore-build-MSIdentityWeb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@ steps:
dotnet workload restore $(IdWebSourceDir)tests\DevApps\blazorwasm-b2c\blazorwasm2-b2c.csproj
displayName: 'Install wasm-tools'

- task: NuGetAuthenticate@1
displayName: NuGet Authenticate
inputs:
nuGetServiceConnections: 'IDDP Feed'

- script: dotnet nuget update source NuGet --source https://identitydivision.pkgs.visualstudio.com/_packaging/IDDP/nuget/v3/index.json --configfile "$(Build.SourcesDirectory)\Nuget.config"
displayName: 'Add NuGet Source for MISE'

- task: DotNetCoreCLI@2
displayName: 'Build solution Microsoft.Identity.Web.sln'
inputs:
command: 'custom'
custom: 'build'
projects: '$(IdWebSourceDir)Microsoft.Identity.Web.sln'
feedsToUse: 'config'
nugetConfigPath: NuGet.config
arguments: '-p:configuration=${{ parameters.BuildConfiguration }} -p:RunCodeAnalysis=true -p:MicrosoftIdentityWebVersion=${{ parameters.MicrosoftIdentityWebVersion }} -p:SourceLinkCreate=true'

# This task is needed so that the 1CS Rolsyn analyzers task works.
Expand All @@ -27,6 +37,8 @@ steps:
inputs:
command: custom
custom: msbuild
feedsToUse: 'config'
nugetConfigPath: NuGet.config
project: '$(IdWebSourceDir)Microsoft.Identity.Web.sln'
arguments: '-p:configuration=${{ parameters.BuildConfiguration }} -p:RunCodeAnalysis=false -p:MicrosoftIdentityWebVersion=${{ parameters.MicrosoftIdentityWebVersion }} -p:SourceLinkCreate=true'

Expand All @@ -37,6 +49,8 @@ steps:
condition: and(succeeded(), eq(variables['PipelineType'], 'Legacy'))
inputs:
command: run
feedsToUse: 'config'
nugetConfigPath: NuGet.config
projects: '$(IdWebSourceDir)tests\DevApps\daemon-app\Daemon-app\Daemon-app.csproj'
arguments: '-f net7.0'

Expand Down
Loading