2323 - ' Local'
2424 default : ' codespace'
2525 azure_location :
26- description : ' Azure Location For Deployment '
26+ description : ' Azure Region (Non-AI Services) '
2727 required : false
2828 default : ' australiaeast'
2929 type : choice
3030 options :
3131 - ' australiaeast'
3232 - ' centralus'
3333 - ' eastasia'
34+ - ' eastus'
3435 - ' eastus2'
3536 - ' japaneast'
3637 - ' northeurope'
3738 - ' southeastasia'
3839 - ' uksouth'
40+ - ' westeurope'
3941 resource_group_name :
4042 description : ' Resource Group Name (Optional)'
4143 required : false
4244 default : ' '
4345 type : string
46+
47+ build_docker_image :
48+ description : ' Build & Use Custom Images (Optional)'
49+ required : false
50+ default : false
51+ type : boolean
4452 waf_enabled :
45- description : ' Enable WAF'
53+ description : ' Deploy WAF'
4654 required : false
4755 default : false
4856 type : boolean
4957 EXP :
50- description : ' Enable EXP'
58+ description : ' Deploy EXP'
5159 required : false
5260 default : false
5361 type : boolean
54- build_docker_image :
55- description : ' Build & Push Docker Image (Optional) '
62+ enable_scalability :
63+ description : ' Enable Scalability '
5664 required : false
5765 default : false
5866 type : boolean
5967 cleanup_resources :
60- description : ' Cleanup Deployed Resources '
68+ description : ' Auto Delete RG '
6169 required : false
6270 default : false
6371 type : boolean
7179 - ' Smoke-Testing'
7280 - ' None'
7381 AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID :
74- description : ' Log Analytics Workspace Resource ID (Optional)'
82+ description : ' Existing Log Analytics Workspace Resource ID (Optional)'
7583 required : false
7684 default : ' '
7785 type : string
7886 AZURE_EXISTING_AIPROJECT_RESOURCE_ID :
79- description : ' Foundry Project Resource ID (Optional)'
87+ description : ' Existing AI Project Resource ID (Optional)'
8088 required : false
8189 default : ' '
8290 type : string
8391 existing_webapp_url :
84- description : ' Existing Container WebApp URL (Skips Deployment )'
92+ description : ' Run Tests Against Existing RG (Provide Web App URL )'
8593 required : false
8694 default : ' '
8795 type : string
99107 resource_group_name : ${{ steps.validate.outputs.resource_group_name }}
100108 waf_enabled : ${{ steps.validate.outputs.waf_enabled }}
101109 exp : ${{ steps.validate.outputs.exp }}
110+ enable_scalability : ${{ steps.validate.outputs.enable_scalability }}
102111 build_docker_image : ${{ steps.validate.outputs.build_docker_image }}
103112 cleanup_resources : ${{ steps.validate.outputs.cleanup_resources }}
104113 run_e2e_tests : ${{ steps.validate.outputs.run_e2e_tests }}
@@ -115,6 +124,7 @@ jobs:
115124 INPUT_RESOURCE_GROUP_NAME : ${{ github.event.inputs.resource_group_name }}
116125 INPUT_WAF_ENABLED : ${{ github.event.inputs.waf_enabled }}
117126 INPUT_EXP : ${{ github.event.inputs.EXP }}
127+ INPUT_ENABLE_SCALABILITY : ${{ github.event.inputs.enable_scalability }}
118128 INPUT_BUILD_DOCKER_IMAGE : ${{ github.event.inputs.build_docker_image }}
119129 INPUT_CLEANUP_RESOURCES : ${{ github.event.inputs.cleanup_resources }}
120130 INPUT_RUN_E2E_TESTS : ${{ github.event.inputs.run_e2e_tests }}
@@ -182,6 +192,21 @@ jobs:
182192 echo "✅ EXP: '$EXP_ENABLED' is valid"
183193 fi
184194
195+ # Validate enable_scalability (boolean)
196+ ENABLE_SCALABILITY="${INPUT_ENABLE_SCALABILITY:-false}"
197+ if [[ "$ENABLE_SCALABILITY" != "true" && "$ENABLE_SCALABILITY" != "false" ]]; then
198+ echo "❌ ERROR: enable_scalability must be 'true' or 'false', got: '$ENABLE_SCALABILITY'"
199+ VALIDATION_FAILED=true
200+ else
201+ echo "✅ enable_scalability: '$ENABLE_SCALABILITY' is valid"
202+ fi
203+
204+ # enable_scalability only applies when waf_enabled=true; auto-disable otherwise
205+ if [[ "$WAF_ENABLED" != "true" && "$ENABLE_SCALABILITY" == "true" ]]; then
206+ echo "⚠️ enable_scalability=true is only supported with waf_enabled=true. Forcing enable_scalability=false."
207+ ENABLE_SCALABILITY="false"
208+ fi
209+
185210 # Validate build_docker_image (boolean)
186211 BUILD_DOCKER="${INPUT_BUILD_DOCKER_IMAGE:-false}"
187212 if [[ "$BUILD_DOCKER" != "true" && "$BUILD_DOCKER" != "false" ]]; then
@@ -266,6 +291,7 @@ jobs:
266291 echo "resource_group_name=$INPUT_RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
267292 echo "waf_enabled=$WAF_ENABLED" >> $GITHUB_OUTPUT
268293 echo "exp=$EXP_ENABLED" >> $GITHUB_OUTPUT
294+ echo "enable_scalability=$ENABLE_SCALABILITY" >> $GITHUB_OUTPUT
269295 echo "build_docker_image=$BUILD_DOCKER" >> $GITHUB_OUTPUT
270296 echo "cleanup_resources=$CLEANUP_RESOURCES" >> $GITHUB_OUTPUT
271297 echo "run_e2e_tests=$TEST_OPTION" >> $GITHUB_OUTPUT
@@ -283,6 +309,7 @@ jobs:
283309 resource_group_name : ${{ needs.validate-inputs.outputs.resource_group_name || '' }}
284310 waf_enabled : ${{ needs.validate-inputs.outputs.waf_enabled == 'true' }}
285311 EXP : ${{ needs.validate-inputs.outputs.exp == 'true' }}
312+ enable_scalability : ${{ needs.validate-inputs.outputs.enable_scalability == 'true' }}
286313 build_docker_image : ${{ needs.validate-inputs.outputs.build_docker_image == 'true' }}
287314 cleanup_resources : ${{ needs.validate-inputs.outputs.cleanup_resources == 'true' }}
288315 run_e2e_tests : ${{ needs.validate-inputs.outputs.run_e2e_tests || 'GoldenPath-Testing' }}
0 commit comments