Skip to content

Commit 3301b8b

Browse files
committed
Add debugging to continuous manage queues
1 parent fb198d6 commit 3301b8b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

tracker_automations/continuous_manage_queues/continuous_manage_queues.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,29 @@ if [ -n "${dryrun}" ]; then
104104
fi
105105

106106
# Behaviour A, before the release (normally the 5 weeks between freeze and release).
107+
echo "Current time period is ${behaviorAB} the release, lastweekdate is ${lastweekdate}"
108+
echo "Current behaviour is ${behaviourA3}"
107109

108110
if [ $behaviorAB == "before" ]; then
109111
# A1, add the "integration_held" + standard comment to any new feature or improvement arriving to candidates.
112+
echo "Holding new features and improvements arriving to candidates queue"
110113
run_A1
114+
111115
# A2, move "important" issues from candidates to current
112116
# Note: This has been disabled as of 2023-07-13. See MDLSITE-7296 for more information.
113117
# Note: This has been (partially) enabled again as of 2023-08-29. See MDLSITE-7296 for more information.
118+
echo "Moving important issues from the candidates queue to current queue"
114119
run_A2
120+
115121
# A3, move all issues aways from candidates queue:
116122
if [ $behaviorA3 == "move" ]; then
117123
# A3a, keep the current queue fed with bug issues when it's under a threshold.
124+
echo "Keeping the current queue fed with bugs under threshold"
118125
run_A3a
119126
fi
120127
if [ $behaviorA3 == "hold" ]; then
121128
# A3b, add the "integration_held" + standard comment to any issue arriving to candidates.
129+
echo "Holding all issues arriving to candidates queue"
122130
run_A3b
123131
fi
124132
fi
@@ -127,12 +135,16 @@ fi
127135

128136
if [ $behaviorAB == "after" ]; then
129137
# B1b, add the "integration_held" + standard on-sync comment to any new feature or improvement arriving to candidates.
138+
echo "Holding new features and improvements arriving to candidates queue"
130139
run_B1a
140+
131141
# B1a, keep the current queue fed with bug issues when it's under a threshold.
142+
echo "Keeping the current queue fed with bugs under threshold"
132143
run_B1b
133144
fi
134145

135146
# Task C, move, always, all held issues awaiting for integration away from current integration.
147+
echo "Moving all held issues away from current integration"
136148
run_C
137149

138150
# Remove the resultfile. We don't want to disclose those details.

tracker_automations/continuous_manage_queues/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function run_A3a() {
159159
# Arriving here, we assume we are going to proceed with the move.
160160
moved=$((moved+1))
161161
if [ -n "${dryrun}" ]; then
162-
echo "Dry-run: $BUILD_NUMBER $BUILD_TIMESTAMP ${issue} moved to current: threshold (before ${lastweekdate})"
162+
echo "Dry-run: $BUILD_NUMBER $BUILD_TIMESTAMP ${issue} moved to current: threshold (before ${lastweekdate})"
163163
continue
164164
fi
165165
# For fields available in the default screen, it's ok to use updateIssue or SetField, but in this case

0 commit comments

Comments
 (0)