File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5252 description : Excluded containers in a comma separated list
5353 required : true
5454 type : string
55- build_all_services : # New input for manual "build all"
56- description : Manual build for ALL services defined in compose files
55+ build_all_containers : # New input for manual "build all"
56+ description : Manual build for ALL containers defined in compose files
5757 required : false
5858 type : boolean
5959 default : false
8989 EXCLUDED_CONTAINERS_CSV : ${{ (github.event_name == 'workflow_call' && inputs.excluded_containers_csv_list) || github.event.inputs.excluded_containers_csv_list }}
9090 SOURCE_CODE_PATH : ${{ (github.event_name == 'workflow_call' && inputs.function_app_source_code_path) || github.event.inputs.function_app_source_code_path }}
9191 # Pass manual flag to script; defaults to 'false' if not a workflow_dispatch or if input not set
92- MANUAL_BUILD_ALL : ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_services ) || 'false' }}
92+ BUILD_ALL_CONTAINERS : ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_containers ) || 'false' }}
9393 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9494 run : bash ./templates/scripts/deployments/get-docker-names.sh
9595
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ echo -e "\nChanged source code folder(s):"
4141printf " - %s\n" " ${source_changes[@]} "
4242echo
4343
44- # If MANUAL_BUILD_ALL is true
45- if [[ " ${MANUAL_BUILD_ALL ,,} " == " true" ]]; then
46- echo " MANUAL_BUILD_ALL is true. Change detection based on specific folders will be skipped; all services will be included."
44+ # If BUILD_ALL_CONTAINERS is true
45+ if [[ " ${BUILD_ALL_CONTAINERS ,,} " == " true" ]]; then
46+ echo " BUILD_ALL_CONTAINERS is true. Change detection based on specific folders will be skipped; all services will be included."
4747 source_changes=()
4848fi
4949
@@ -104,8 +104,8 @@ for compose_file in ${COMPOSE_FILES_CSV}; do
104104 echo
105105
106106 # STEP 2 - Now check the source code changes against the map created in STEP 1 to determine which containers to build
107- if [[ " ${MANUAL_BUILD_ALL ,,} " == " true" ]]; then
108- echo " MANUAL_BUILD_ALL : Adding all services from '${compose_file} '."
107+ if [[ " ${BUILD_ALL_CONTAINERS ,,} " == " true" ]]; then
108+ echo " BUILD_ALL_CONTAINERS : Adding all services from '${compose_file} '."
109109 for key in " ${! docker_services_map[@]} " ; do
110110 changed_services+=(" ${docker_services_map[$key]} " )
111111 done
You can’t perform that action at this time.
0 commit comments