Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
1afe392
Add Health Data Services Bicep modules
lapellaniz Dec 1, 2022
5843ab3
Update modules/Microsoft.HealthDataServices/fhirservices/.bicep/neste…
lapellaniz Dec 2, 2022
71e2107
- restructure
lapellaniz Dec 2, 2022
5ee2a47
update readmes
lapellaniz Dec 2, 2022
c0b9023
update readme
lapellaniz Dec 2, 2022
cf0c561
remove commented code
lapellaniz Dec 2, 2022
258b4f1
update readme
lapellaniz Dec 2, 2022
0c93f06
update fhir service readme
lapellaniz Dec 2, 2022
435ed7a
cleanup
lapellaniz Dec 2, 2022
b7e08e4
add new ADO pipelines for Health Data Services
lapellaniz Dec 2, 2022
939e7c6
add github workflows
lapellaniz Dec 2, 2022
2db65f9
add description
lapellaniz Dec 6, 2022
2ae861d
rename child resource
lapellaniz Dec 6, 2022
75565f4
add child resources
lapellaniz Dec 6, 2022
9a44a5b
add missing child properties
lapellaniz Dec 6, 2022
0b0122f
update readme
lapellaniz Dec 6, 2022
bcbe910
update readme
lapellaniz Dec 6, 2022
8b2930b
add min test
lapellaniz Dec 6, 2022
9a4ab60
add common test and update readme
lapellaniz Dec 6, 2022
6a59427
update test
lapellaniz Dec 7, 2022
cb71fac
Push updated Readme file(s)
Dec 7, 2022
eb4ec3c
remove unused pipelines
lapellaniz Dec 7, 2022
72cfdb1
Merge branch 'main' of https://github.com/lapellaniz/ResourceModules
lapellaniz Dec 7, 2022
fca3fc1
fix static analysis
lapellaniz Dec 7, 2022
984f775
fix code analysis
lapellaniz Dec 7, 2022
1faf254
update readme
lapellaniz Dec 7, 2022
15f6c34
update params
lapellaniz Dec 7, 2022
e62be11
test module deploy
lapellaniz Dec 7, 2022
8aab746
fix test
lapellaniz Dec 7, 2022
05fb836
test deploy
lapellaniz Dec 7, 2022
ed2504c
fix test
lapellaniz Dec 7, 2022
f795c68
test with different service short
lapellaniz Dec 7, 2022
27203f2
remove lock
lapellaniz Dec 7, 2022
7902101
add version
lapellaniz Dec 7, 2022
5d6d2d6
add version
lapellaniz Dec 7, 2022
04895b6
disable registry
lapellaniz Dec 7, 2022
3fe0c83
test
lapellaniz Dec 7, 2022
ce7e5df
fix test
lapellaniz Dec 7, 2022
68bef96
update readme and test
lapellaniz Dec 7, 2022
72e2aef
update readme
lapellaniz Dec 7, 2022
41df18f
Update .github/workflows/ms.healthcareapis.workspaces.yml
lapellaniz Jan 18, 2023
234eb72
Update modules/Microsoft.HealthcareApis/workspaces/.bicep/nested_role…
lapellaniz Jan 18, 2023
975467b
Update modules/Microsoft.HealthcareApis/workspaces/.bicep/nested_role…
lapellaniz Jan 18, 2023
6d33474
Update modules/Microsoft.HealthcareApis/workspaces/.bicep/nested_role…
lapellaniz Jan 18, 2023
2ae68b2
Update modules/Microsoft.HealthcareApis/workspaces/.bicep/nested_role…
lapellaniz Jan 18, 2023
8d702c0
Update modules/Microsoft.HealthcareApis/workspaces/.test/common/depen…
lapellaniz Jan 18, 2023
0450668
Update modules/Microsoft.HealthcareApis/workspaces/.test/common/depen…
lapellaniz Jan 18, 2023
72588e0
Update modules/Microsoft.HealthcareApis/workspaces/.test/common/depen…
lapellaniz Jan 18, 2023
e3ed9e7
Update modules/Microsoft.HealthcareApis/workspaces/.test/common/deplo…
lapellaniz Jan 18, 2023
2fa053e
Update modules/Microsoft.HealthcareApis/workspaces/.test/min/deploy.t…
lapellaniz Jan 18, 2023
e2c28ac
update resource name
lapellaniz Jan 18, 2023
c1445e0
Push updated Readme file(s)
Jan 18, 2023
49eac76
update name convention
lapellaniz Jan 18, 2023
f3c0906
Update modules/Microsoft.HealthcareApis/workspaces/dicomservices/depl…
lapellaniz Jan 18, 2023
cbca6d0
remove deployment samples
lapellaniz Jan 18, 2023
959216e
Update modules/Microsoft.HealthcareApis/workspaces/fhirservices/.bice…
lapellaniz Jan 18, 2023
cdb54a9
Update modules/Microsoft.HealthcareApis/workspaces/fhirservices/.bice…
lapellaniz Jan 18, 2023
ad1e752
Update modules/Microsoft.HealthcareApis/workspaces/fhirservices/deplo…
lapellaniz Jan 18, 2023
4dee680
Update modules/Microsoft.HealthcareApis/workspaces/fhirservices/.bice…
lapellaniz Jan 18, 2023
f309eda
Merge branch 'main' of https://github.com/lapellaniz/ResourceModules
lapellaniz Jan 18, 2023
f0d9019
remove deployment example
lapellaniz Jan 18, 2023
89abb4f
Update modules/Microsoft.HealthcareApis/workspaces/iotconnectors/depl…
lapellaniz Jan 18, 2023
01c903f
Update modules/Microsoft.HealthcareApis/workspaces/iotconnectors/fhir…
lapellaniz Jan 18, 2023
bf33d0a
Update modules/Microsoft.HealthcareApis/workspaces/iotconnectors/fhir…
lapellaniz Jan 18, 2023
79e9dc0
Update modules/Microsoft.HealthcareApis/workspaces/iotconnectors/fhir…
lapellaniz Jan 18, 2023
95e5846
Update modules/Microsoft.HealthcareApis/workspaces/iotconnectors/fhir…
lapellaniz Jan 18, 2023
ba73116
remove deployment samples
lapellaniz Jan 18, 2023
df965d1
add version
lapellaniz Jan 18, 2023
24fc9f6
fix output
lapellaniz Jan 18, 2023
a19f810
cleanup
lapellaniz Jan 18, 2023
36b97d6
update readme
lapellaniz Jan 18, 2023
5309abf
test
lapellaniz Jan 18, 2023
046adc2
update readme
lapellaniz Jan 18, 2023
b7175e8
update readme
lapellaniz Jan 19, 2023
e3f2f36
remove readme section
lapellaniz Feb 9, 2023
1f7d339
update readme
lapellaniz Feb 9, 2023
da01e61
fix test
lapellaniz Feb 9, 2023
2bf46de
update readme
lapellaniz Feb 9, 2023
a4ad8b5
Merge remote-tracking branch 'upstream/main'
lapellaniz Feb 9, 2023
5645ee1
Push updated Readme file(s)
Feb 9, 2023
c009d4a
set setting to true
lapellaniz Feb 9, 2023
c3fc6be
Merge branch 'main' of https://github.com/lapellaniz/ResourceModules
lapellaniz Feb 9, 2023
0a3d573
update iot connector
lapellaniz Feb 9, 2023
ed045c2
Push updated Readme file(s)
Feb 9, 2023
6c0c83a
update doc
lapellaniz Feb 9, 2023
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
40 changes: 40 additions & 0 deletions .azuredevops/modulePipelines/ms.healthcareapis.workspaces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 'HealthcareApis - Workspaces'

