The Co-op Cloud command-line interface 🎩🐇
This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-09-27 23:45:39 +02:00
script.d Fix installer and mark new patch 2020-09-27 08:20:36 +02:00
test Add stuff for fooling around with yq 2020-09-08 09:19:03 +02:00
.drone.yml Fix CI 2020-09-24 09:18:31 +02:00
abra Re-enable running commands as another user 2020-09-27 23:45:39 +02:00
CHANGELOG.md Fix installer and mark new patch 2020-09-27 08:20:36 +02:00
Makefile Re-force the symlink 2020-09-13 09:32:39 +02:00
README.md Fix installer and mark new patch 2020-09-27 08:20:36 +02:00

abra

Build Status

Docker stack magic 🎩🐇

Install

curl -fsSL https://install.abra.autonomic.zone | bash

Specific releases are available via the project release page.

Changes

See CHANGELOG.md.

Hacking

git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/abra.git
cd abra
make dev_install

See autonomic-cooperative/installer-scripts for the installer script deployment. To make a release, just add an entry to CHANGELOG.md and bump the version in abra-installer (following semver please) and then git tag x.x.x && git push origin main --tags. If you want the installer-scripts deployment to pick that up, you'll need to change the version number in the Makefile and run make in that repository and push the changes.

Specify what to deploy where

You can use abra in one of 2 ways:

  1. Clone a compose-stack, create an .envrc in it, and run abra in that directory. Be sure to set ABRA_STACK_DIR=.
  2. "Monorepo mode": keep all your compose-stacks in one directory and all your env files in another, e.g.:
    $ tree
    .
    ├── apps
    │   ├── mediawiki.demo.autonomic.zone.env
    │   ├── wordpress.demo.autonomic.zone.env
    └── stacks
        ├── gitea
        ├── matrix-synapse
        ├── mediawiki
        ├── nextcloud
        ├── swarmpit
        ├── traefik
        └── wordpress
    $ abra -e apps/mediawiki.demo.autonomic.zone.env deploy
    

Examples

  • abra run mariadb mysqldump gitea -p'GdIbMeS09SURRktBnm3jcTufsL5z0MPd' | gzip > ../git.autonomic.zone_mariadb_date +%F.sql.gz