Skip to content

Commit 46d76ae

Browse files
committed
fix: safe exit on missing logs in k8s_test
1 parent 4305e44 commit 46d76ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

k8s/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ __safe_migration_rollout() {
5959
--selector app=$deploy \
6060
--field-selector status.phase!=Running \
6161
--output jsonpath='{.items[?(@.metadata.labels.app=="'$deploy'")].metadata.name}')
62-
kubectl logs $failed_pod_name -c $deploy-migrate
62+
kubectl logs $failed_pod_name -c $deploy-migrate || true
6363
if [ "$ENABLE_ALEMBIC_MIGRATIONS" = "true" ]; then
6464
downgrade_alembic_migrations
6565
fi

0 commit comments

Comments
 (0)