Files
lasuite-docs/abra.sh
T
Linus Gasser 1f6ada41e9 Updating with the latest images
The latest images don't have a bash/sh anymore, so it needs node to
initialise it.
2026-11-20 18:12:38 +01:00

29 lines
744 B
Bash
Executable File

# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
export ABRA_ENTRYPOINT_VERSION=v6
export NGINX_CONF_VERSION=v5
export PG_BACKUP_VERSION=v5
export MINIO_INITIALIZE_VERSION=v2
export MIGRATE_VERSION=v1
environment() {
# this exports all the secrets as environment variables
source /abra-entrypoint.sh -e
}
migrate() {
/migrate.sh
}
minio_initialize() {
/minio-initialize.sh
}
# Hand all pre-v6 documents from the media bucket over to the collaboration
# server (yhub). Resumable and safe to re-run; extra args are passed through,
# e.g. --dry-run, --retry-failed, --concurrency N
migrate_documents() {
source /abra-entrypoint.sh -e
python manage.py migrate_documents "$@"
}