Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
3a1f4e7bf6 | |||
a065f5f2a6 | |||
3d47cf97c0 | |||
e052aa2b27 | |||
9660f32b84 | |||
32cef2af68 |
@ -7,7 +7,7 @@ steps:
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y shellcheck
|
||||
- shellcheck abra
|
||||
- shellcheck abra installer
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
@ -1,3 +1,7 @@
|
||||
# abra 0.1.2 (2020-09-22)
|
||||
|
||||
- Add upgrade command ([#10](https://git.autonomic.zone/autonomic-cooperative/abra/issues/10))
|
||||
|
||||
# abra 0.1.1 (2020-09-22)
|
||||
|
||||
- Add installer script ([#9](https://git.autonomic.zone/autonomic-cooperative/abra/issues/9))
|
||||
|
@ -7,7 +7,7 @@ Docker stack magic 🎩🐇
|
||||
## Install
|
||||
|
||||
```sh
|
||||
curl https://install.abra.autonomic.zone | bash
|
||||
curl -fsSL https://install.abra.autonomic.zone | bash
|
||||
```
|
||||
|
||||
Specific releases are available via the project [release page](https://git.autonomic.zone/autonomic-cooperative/abra/releases).
|
||||
@ -24,6 +24,8 @@ cd abra
|
||||
make dev_install
|
||||
```
|
||||
|
||||
See [autonomic-cooperative/installer-scripts](https://git.autonomic.zone/autonomic-cooperative/installer-scripts) for the installer script deployment. To make a release, just add an entry to [CHANGELOG.md](./CHANGELOG.md) and the [installer](./installer) (following [semver](https://semver.org/) please) and then `git tag x.x.x && git push origin main --tags`. If you want the installer scripts to pick that up, you'll need to change the version number in the [Makefile](https://git.autonomic.zone/autonomic-cooperative/installer-scripts/src/branch/main/Makefile) and run `make` in that repository and push the changes.
|
||||
|
||||
## Examples
|
||||
|
||||
- `abra run mariadb mysqldump gitea -p'GdIbMeS09SURRktBnm3jcTufsL5z0MPd' | gzip > ../git.autonomic.zone_mariadb_`date +%F`.sql.gz`
|
||||
|
5
abra
5
abra
@ -62,6 +62,7 @@ sub_help() {
|
||||
echo " run SERVICE CMD run a command in the specified service's container"
|
||||
echo " run_args SERVICE ARGS CMD run, passing extra args to docker exec"
|
||||
echo " secret_generate SECRET VERSION [CMD] generate a secret, store it in pass & as a Docker secret"
|
||||
echo " upgrade upgrade to the latest version"
|
||||
echo " ... (custom commands)"
|
||||
echo ""
|
||||
echo "Make sure \$STACK_NAME is set using direnv or -a"
|
||||
@ -237,6 +238,10 @@ sub_context_use() {
|
||||
docker context use "$1"
|
||||
}
|
||||
|
||||
sub_upgrade() {
|
||||
curl -fsSL https://install.abra.autonomic.zone | bash
|
||||
}
|
||||
|
||||
sub_context() {
|
||||
SUBCOMMAND2=$1
|
||||
shift
|
||||
|
Reference in New Issue
Block a user