@@ -5,22 +5,19 @@ inputs:
55 operator_image_version :
66 description : The uid2-operator image version
77 default : latest
8- admin_root :
9- description : The root path for uid2-admin folder
10- default : uid2-admin
11- operator_root :
12- description : The root path for uid2-operator folder
13- default : uid2-operator
8+ target_environment :
9+ description : The target environment [mock, integ, prod]
10+ required : true
1411 bore_url_core :
1512 description : The bore URL for core service
1613 required : true
1714 bore_url_optout :
1815 description : The bore URL for optout service
1916 required : true
2017outputs :
21- output_template_file :
22- description : The output template file
23- value : ${{ steps.enclave_artifacts.outputs.OUTPUT_TEMPLATE_FILE }}
18+ template_file :
19+ description : The template file
20+ value : ${{ steps.enclave_artifacts.outputs.template_file }}
2421
2522runs :
2623 using : " composite"
@@ -30,32 +27,31 @@ runs:
3027 shell : bash
3128 run : |
3229 az --version
33-
30+
3431 - name : Generate AKS enclave deployment artifacts
3532 id : enclave_artifacts
3633 shell : bash
3734 env :
38- IMAGE_VERSION : ${{ inputs.operator_image_version }}
39- OPERATOR_ROOT : ${{ inputs.operator_root }}
4035 BORE_URL_CORE : ${{ inputs.bore_url_core }}
4136 BORE_URL_OPTOUT : ${{ inputs.bore_url_optout }}
37+ IMAGE_VERSION : ${{ inputs.operator_image_version }}
38+ TARGET_ENVIRONMENT : ${{ inputs.target_environment }}
4239 run : |
4340 bash uid2-shared-actions/scripts/aks/prepare_aks_artifacts.sh
4441
4542 - name : Prepare AKS enclave ID
4643 id : enclave_id
4744 shell : bash
4845 env :
49- OUTPUT_POLICY_DIGEST_FILE : ${{ steps.enclave_artifacts.outputs.OUTPUT_POLICY_DIGEST_FILE }}
46+ POLICY_DIGEST_FILE : ${{ steps.enclave_artifacts.outputs.policy_digest_file }}
5047 run : |
5148 bash uid2-shared-actions/scripts/aks/prepare_aks_enclave_id.sh
5249
5350 - name : Prepare AKS enclave metadata
5451 id : enclave_metadata
5552 shell : bash
5653 env :
57- ADMIN_ROOT : ${{ inputs.admin_root }}
58- ENCLAVE_ID : ${{ steps.enclave_id.outputs.ENCLAVE_ID }}
54+ ENCLAVE_ID : ${{ steps.enclave_id.outputs.enclave_id }}
5955 ENCLAVE_PROTOCOL : azure-cc
6056 run : |
6157 bash uid2-shared-actions/scripts/save_enclave_id_to_admin.sh
0 commit comments