3wc
df4e5045be
Add --skip-version-check option to app ... deploy
2021-04-04 14:28:00 +02:00
3wc
4a0889138f
app-version.sh to slurp versions into compose files
...
Ref #131
2021-04-04 14:25:49 +02:00
3wc
f717c53e8b
Gracefully handle README-parsing failures
2021-04-04 10:27:02 +02:00
3wc
0206279894
Use abra's vendored copy of yq instead of system
2021-04-04 10:26:59 +02:00
3wc
36dd6b5eff
Simplify require_foo commands
2021-03-20 23:17:05 +02:00
3wc
35d5df14aa
Fix subcommand selection..
...
..by sorting the list of subcommand function names in descending order
of how many '_' are in them. This means that `abra app <app> version`
will always be matched before `abra version`.
Ref #108
2021-03-20 19:07:02 +02:00
3wc
c00319ab01
Update CHANGELOG
2021-03-16 12:55:47 +02:00
3wc
8b4141670c
Include git digest in dev version output
...
Re: #100
2021-03-16 12:54:42 +02:00
3wc
7511b25e47
Update installation docs, release new installer
...
[ci skip]
2021-03-15 10:35:06 +02:00
3wc
62b447d61f
Update changelog
...
[ci skip]
2021-03-14 14:40:57 +02:00
3wc
88d2a75575
Add --dev to installer, to grab git version
2021-03-14 14:39:11 +02:00
3wc
8cb6617a0f
Automatically truncate suggested app name
...
Ref #83
2021-03-14 03:33:33 +02:00
3wc
1a649c56cb
Docs & comments
2021-03-14 03:33:22 +02:00
3wc
fd655274f8
Bomb out with Bash < 4
...
Ref #96
2021-03-14 03:24:13 +02:00
3wc
e8651976ca
Only load apps once, exciting 2× speed increase
2021-03-13 20:15:54 +02:00
3wc
af52ba1fec
Clean-up 🧹
2021-03-12 13:13:17 +02:00
3wc
499c08c374
Update CHANGELOG
2021-03-12 13:10:50 +02:00
3wc
08281891a1
Add --type filter to abra <app> ls
2021-03-12 13:10:35 +02:00
3wc
00cdce7bd2
Update CHANGELOG
...
[ci skip]
2021-03-02 20:34:35 +02:00
3wc
f163d4b0fa
Add script to auto-generate app catalogue
2021-03-02 20:33:14 +02:00
3wc
e5b2a426f0
Add shared backup helpers
2021-02-24 17:03:28 +02:00
3wc
29b22fe162
Display subcommand help with -h/--help
...
Closes #78
2021-02-11 15:02:37 +02:00
3wc
d2cdb11fcc
Tweak INFO messages, update CHANGELOG
2021-02-08 13:43:39 +02:00
3wc
cef06a82a6
abra-commands.sh → abra.sh
2021-01-30 16:10:40 +02:00
3wc
9a630a0440
Prevent accidental cd when loading app vars
2021-01-30 16:10:40 +02:00
3wc
1c6651b18b
Fix secret generate help
...
[ci skip]
2021-01-30 16:10:13 +02:00
3wc
5f7df4694f
Test failed drone build
2021-01-29 14:02:26 +02:00
3wc
7feeab24ec
Add RocketChat notifications for failed builds
2021-01-29 13:44:55 +02:00
3wc
1a6688cfbf
Merge branch 'debug_logging' into main
2021-01-24 21:51:59 +02:00
3wc
f90e1d154c
Add container IDs to debug log
2021-01-24 19:11:22 +02:00
3wc
6cc265e931
Tweak info/debug output
2021-01-24 19:11:22 +02:00
3wc
854ae23f60
Initial --verbose / --debug
2021-01-24 19:11:22 +02:00
3wc
43e7672725
Prevent accidental cd when loading app vars
2021-01-24 19:11:11 +02:00
3wc
8a08de51e4
Alert on missing secrets, re-add . → _ STACK_NAME
2021-01-09 15:07:39 +02:00
3wc
5d84cef63c
app restore
2021-01-09 13:36:32 +02:00
3wc
eda5198904
Add scaffolding for per-app backup commands
...
See #70
2021-01-09 13:36:32 +02:00
3wc
a4a3dccd66
Add global --skip-check / --skip-update commands
2021-01-09 13:36:32 +02:00
3wc
a2d249e3a1
Fix abra app ls with * server
2021-01-02 00:34:44 +02:00
3wc
d6b4a4744f
Fix abra app ls for app → type
2021-01-01 23:00:20 +02:00
3wc
9a17817cc8
Tiny tweak to abra help advice
2021-01-01 17:57:36 +02:00
3wc
b2e3292453
Add version subcommand to CHANGELOG
2021-01-01 17:55:45 +02:00
3wc
114f99ae2e
Update CHANGELOG
2021-01-01 15:11:04 +02:00
3wc
fff4b10a41
Gettin some help_
...
See #50
2021-01-01 15:09:49 +02:00
3wc
886ae5b7f2
Fix help function names
2021-01-01 01:46:09 +02:00
3wc
5411c85793
Don't require weird app_ls format for abra help
2021-01-01 01:42:17 +02:00
3wc
caa315e361
Add per-subcommand help
2021-01-01 01:13:17 +02:00
3wc
e6b24fe65c
Change -v option to version subcommand
2021-01-01 01:10:03 +02:00
3wc
81782bb5f0
make test → test_local, test_docker, test_dind
...
test_local: run `bats tests/`. Requires `bats`.
test_docker: run docker and install bats in it.
Both of these options require that your local Docker daemon is running
in swarm mode.
test_dind: starts a Docker daemon and runs tests in that. Requires sudo
2020-12-31 22:10:52 +02:00
3wc
8ddb290683
Further update to tests for #47
2020-12-31 14:34:52 +02:00
3wc
29cc392dff
Prompt on app .. config if $EDITOR is un-set
...
Closes #41
2020-12-31 12:52:44 +02:00
3wc
8839bd4595
Fix server bash completion
...
Ref #45
2020-12-31 11:47:14 +02:00
3wc
0179f600f5
Change -v option to version subcommand
2020-12-31 11:47:12 +02:00
3wc
bbaacb7b9f
Update tests for app-name
2020-12-30 21:56:52 +02:00
3wc
6761574d74
Add "app name" concept, and rename APP → TYPE
...
Ref #47
2020-12-30 21:26:17 +02:00
3wc
8384af8b95
First foray into <domain> → <app>
2020-12-30 13:47:41 +02:00
3wc
b9e97688d6
... and update docopt
2020-12-30 13:43:17 +02:00
3wc
1055805c8d
Merge duplicate run commands
...
Closes #57
2020-12-30 13:33:57 +02:00
3wc
01184c313a
Add missing CHANGELOG entries
...
Closes #46
2020-12-30 00:43:52 +02:00
3wc
77ba5652b2
Run "check" during "deploy", + "--skip-check"
2020-12-29 11:15:14 +02:00
3wc
fdf6334ed3
Use temporary ABRA_DIr in tests
2020-12-27 21:53:44 +02:00
3wc
73e5e64b9a
Bump version
2020-12-27 21:45:37 +02:00
3wc
412729aac9
Fix calling logs with no arguments
...
Closes #31
2020-12-27 12:23:16 +02:00
3wc
8022a2cb41
Add cheeky network command
2020-12-27 12:07:10 +02:00
3wc
35182ed260
Get both .. volume .. and custom commands working
2020-12-27 12:07:10 +02:00
3wc
d90c6ef361
Add --no-tty option to app run
2020-12-27 12:07:10 +02:00
3wc
40ca8dfe93
Add --server filter to app list..
...
.. and add `server <host> apps` as an alias.
2020-12-27 12:07:10 +02:00
3wc
7f009f927b
Fix app ls --status
...
Closes #35
2020-12-27 12:06:39 +02:00
3wc
e222f4152b
Pin kcov version
2020-12-24 01:07:01 +02:00
3wc
893150cdd9
Pin shellcheck version
2020-12-24 00:55:57 +02:00
3wc
61126f16e1
Update installer
2020-12-24 00:50:50 +02:00
3wc
63c982c550
Fix custom commands loading
2020-12-17 13:38:30 +02:00
3wc
0d202eedfc
Reënable custom per-stack commands
2020-12-14 12:33:22 +02:00
3wc
cb2d563ea0
Fix status header
2020-11-18 01:06:07 +02:00
3wc
059968a8cf
Fix abra app ls --status
2020-11-18 00:40:26 +02:00
3wc
c57069e0af
Use ABRA_DIR instead of hard-coding .abra
2020-11-18 00:39:41 +02:00
3wc
946a527baa
Add app ... ps command, and some comments
2020-11-16 17:29:35 +02:00
3wc
fd735a1310
Add app <domain> check to sniff out missing vars
...
Re #36
2020-11-06 23:14:26 +02:00
3wc
e307286db7
Add --status option to app ls
...
Closes #35
2020-11-06 22:35:48 +02:00
3wc
543072ab37
Add zsh completion, remove compat hacks from bash
...
Ref #5
2020-11-01 21:09:33 +02:00
3wc
0d24a8e5cc
Tryna fix Drone CI
2020-11-01 16:52:36 +02:00
3wc
e01f06423e
Whoops! (Actual compopt fix
...
Ref #5
2020-11-01 15:22:45 +02:00
3wc
80f06ba0e1
Support >2 COMPOSE_FILEs
2020-10-31 17:51:56 +02:00
3wc
f8306b282d
Split tests into separate files, add secret tests
2020-10-31 17:06:54 +02:00
3wc
2bdfe8baa8
Handle missing compopt
...
Ref #5
2020-10-30 21:40:59 +02:00
3wc
b226396764
Consistent y/n confirmation prompts
2020-10-30 20:57:13 +02:00
3wc
a3cd6d2281
Add git and bash to Drone test env
2020-10-30 18:32:01 +02:00
3wc
50651aeea1
Mollify shellcheck
2020-10-30 18:30:53 +02:00
3wc
57e24eaf0a
Always run tests on local Docker
2020-10-30 18:30:43 +02:00
3wc
50ca4f8029
Tighten up options for secret commands
2020-10-30 18:24:22 +02:00
3wc
0433da3689
Fix subcommand -> function mapper
2020-10-30 18:17:06 +02:00
3wc
3e0b9e9475
Working completion app and server
2020-10-30 17:52:47 +02:00
3wc
c6b841de6c
First stab
2020-10-30 17:52:47 +02:00
3wc
2daffc8694
Use bash select, tweak args
2020-10-30 17:52:46 +02:00
3wc
dba3c391bd
Handle missing tput gracefully
2020-10-29 19:40:19 +02:00
3wc
5a72ed0cfb
Make config more chill, small gardening
2020-10-29 19:39:51 +02:00
3wc
b5d84d5e0d
Test for git, container, and test app new ...
2020-10-29 19:38:42 +02:00
3wc
e3983c2440
Run bats in dind container, add git & bash
2020-10-29 19:38:15 +02:00
3wc
85b8a4f459
Add config command
2020-10-29 19:35:59 +02:00
3wc
6e38dc35e5
Fix run subcommand
2020-10-29 19:35:57 +02:00
3wc
8909a46d8c
Add --force option to app .. delete
2020-10-28 01:52:27 +02:00