chore: publish 7.1.1+v1.149.1 release
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
22
abra.sh
22
abra.sh
@ -80,6 +80,28 @@ prepare_mas_migration () {
|
||||
|
||||
trap - EXIT
|
||||
cleanup_prepare_mas_migration
|
||||
|
||||
echo ""
|
||||
echo "=== Next migration step: stop Synapse (downtime) ==="
|
||||
echo "Run on a host whose Docker CLI targets this Swarm (same machine you use for 'abra app deploy')."
|
||||
if [ -n "${STACK_NAME:-}" ]; then
|
||||
echo " docker service scale ${STACK_NAME}_app=0"
|
||||
else
|
||||
echo "STACK_NAME is not set here; resolve the Synapse service name with 'docker service ls' on that host, then:"
|
||||
echo "docker service scale <STACK_NAME>_app=0"
|
||||
fi
|
||||
}
|
||||
|
||||
# Run syn2mas migrate for real (writes MAS data). Run from your operator machine as MAS image is distroless.
|
||||
# Requires /tmp/homeserver.yaml in the mas container (e.g. from prepare_mas_migration) and
|
||||
# Synapse scaled down before migrate.
|
||||
run_mas_migration () {
|
||||
local syn_cfg=/tmp/homeserver.yaml
|
||||
|
||||
echo "Running mas-cli syn2mas migrate in mas via abra app run..."
|
||||
abra app run -t "$DOMAIN" mas -- mas-cli syn2mas migrate \
|
||||
--config /etc/mas/config.yaml \
|
||||
--synapse-config "$syn_cfg"
|
||||
}
|
||||
|
||||
set_admin () {
|
||||
|
||||
Reference in New Issue
Block a user