3131 default : ' codespace'
3232
3333 azure_location :
34- description : ' Azure Location For Deployment '
34+ description : ' Azure Region (Non-AI Services) '
3535 required : false
3636 default : ' australiaeast'
3737 type : choice
3838 options :
3939 - ' australiaeast'
40- - ' eastus'
40+ - ' centralus'
41+ - ' eastasia'
4142 - ' eastus2'
4243 - ' japaneast'
43- - ' swedencentral'
44+ - ' northeurope'
45+ - ' southeastasia'
4446 - ' uksouth'
45- - ' westus'
46- - ' westus2'
4747 resource_group_name :
4848 description : ' Resource Group Name (Optional)'
4949 required : false
5050 default : ' '
5151 type : string
52+ build_docker_image :
53+ description : ' Build & Use Custom Images (Optional)'
54+ required : false
55+ default : false
56+ type : boolean
5257 waf_enabled :
53- description : ' Enable WAF'
58+ description : ' Deploy WAF'
5459 required : false
5560 default : false
5661 type : boolean
57- EXP :
58- description : ' Enable EXP '
62+ enable_scalability :
63+ description : ' Enable Scalability (WAF only) '
5964 required : false
6065 default : false
6166 type : boolean
62- build_docker_image :
63- description : ' Build And Push Docker Image (Optional) '
67+ EXP :
68+ description : ' Deploy EXP '
6469 required : false
6570 default : false
6671 type : boolean
6772 cleanup_resources :
68- description : ' Cleanup Deployed Resources '
73+ description : ' Auto Delete RG '
6974 required : false
7075 default : false
7176 type : boolean
8792 - ' Smoke-Testing'
8893 - ' None'
8994 AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID :
90- description : ' Log Analytics Workspace ID (Optional)'
95+ description : ' Existing Log Analytics Workspace Resource ID (Optional)'
9196 required : false
9297 default : ' '
9398 type : string
9499 AZURE_EXISTING_AIPROJECT_RESOURCE_ID :
95- description : ' AI Project Resource ID (Optional)'
100+ description : ' Existing AI Project Resource ID (Optional)'
96101 required : false
97102 default : ' '
98103 type : string
99104 existing_webapp_url :
100- description : ' Existing WebApp URL (Skips Deployment )'
105+ description : ' Run Tests Against Existing RG (Provide Web App URL )'
101106 required : false
102107 default : ' '
103108 type : string
@@ -117,6 +122,7 @@ jobs:
117122 azure_location : ${{ steps.validate.outputs.azure_location }}
118123 resource_group_name : ${{ steps.validate.outputs.resource_group_name }}
119124 waf_enabled : ${{ steps.validate.outputs.waf_enabled }}
125+ enable_scalability : ${{ steps.validate.outputs.enable_scalability }}
120126 exp : ${{ steps.validate.outputs.exp }}
121127 build_docker_image : ${{ steps.validate.outputs.build_docker_image }}
122128 cleanup_resources : ${{ steps.validate.outputs.cleanup_resources }}
@@ -135,6 +141,7 @@ jobs:
135141 INPUT_AZURE_LOCATION : ${{ github.event.inputs.azure_location }}
136142 INPUT_RESOURCE_GROUP_NAME : ${{ github.event.inputs.resource_group_name }}
137143 INPUT_WAF_ENABLED : ${{ github.event.inputs.waf_enabled }}
144+ INPUT_ENABLE_SCALABILITY : ${{ github.event.inputs.enable_scalability }}
138145 INPUT_EXP : ${{ github.event.inputs.EXP }}
139146 INPUT_BUILD_DOCKER_IMAGE : ${{ github.event.inputs.build_docker_image }}
140147 INPUT_CLEANUP_RESOURCES : ${{ github.event.inputs.cleanup_resources }}
@@ -197,6 +204,15 @@ jobs:
197204 echo "✅ waf_enabled: '$WAF_ENABLED' is valid"
198205 fi
199206
207+ # Validate enable_scalability (boolean)
208+ ENABLE_SCALABILITY="${INPUT_ENABLE_SCALABILITY:-false}"
209+ if [[ "$ENABLE_SCALABILITY" != "true" && "$ENABLE_SCALABILITY" != "false" ]]; then
210+ echo "❌ ERROR: enable_scalability must be 'true' or 'false', got: '$ENABLE_SCALABILITY'"
211+ VALIDATION_FAILED=true
212+ else
213+ echo "✅ enable_scalability: '$ENABLE_SCALABILITY' is valid"
214+ fi
215+
200216 # Validate EXP (boolean)
201217 EXP_ENABLED="${INPUT_EXP:-false}"
202218 if [[ "$EXP_ENABLED" != "true" && "$EXP_ENABLED" != "false" ]]; then
@@ -297,6 +313,7 @@ jobs:
297313 echo "azure_location=$LOCATION" >> $GITHUB_OUTPUT
298314 echo "resource_group_name=$INPUT_RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
299315 echo "waf_enabled=$WAF_ENABLED" >> $GITHUB_OUTPUT
316+ echo "enable_scalability=$ENABLE_SCALABILITY" >> $GITHUB_OUTPUT
300317 echo "exp=$EXP_ENABLED" >> $GITHUB_OUTPUT
301318 echo "build_docker_image=$BUILD_DOCKER" >> $GITHUB_OUTPUT
302319 echo "cleanup_resources=$CLEANUP_RESOURCES" >> $GITHUB_OUTPUT
@@ -317,6 +334,7 @@ jobs:
317334 azure_location : ${{ needs.validate-inputs.outputs.azure_location || 'australiaeast' }}
318335 resource_group_name : ${{ needs.validate-inputs.outputs.resource_group_name || '' }}
319336 waf_enabled : ${{ needs.validate-inputs.outputs.waf_enabled == 'true' }}
337+ enable_scalability : ${{ needs.validate-inputs.outputs.enable_scalability == 'true' }}
320338 exp : ${{ needs.validate-inputs.outputs.exp == 'true' }}
321339 build_docker_image : ${{ needs.validate-inputs.outputs.build_docker_image == 'true' }}
322340 cleanup_resources : ${{ needs.validate-inputs.outputs.cleanup_resources == 'true' }}
0 commit comments