diff --git a/CHANGELOG.md b/CHANGELOG.md index 1575835c..bd0000ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ - Always choose the default IPv4 address with `abra server init` ([#91](https://git.autonomic.zone/coop-cloud/abra/issues/91)) - Add `--type=` filtering option to `abra 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) diff --git a/README.md b/README.md index 8ac2fae1..6466ecf4 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/installer/compose.yml b/installer/compose.yml index 9a224f1a..6944f1f1 100644 --- a/installer/compose.yml +++ b/installer/compose.yml @@ -26,7 +26,7 @@ services: configs: abra_installer: - name: abra_installer_v1 + name: abra_installer_v2 file: installer abra_conf: name: abra_conf_v1