mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-07 16:01:37 +01:00
ci(db-cleanup): Fix connection to STACKIT PostgreSQL databases and add openxchange bucket
This commit is contained in:
committed by
Thorsten Roßner
parent
1fe45075c1
commit
b8d531b26c
@@ -385,7 +385,8 @@ db-cleanup:
|
|||||||
"STACKIT")
|
"STACKIT")
|
||||||
# In case of STACKIT resources the db content should just be dropped
|
# In case of STACKIT resources the db content should just be dropped
|
||||||
echo "[psql] [${ENV_DATABASE}] DROP OWNED BY ${PGUSER} in ${POSTGRES_DATABASE} on ${PGHOST}"
|
echo "[psql] [${ENV_DATABASE}] DROP OWNED BY ${PGUSER} in ${POSTGRES_DATABASE} on ${PGHOST}"
|
||||||
psql -c "DROP OWNED BY ${PGUSER}" || true;
|
PGDATABASE=${POSTGRES_DATABASE} # env var PGDATABASE is interpreted by psql
|
||||||
|
psql -c "DROP OWNED BY ${PGUSER};" || true;
|
||||||
;;
|
;;
|
||||||
"RUN")
|
"RUN")
|
||||||
# Usually, e.g. in "RUN" cluster, databases can simply be dropped and recreated
|
# Usually, e.g. in "RUN" cluster, databases can simply be dropped and recreated
|
||||||
@@ -403,7 +404,7 @@ db-cleanup:
|
|||||||
done;
|
done;
|
||||||
# Cleanup Objectstore
|
# Cleanup Objectstore
|
||||||
- |
|
- |
|
||||||
export BUCKETS="migrations nextcloud openproject nubus notes"
|
export BUCKETS="migrations nextcloud openproject nubus notes openxchange"
|
||||||
export AWS_DEFAULT_REGION=""
|
export AWS_DEFAULT_REGION=""
|
||||||
export AWS_ENDPOINT=""
|
export AWS_ENDPOINT=""
|
||||||
export AWS_ACCESS_KEY_ID=""
|
export AWS_ACCESS_KEY_ID=""
|
||||||
|
|||||||
Reference in New Issue
Block a user