name: $(Date:yyyyMMdd)$(Rev:.r) trigger: - main - synapse - refs/heads/synapse pr: - main - synapse variables: buildConfiguration: 'Release' buildPlatform: 'x64' major: 0 minor: 6 patch: 2 buildnum: $[counter(format('{0}.{1}.{2}', variables['major'], variables['minor'], variables['patch']), 1)] version: $(major).$(minor).$(patch).$(buildnum) fhirToDatalakeInstanceName: testfhirtodatalake dicomToDatalakeInstanceName: testdicomtodatalake synapseWorkspaceName: testcisynapseworkspace fhirToDatalakeStorageAccountName: testfhirtodoglaw6s6zpluk dicomToDatalakeStorageAccountName: testdicomtozrv3ddtm6vwkw imageName: healthdatatodatalake stages: - stage: Build jobs: - job: BuildFhirToCdm pool: vmImage: 'windows-latest' steps: - template: FhirToCdm/build.yml - job: BuildFhirToDataLake pool: vmImage: 'ubuntu-22.04' steps: - template: FhirToDataLake/azurepipelines/ci.yml - stage: OverallTest condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main')) jobs: - job: PrepareTestEnvironment pool: vmImage: 'ubuntu-22.04' steps: - template: FhirToDataLake/azurepipelines/OverallTest/set-environment.yml - job: RunFhirToSynapseOverallTest dependsOn: PrepareTestEnvironment condition: succeeded() pool: vmImage: 'windows-latest' steps: - template: FhirToDataLake/azurepipelines/OverallTest/fhirtosynapse-e2e-test.yml - job: RunDicomToSynapseOverallTest dependsOn: PrepareTestEnvironment condition: succeeded() pool: vmImage: 'windows-latest' steps: - template: FhirToDataLake/azurepipelines/OverallTest/dicomtosynapse-e2e-test.yml - job: CleanTestEnvironment dependsOn: - RunFhirToSynapseOverallTest - RunDicomToSynapseOverallTest pool: vmImage: 'ubuntu-22.04' steps: - template: FhirToDataLake/azurepipelines/OverallTest/clean-environment.yml - stage: Release condition: succeeded() pool: vmImage: 'windows-latest' jobs: - job: PackNugetPackages steps: - template: FhirToDataLake/azurepipelines/pack-nugets.yml - job: PublishFhirToCdm dependsOn: PackNugetPackages condition: succeeded() steps: - template: FhirToCdm/publish.yml - job: PublishArtifactsToGitHub dependsOn: PublishFhirToCdm condition: succeeded() steps: - template: publish.yml