From 8b66b80332ddf270f673595de53d200493d15841 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 16 Oct 2024 17:01:56 +0200 Subject: [PATCH] chore: publish 2.1.0+2.2.0-beta release --- README.md | 17 +++++++++++++++++ compose.yml | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6bd8ca..300501d 100644 --- a/README.md +++ b/README.md @@ -196,3 +196,20 @@ services: As in the above example, you can reference Docker Secrets, e.g. for looking up database passwords, by reading the files in `/run/secrets` directly. [abra]: https://git.autonomic.zone/autonomic-cooperative/abra + +## Backupbot Development + +1. Copy modified backupbot.py into the container: + +``` +cp backupbot.py /tmp/backupbot.py; git stash; abra app cp /tmp/backupbot.py app:/usr/bin/backupbot.py; git checkout main; git stash pop +``` + +2. Testing stuff with the python interpreter inside the container: + +``` +abra app run app bash +cd /usr/bin/ +python +from backupbot import * +``` diff --git a/compose.yml b/compose.yml index 18c02cf..a96adfd 100644 --- a/compose.yml +++ b/compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: app: - image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.1.1-beta + image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.2.0-beta volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "/var/lib/docker/volumes/:/var/lib/docker/volumes/" @@ -16,7 +16,7 @@ services: - restic_password deploy: labels: - - coop-cloud.${STACK_NAME}.version=2.0.1+2.1.1-beta + - coop-cloud.${STACK_NAME}.version=2.1.0+2.2.0-beta - coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-300} - coop-cloud.backupbot.enabled=true #entrypoint: ['tail', '-f','/dev/null']