Skip to content

Commit 5a293fe

Browse files
author
Emma Doyle
committed
main: improve messaging
1 parent 410bbe2 commit 5a293fe

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ orbs:
77
orb-tools: circleci/[email protected]
88
circleci-cli: circleci/[email protected]
99
dynamic: bjd2385/dynamic-continuation@dev:alpha
10-
# dynamic: bjd2385/dynamic-continuation@3.6.9
10+
# dynamic: bjd2385/dynamic-continuation@3.7.0
1111
general: bjd2385/[email protected]
1212
slack: circleci/[email protected]
1313

@@ -19,7 +19,6 @@ workflows:
1919

2020
- dynamic/continue:
2121
context: orb-publishing
22-
force-all: true
2322

2423
# On tag
2524

src/scripts/filter.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fi
106106

107107
# Add each module to `modules-filtered` if 1) `force-all` is set to `true`, or 2) there is a diff against main at HEAD, or 3) no workflow runs have occurred on the default branch for this project in the past $SH_REPORTING_WINDOW days.
108108
if [ "$SH_FORCE_ALL" -eq 1 ] || { [ "$SH_REPORTING_WINDOW" != "" ] && [ "$(curl -s -X GET --url "https://circleci.com/api/v2/insights/${SH_PROJECT_TYPE}/${_CIRCLE_ORGANIZATION}/${CIRCLE_PROJECT_REPONAME}/workflows?reporting-window=${SH_REPORTING_WINDOW}" --header "Circle-Token: ${_CIRCLE_TOKEN}" | jq -r "[ .items[].name ] | length")" -eq "0" ]; }; then
109-
info "running all workflows."
109+
info "force-all set: running all workflows."
110110
printf "%s" "$SH_MODULES" | awk NF | while read -r module; do
111111
module_dots="$(sed 's@\/@\.@g' <<< "$module")"
112112
if [ "${#module_dots}" -gt 1 ] && [ "${module_dots::1}" = "." ]; then

src/scripts/reduce.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# shellcheck disable=SC2288,SC2001,SC2148,SC2002,SC2016,SC2046
22

3-
printf "Here\\n"
43

54
# If `modules` is unavailable, stop this job without continuation
65
if [ ! -f "$SH_MODULES_FILTERED" ] || [ ! -s "$SH_MODULES_FILTERED" ]; then
@@ -9,6 +8,7 @@ if [ ! -f "$SH_MODULES_FILTERED" ] || [ ! -s "$SH_MODULES_FILTERED" ]; then
98
exit 0
109
fi
1110

11+
1212
# Convert a list of dirs to a list of config files under .circleci/.
1313
awk "{
1414
if (\$0 ~ /^\\.\$/) {

0 commit comments

Comments
 (0)