Skip to content

Commit

Permalink
update to minimal yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaed Parkar committed May 2, 2024
1 parent a2df84c commit d15102b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions azure-pipelines.sds.master-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ stages:
steps:
- template: templates/Database/EntityFramework/generate-script.yaml@azTemplates
parameters:
efVersion: ${{ variables.efDotnetToolVersion }}
outputPath: $(Build.StagingDirectory)
contextName: ${{ variables.efContextName }}
workingPath: $(System.DefaultWorkingDirectory)/${{ variables.appName }}/${{ variables.appName }}
Expand Down
6 changes: 5 additions & 1 deletion azure-pipelines.sds.pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resources:
- repository: azTemplates
type: github
name: hmcts/azure-devops-templates
ref: upgrade-dotnet-default
ref: fix-vh-templates-for-dotnet-8
endpoint: hmcts

trigger: none
Expand Down Expand Up @@ -42,6 +42,7 @@ stages:

- template: templates/dotnet/build-test-analyse.yml@azTemplates
parameters:
dotnetVersion: ${{ variables.dotnetVersion }}
nugetConfigPath: nuget.config
appName: ${{ variables.appName }}
dockerComposeTestFile: docker-compose.tests.yml
Expand All @@ -63,6 +64,7 @@ stages:
steps:
- template: templates/Database/EntityFramework/generate-script.yaml@azTemplates
parameters:
efVersion: ${{ variables.efDotnetToolVersion }}
outputPath: $(Build.StagingDirectory)
contextName: ${{ variables.efContextName }}
workingPath: $(System.DefaultWorkingDirectory)/${{ variables.appName }}/${{ variables.appName }}
Expand All @@ -86,6 +88,7 @@ stages:
steps:
- template: templates\dotnet\publish-acceptance-tests.yml@azTemplates
parameters:
netVersion: ${{ variables.dotnetVersion }}
vstsFeedId: "${{ variables.nuget_org_name }}/${{ variables.nuget_feed_name }}"
coreProjectPath: $(projectPath)

Expand Down Expand Up @@ -269,6 +272,7 @@ stages:
steps:
- template: templates/dotnet/run-acceptance-tests.yml@azTemplates
parameters:
netVersion: ${{ variables.dotnetVersion }}
environment: ${{ variables.env }}
azureSubscription: ${{ variables.subscriptionName }}
acceptanceTestSettings:
Expand Down
3 changes: 3 additions & 0 deletions azure-pipelines.sds.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stages:
steps:
- template: templates/Database/EntityFramework/generate-script.yaml@azTemplates
parameters:
efVersion: ${{ variables.efDotnetToolVersion }}
outputPath: $(Build.StagingDirectory)
contextName: ${{ variables.efContextName }}
workingPath: $(System.DefaultWorkingDirectory)/${{ variables.appName }}/${{ variables.appName }}
Expand All @@ -42,6 +43,7 @@ stages:
steps:
- template: templates\dotnet\publish-acceptance-tests.yml@azTemplates
parameters:
netVersion: ${{ variables.dotnetVersion }}
vstsFeedId: "${{ variables.nuget_org_name }}/${{ variables.nuget_feed_name }}"
coreProjectPath: $(projectPath)

Expand Down Expand Up @@ -180,6 +182,7 @@ stages:
steps:
- template: templates/dotnet/run-acceptance-tests.yml@azTemplates
parameters:
netVersion: ${{ variables.dotnetVersion }}
environment: ${{ variables.env }}
azureSubscription: ${{ variables.subscriptionName }}
acceptanceTestSettings:
Expand Down
5 changes: 5 additions & 0 deletions variables/shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,8 @@ variables:
value: "vh-infra-core-${{ parameters.env }}-sql-username"
- name: vhSqlPasswordSecret
value: "vh-infra-core-${{ parameters.env }}-sql-password"

- name: dotnetVersion
value: '8.x'
- name: efDotnetToolVersion
value: '8.0.4'

0 comments on commit d15102b

Please sign in to comment.