Update installation docs, release new installer

[ci skip]
This commit is contained in:
3wc 2021-03-15 10:34:38 +02:00
parent 62b447d61f
commit 7511b25e47
3 changed files with 31 additions and 2 deletions

View File

@ -11,7 +11,7 @@
- Always choose the default IPv4 address with `abra server <host> init` ([#91](https://git.autonomic.zone/coop-cloud/abra/issues/91))
- Add `--type=<type>` filtering option to `abra <app> ls` ([0828189](https://git.autonomic.zone/coop-cloud/abra/commit/0828189))
- Check for bash 4+ ([#96](https://git.autonomic.zone/coop-cloud/abra/commit/0828189))
- Add `--dev` option to install using `git clone` ([88d2a75](https://git.autonomic.zone/coop-cloud/abra/commit/88d2a75))
- Add `--dev` option to installer using `git clone` ([88d2a75](https://git.autonomic.zone/coop-cloud/abra/commit/88d2a75))
# abra 0.5.0 (2021-03-01)

View File

@ -19,12 +19,41 @@ See [CHANGELOG.md](./CHANGELOG.md).
## Install
Install the latest stable release:
```sh
curl https://install.abra.autonomic.zone | bash
```
or the bleeding-edge development version:
```sh
curl https://install.abra.autonomic.zone | bash -s -- --dev
```
The source for this script is [here](./installer/installer).
## Update
Run `abra upgrade` to automatically download and install the latest release
version.
To update the development version, run
```sh
cd ~/.abra/src
git pull
```
## Hack
It's written in Bash! Just open up the `abra` file and start hacking. Then you can run it in place with `./abra`. The command-line interface is generated via [docopt](http://docopt.org/). If you add arguments then you need to run `make docopt` ro regenerate the parser.
Please remember to update the [CHANGELOG](./CHANGELOG) when you make a change.
To deploy a new version of the installer scripts:
```sh
cd installer
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-installer-script
```

View File

@ -26,7 +26,7 @@ services:
configs:
abra_installer:
name: abra_installer_v1
name: abra_installer_v2
file: installer
abra_conf:
name: abra_conf_v1