Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVOPS-355: Use the standard Firely pipeline templates #38

Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
1c541d2
Use Firely build template
marcovisserFurore Feb 26, 2025
519fedc
Add checkout steps for templates in Azure Pipelines configuration
marcovisserFurore Feb 27, 2025
dcbf9bd
Remove checkout steps for templates in Azure Pipelines configuration
marcovisserFurore Feb 27, 2025
bd9f3e0
Add property file parameter to build template in Azure Pipelines
marcovisserFurore Feb 27, 2025
74874ea
Fix typo in property file parameter name in Azure Pipelines configura…
marcovisserFurore Feb 27, 2025
fbd49ab
Add signing configuration for FhirMetrics assembly in Azure Pipelines
marcovisserFurore Feb 27, 2025
36f2fd9
Refactor Azure Pipelines build template parameters and remove unused …
marcovisserFurore Feb 27, 2025
245d43c
Update Azure Pipelines configuration to conditionally set version suf…
marcovisserFurore Feb 27, 2025
f658aee
Fix conditional logic for version suffix in Azure Pipelines configura…
marcovisserFurore Feb 27, 2025
d41c668
Update filesForSigning parameter to '_none_' in Azure Pipelines confi…
marcovisserFurore Feb 27, 2025
c4422dd
Update filesForSigning parameter to specify Fhir.Metrics.dll path in …
marcovisserFurore Feb 27, 2025
3bbe0b4
Add code signing parameters to Azure Pipelines configuration and remo…
marcovisserFurore Feb 27, 2025
832fd36
Fix typo in code signer password variable in Azure Pipelines configur…
marcovisserFurore Feb 27, 2025
69cc54a
Remove restoreDependencies parameter from Azure Pipelines configuration
marcovisserFurore Feb 27, 2025
a2252f5
Refs back to v1 tag
marcovisserFurore Feb 28, 2025
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
38 changes: 17 additions & 21 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resources:
type: github
name: FirelyTeam/azure-pipeline-templates
endpoint: FirelyTeam
ref: refs/tags/v1
ref: refs/heads/feature/DEVOPS-355-Extend-build-template-to-allow-for-signing-DLLs-and-nuget-packages

variables:
- group: CodeSigning
Expand All @@ -27,28 +27,24 @@ trigger:
stages:
- stage: build
jobs:
- ${{ if not(startswith(variables['Build.SourceBranch'], 'refs/tags/v')) }}: # 'normal' build
- template: templates/build.yml # Template reference
parameters:
dotNetCoreVersion: $(DOTNET_CORE_SDK)
- template: build.yml@templates # Template reference
parameters:
dotNetCoreVersion: $(DOTNET_CORE_SDK)
propsFile: 'src\Fhir.Metrics\Fhir.Metrics.csproj'
${{ if not(startswith(variables['Build.SourceBranch'], 'refs/tags/v')) }}: # 'normal' build
useVersionSuffix: true
packageArtifacts: true
restoreDependencies: true
nuGetServiceConnections: GitHubPackageGetFeed
nuGetSources: --source https://nuget.pkg.github.com/FirelyTeam/index.json
pool:
vmImage: $(vmImage)

- ${{ if startswith(variables['Build.SourceBranch'], 'refs/tags/v') }}: # release mode
- template: templates/build.yml # Template reference
parameters:
dotNetCoreVersion: $(DOTNET_CORE_SDK)
${{ else }}: # release mode
useVersionSuffix: false
packageArtifacts: true
restoreDependencies: true
pool:
vmImage: $(vmImage)

packageArtifacts: true
nuGetServiceConnections: GitHubPackageGetFeed
nuGetSources: --source https://nuget.pkg.github.com/FirelyTeam/index.json
signingKeyFileName: 'FhirMetrics.snk'
filesForSigning: '$(Build.SourcesDirectory)\src\Fhir.Metrics\bin\Release\*\Fhir.Metrics.dll'
codeSignerCertificate: $(FirelyCodeSignerCertificate)
codeSignerPassword: $(CodeSigningPassword)
pool:
vmImage: $(vmImage)

- stage: deployToGitHub
dependsOn: build
displayName: Deploy packages To Github
Expand Down
68 changes: 0 additions & 68 deletions build/templates/build.yml

This file was deleted.

25 changes: 0 additions & 25 deletions build/templates/package.yml

This file was deleted.

31 changes: 0 additions & 31 deletions build/templates/sign-dlls-template.yml

This file was deleted.

Binary file removed build/tools/sn.exe
Binary file not shown.