File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ __safe_migration_rollout() {
89
89
90
90
upgrade_alembic_migrations () {
91
91
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
93
93
kubectl apply --kustomize apps/${REFINERY_DEPLOYMENT_NAME} /test
94
94
__safe_migration_rollout test-${REFINERY_DEPLOYMENT_NAME}
95
95
echo " Applied test-${REFINERY_DEPLOYMENT_NAME} deployment"
@@ -170,7 +170,10 @@ if [ "$ENABLE_ALEMBIC_MIGRATIONS" = "true" ]; then
170
170
fi
171
171
172
172
echo " ::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
174
177
kubectl delete --kustomize infrastructure/test
175
178
echo " ::endgroup::"
176
179
You can’t perform that action at this time.
0 commit comments