The Co-op Cloud command-line interface 🎩🐇 https://coopcloud.tech
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
decentral1se e012de44d7
Skip that repo too
2 weeks ago
bin Skip that repo too 2 weeks ago
completion Add Bash completion for `abra recipe ..` 2 months ago
deploy/install.abra.coopcloud.tech Not required to check actually [ci skip] 3 weeks ago
tests `ensure_stack_deployed` is now somewhat more reliable 4 weeks ago
.drone.yml Install requirements via install script 3 weeks ago
.gitignore Drop the apps.json in the cwd 2 months ago
CHANGELOG.md Add change log [ci skip] 2 weeks ago
Dockerfile Add mirroring script 2 months ago
README.md Install requirements via install script 3 weeks ago
abra More checks in `recipe .. lint` 2 weeks ago
makefile Install requirements via install script 3 weeks ago

README.md

abra

Build Status

https://coopcloud.tech

The Co-op Cloud utility belt 🎩🐇

abra is a command-line tool for managing your own Co-op Cloud. It can provision new servers, create applications, deploy them, run backup and restore operations and a whole lot of other things. It is the go-to tool for day-to-day operations when managing a Co-op Cloud instance.

Change log

🔥 🔥 🔥 Please note, while we are still in public alpha, the abra release versioning scheme is not following semver conventions because we are still in the exploratory phases of building this tool. Please read the changes before upgrading your abra installation as there are most likely breaking changes coming each release. Sorry for any inconvenience caused, we're working hard to make this tool stable. Semver will be respected when we reach public beta. 🔥 🔥 🔥

See CHANGELOG.md.

Documentation

docs.coopcloud.tech

Requirements

  • curl
  • docker
  • bash >= 4

Install

Install the latest stable release:

curl https://install.abra.coopcloud.tech | bash

The source for this script is here.

You can pass options to the script like so (e.g. install the bleeding edge development version):

curl https://install.abra.coopcloud.tech | bash -s -- --dev

Other options available are as follows:

  • --no-prompt: non-interactive installation
  • --no-deps: do not attempt to install requirements

Container

An image is also provided.

docker run thecoopcloud/abra app ls

Update

Run abra upgrade to automatically download and install the latest release version.

To update the development version, run abra upgrade --dev.

Hack

It's written in Bash version 4 or greater!

Install it via curl https://install.abra.coopcloud.tech | bash -s -- --dev, then you can hack on the source in ~/.abra/src.

The command-line interface is generated via docopt. If you add arguments then you need to run make docopt ro regenerate the parser.

Please remember to update the CHANGELOG when you make a change.

Releasing

abra

install.abra.coopcloud.tech

  • Change the x.x.x header in CHANGELOG.md to reflect new version and mark date
  • Update the version in abra
  • Update the version in deploy/install.abra.coopcloud.tech/installer
  • git commit the above changes and then tag it with git tag <your-new-version>
  • git push and git push --tags
  • Deploy a new installer script make release-installer
  • Tell the world (CoTech forum, Matrix public channel, Autonomic mastodon, etc.)