We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb5993 commit 1b43a40Copy full SHA for 1b43a40
.github/workflows/build-and-deploy-dev.yml
@@ -131,6 +131,7 @@ jobs:
131
fi
132
}
133
134
+ INCLUDE_SCHEDULER=true
135
write_overrides true > overrides.json
136
137
run_migration_task() {
@@ -147,8 +148,9 @@ jobs:
147
148
149
TASK_ARN=""
150
if ! TASK_ARN=$(run_migration_task 2>migration-error.log); then
- if grep -q 'is not a container in the TaskDefinition' migration-error.log; then
151
+ if [ "${INCLUDE_SCHEDULER}" = "true" ] && grep -q 'is not a container in the TaskDefinition' migration-error.log; then
152
echo "Retrying migration without SchedulerContainer override" >&2
153
+ INCLUDE_SCHEDULER=false
154
write_overrides false > overrides.json
155
TASK_ARN=$(run_migration_task 2>migration-error.log)
156
else
0 commit comments