File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ __safe_migration_rollout() {
8989
9090upgrade_alembic_migrations () {
9191 echo " ::group::Upgrade alembic migrations for test"
92- if [ $KUBERNETES_DEPLOYMENT_NAME != " refinery-gateway" ] && [ $KUBERNETES_DEPLOYMENT_NAME != " gates-gateway " ] && [ $KUBERNETES_DEPLOYMENT_NAME != " hosted-inference-api" ]; then
92+ if [ $KUBERNETES_DEPLOYMENT_NAME != " refinery-gateway" ] && [ $KUBERNETES_DEPLOYMENT_NAME != " hosted-inference-api" ]; then
9393 kubectl apply --kustomize apps/${REFINERY_DEPLOYMENT_NAME} /test
9494 __safe_migration_rollout test-${REFINERY_DEPLOYMENT_NAME}
9595 echo " Applied test-${REFINERY_DEPLOYMENT_NAME} deployment"
@@ -170,7 +170,10 @@ if [ "$ENABLE_ALEMBIC_MIGRATIONS" = "true" ]; then
170170fi
171171
172172echo " ::group::Delete Test Infrastructure"
173- kubectl delete --kustomize apps/${KUBERNETES_DEPLOYMENT_NAME} /test
173+ # skip deleting resources deployed by test-refinery-gatway
174+ if [ $KUBERNETES_DEPLOYMENT_NAME != " refinery-config" ] && [ $KUBERNETES_DEPLOYMENT_NAME != " refinery-websocket" ]; then
175+ kubectl delete --kustomize apps/${KUBERNETES_DEPLOYMENT_NAME} /test
176+ fi
174177kubectl delete --kustomize infrastructure/test
175178echo " ::endgroup::"
176179
You can’t perform that action at this time.
0 commit comments