parameters:
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/.azuredevops/modulePipelines/ms.healthcareapis.workspaces.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.HealthcareApis/workspaces/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.HealthcareApis/workspaces'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
144 changes: 144 additions & 0 deletions .github/workflows/ms.healthcareapis.workspaces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
name: 'HealthcareApis: Workspaces'

on:
workflow_dispatch:
inputs:
removeDeployment:
type: boolean
description: 'Remove deployed module'
required: false
default: true
prerelease:
type: boolean
description: 'Publish prerelease module'
required: false
default: false
push:
branches:
- main
paths:
- '.github/actions/templates/**'
- '.github/workflows/ms.healthcareapis.workspaces.yml'
- 'modules/Microsoft.HealthcareApis/workspaces/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
variablesPath: 'settings.yml'
modulePath: 'modules/Microsoft.HealthcareApis/workspaces'
workflowPath: '.github/workflows/ms.healthcareapis.workspaces.yml'
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}'
ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}'
TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}'

jobs:
###########################
# Initialize pipeline #
###########################
job_initialize_pipeline:
runs-on: ubuntu-20.04
name: 'Initialize pipeline'
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Set input parameters to output variables'
id: get-workflow-param
uses: ./.github/actions/templates/getWorkflowInput
with:
workflowPath: '${{ env.workflowPath}}'
- name: 'Get parameter file paths'
id: get-module-test-file-paths
uses: ./.github/actions/templates/getModuleTestFiles
with:
modulePath: '${{ env.modulePath }}'
outputs:
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }}
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }}

#########################
# Static validation #
#########################
job_module_pester_validation:
runs-on: ubuntu-20.04
name: 'Static validation'
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Run tests'
uses: ./.github/actions/templates/validateModulePester
with:
modulePath: '${{ env.modulePath }}'
moduleTestFilePath: '${{ env.moduleTestFilePath }}'

#############################
# Deployment validation #
#############################
job_module_deploy_validation:
runs-on: ubuntu-20.04
name: 'Deployment validation'
needs:
- job_initialize_pipeline
- job_module_pester_validation
strategy:
fail-fast: false
matrix:
moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Using test file [${{ matrix.moduleTestFilePaths }}]'
uses: ./.github/actions/templates/validateModuleDeployment
with:
templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}'
location: '${{ env.location }}'
subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}'
removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}'

##################
# Publishing #
##################
job_publish_module:
name: 'Publishing'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true'
runs-on: ubuntu-20.04
needs:
- job_module_deploy_validation
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Publishing'
uses: ./.github/actions/templates/publishModule
with:
templateFilePath: '${{ env.modulePath }}/deploy.bicep'
templateSpecsRGName: '${{ env.templateSpecsRGName }}'
templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}'
templateSpecsDescription: '${{ env.templateSpecsDescription }}'
templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}'
bicepRegistryName: '${{ env.bicepRegistryName }}'
bicepRegistryRGName: '${{ env.bicepRegistryRGName }}'
bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}'
bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}'
Loading