From f8b5f90b395ecfd2aaddb4a9878d17c0bbea4611 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 19 Oct 2025 15:38:59 +0200 Subject: [PATCH] docs: kadabra is archived See https://git.coopcloud.tech/toolshed/abra/issues/699 --- docs/abra/hack.md | 5 ++--- docs/operators/tutorial.md | 29 ----------------------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/docs/abra/hack.md b/docs/abra/hack.md index 1f978c5..c171f9e 100644 --- a/docs/abra/hack.md +++ b/docs/abra/hack.md @@ -30,8 +30,7 @@ Install [Go >= 1.16](https://golang.org/doc/install) and then: - `make build` to build. If this fails, run `go mod tidy`. - `./abra` to run commands - `make test` will run tests -- `make install-abra` will install abra to `$GOPATH/bin` -- `make install-kadabra` will install kadabra to `$GOPATH/bin` +- `make install` will install abra to `$GOPATH/bin` - `go get `, `go mod tidy` and `go mod vendor` to add a new dependency Our [Drone CI configuration](https://git.coopcloud.tech/toolshed/abra/src/branch/main/.drone.yml) runs a number of checks on each pushed commit. See the [Makefile](https://git.coopcloud.tech/toolshed/abra/src/branch/main/Makefile) for more handy targets. @@ -321,7 +320,7 @@ func main() { Some tools that are making use of the API so far are: -* [`kadabra`](https://git.coopcloud.tech/toolshed/abra/src/branch/main/cmd/kadabra/main.go) +* [`kadabra`](https://git.coopcloud.tech/toolshed/kadabra) ## Cross-compiling diff --git a/docs/operators/tutorial.md b/docs/operators/tutorial.md index 5b071a3..e92db63 100644 --- a/docs/operators/tutorial.md +++ b/docs/operators/tutorial.md @@ -271,35 +271,6 @@ To upgrade an app manually to the newest available version run: abra app upgrade ``` -### Automatic Upgrades - -`kadabra` the auto-updater is still under development, use it with care and don't use it in production environments. To setup the auto-updater copy the `kadabra` binary to the server and configure a cronjob for regular app upgrades. The following script will configure ssmtp for email notifications and setup a cronjob. This cronjob checks daily for new app versions, notifies if any kind of update is available and upgrades all apps to the latest patch/minor version. - - -```bash -apt install ssmtp - -cat > /etc/ssmtp/ssmtp.conf << EOF -mailhub=$MAIL_SERVER:587 -hostname=$MAIL_DOMAIN -AuthUser=$USER -AuthPass=$PASSWORD -FromLineOverride=yes -UseSTARTTLS=yes -EOF - -cat > /etc/cron.d/abra_updater << EOF -MAILTO=admin@example.com -MAILFROM=noreply@example.com - -0 6 * * * root ~/kadabra notify --major -30 4 * * * root ~/kadabra upgrade --all -EOF - -``` - -Add `ENABLE_AUTO_UPDATE=true` to the env config (`abra app config `) to enable the auto-updater for a specific app. - ## Finishing up Hopefully you got something running! Well done! The [operators handbook](/operators/handbook) would probably be the next place to go check out if you're looking for more help. Especially on topics of ongoing maintenance.