@@ -5,22 +5,19 @@ inputs:
5
5
operator_image_version :
6
6
description : The uid2-operator image version
7
7
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
14
11
bore_url_core :
15
12
description : The bore URL for core service
16
13
required : true
17
14
bore_url_optout :
18
15
description : The bore URL for optout service
19
16
required : true
20
17
outputs :
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 }}
24
21
25
22
runs :
26
23
using : " composite"
@@ -30,32 +27,31 @@ runs:
30
27
shell : bash
31
28
run : |
32
29
az --version
33
-
30
+
34
31
- name : Generate AKS enclave deployment artifacts
35
32
id : enclave_artifacts
36
33
shell : bash
37
34
env :
38
- IMAGE_VERSION : ${{ inputs.operator_image_version }}
39
- OPERATOR_ROOT : ${{ inputs.operator_root }}
40
35
BORE_URL_CORE : ${{ inputs.bore_url_core }}
41
36
BORE_URL_OPTOUT : ${{ inputs.bore_url_optout }}
37
+ IMAGE_VERSION : ${{ inputs.operator_image_version }}
38
+ TARGET_ENVIRONMENT : ${{ inputs.target_environment }}
42
39
run : |
43
40
bash uid2-shared-actions/scripts/aks/prepare_aks_artifacts.sh
44
41
45
42
- name : Prepare AKS enclave ID
46
43
id : enclave_id
47
44
shell : bash
48
45
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 }}
50
47
run : |
51
48
bash uid2-shared-actions/scripts/aks/prepare_aks_enclave_id.sh
52
49
53
50
- name : Prepare AKS enclave metadata
54
51
id : enclave_metadata
55
52
shell : bash
56
53
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 }}
59
55
ENCLAVE_PROTOCOL : azure-cc
60
56
run : |
61
57
bash uid2-shared-actions/scripts/save_enclave_id_to_admin.sh
0 commit comments