1919 type : " string"
2020 default : " development"
2121 bulk_upload :
22- description : " Do you want to disable the PDS stub and run a Bulk Upload on this sandbox?"
22+ description : " Do you want to run a Bulk Upload on this sandbox?"
2323 required : true
2424 type : boolean
2525 default : false
26+ disable_pds :
27+ description : " Do you want to disable the PDS stub?"
28+ required : true
29+ type : boolean
30+ default : true
2631 mock_login_enabled :
2732 description : " Do you want to deploy with mock login enabled?"
2833 required : true
2934 type : boolean
3035 default : true
3136
3237permissions :
33- actions : read # Required for anchore/sbom-action
38+ actions : read # Required for anchore/sbom-action
3439 contents : write # Required for anchore/sbom-action
3540 pull-requests : write
3641 id-token : write # This is required for requesting the JWT
@@ -99,6 +104,38 @@ jobs:
99104 secrets :
100105 AWS_ASSUME_ROLE : ${{ secrets.AWS_ASSUME_ROLE }}
101106
107+ disable_fhir_stub :
108+ name : " Disable PDS stub"
109+ if : ${{ inputs.disable_pds || inputs.bulk_upload }}
110+ uses : " ./.github/workflows/base-run-disable-pds-stub.yml"
111+ needs : ["deploy_all_lambdas"]
112+ with :
113+ environment : ${{ inputs.environment }}
114+ sandbox : ${{ inputs.sandbox }}
115+ base_branch : ${{ inputs.build_branch }}
116+ secrets :
117+ AWS_ASSUME_ROLE : ${{ secrets.AWS_ASSUME_ROLE }}
118+
119+ run_lg_e2etest :
120+ uses : ./.github/workflows/base-e2e-backendtest.yml
121+ needs : ["disable_fhir_stub"]
122+ with :
123+ build_branch : ${{ inputs.build_branch }}
124+ environment : development
125+ sandbox : ${{ inputs.sandbox }}
126+ secrets :
127+ AWS_ASSUME_ROLE : ${{ secrets.AWS_ASSUME_ROLE }}
128+
129+ run_pdm_e2etest :
130+ uses : ./.github/workflows/base-e2e-fhir-backendtest.yml
131+ needs : ["disable_fhir_stub"]
132+ with :
133+ build_branch : ${{ inputs.build_branch }}
134+ environment : development
135+ sandbox : ${{ inputs.sandbox }}
136+ secrets :
137+ AWS_ASSUME_ROLE : ${{ secrets.AWS_ASSUME_ROLE }}
138+
102139 deploy_ui :
103140 name : Deploy UI
104141 uses : ./.github/workflows/base-deploy-ui.yml
@@ -113,7 +150,7 @@ jobs:
113150 name : " Run Bulk Upload"
114151 if : ${{ inputs.bulk_upload }}
115152 uses : " ./.github/workflows/base-run-bulk-upload.yml"
116- needs : ["deploy_all_lambdas "]
153+ needs : ["run_lg_e2etest", "run_pdm_e2etest "]
117154 with :
118155 environment : ${{ inputs.environment }}
119156 sandbox : ${{ inputs.sandbox }}
0 commit comments