File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ export AZCOPY_AUTO_LOGIN_TYPE=AZCLI
3
3
export AZ_STORAGE_ACCOUNT=" ${ENV} kernaicluster"
4
4
export AZ_STORAGE_FILE_SHARE=" ${ENV} -cluster-cognition"
5
5
6
+ azcopy copy --recursive " https://$AZ_STORAGE_ACCOUNT .file.core.windows.net/$AZ_STORAGE_FILE_SHARE /minio/" " ."
6
7
azcopy rm --recursive " https://$AZ_STORAGE_ACCOUNT .file.core.windows.net/$AZ_STORAGE_FILE_SHARE /caddy/*"
8
+ azcopy rm --recursive " https://$AZ_STORAGE_ACCOUNT .file.core.windows.net/$AZ_STORAGE_FILE_SHARE /kratos/*"
9
+ azcopy rm --recursive " https://$AZ_STORAGE_ACCOUNT .file.core.windows.net/$AZ_STORAGE_FILE_SHARE /oathkeeper/*"
10
+ azcopy rm --recursive " https://$AZ_STORAGE_ACCOUNT .file.core.windows.net/$AZ_STORAGE_FILE_SHARE /cognition-gateway/*"
7
11
Original file line number Diff line number Diff line change @@ -138,12 +138,17 @@ until kubectl exec -i deployment/test-postgres -- sh -c pg_isready; do
138
138
echo " Waiting for postgres to be ready..."
139
139
sleep 3
140
140
done
141
+ kubectl exec -i deployment/test-postgres -- sh -c " psql -U postgres -c 'DROP DATABASE IF EXISTS refinery;"
141
142
kubectl exec -i deployment/test-postgres -- sh -c " psql -U postgres -c '$( cat infrastructure/test/deployment/assets/init.sql) '"
142
143
echo " ::endgroup::"
143
144
144
145
145
146
if [ " $ENABLE_ALEMBIC_MIGRATIONS " = " true" ]; then
146
147
upgrade_alembic_migrations
148
+ else
149
+ kubectl apply --kustomize apps/${KUBERNETES_DEPLOYMENT_NAME} /test
150
+ __safe_migration_rollout test-${KUBERNETES_DEPLOYMENT_NAME}
151
+ echo " Applied test-${KUBERNETES_DEPLOYMENT_NAME} deployment"
147
152
fi
148
153
149
154
echo " ::group::Set test image: ${AZURE_CONTAINER_REGISTRY} /${KUBERNETES_DEPLOYMENT_NAME} :${TEST_IMAGE_TAG} "
You can’t perform that action at this time.
0 commit comments