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 9946312 commit a7d09edCopy full SHA for a7d09ed
k8s/test.sh
@@ -48,7 +48,7 @@ set -e
48
kubectl set image deployment/${KUBERNETES_DEPLOYMENT_NAME} ${KUBERNETES_DEPLOYMENT_NAME}=${KUBERNETES_POD_EXISTING_IMAGE}
49
echo "::notice::using ${KUBERNETES_POD_EXISTING_IMAGE}"
50
51
-if [ alembic_exitcode -eq 0 ]; then
+if [ alembic_exitcode -eq 0 ] && [ $exitcode -ne 0 ]; then
52
ALEMBIC_HEAD=${ALEMBIC_CURRENT_REVISION:0:12}
53
54
ALEMBIC_UPDATED_REVISION=$(kubectl exec -i deployment/${KUBERNETES_DEPLOYMENT_NAME} -c $KUBERNETES_DEPLOYMENT_NAME -- alembic current)
0 commit comments