Commit Graph

379 Commits

Author SHA1 Message Date
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
Luke Murphy
4e913c426d
Follow same style 2021-01-09 20:07:16 +01:00
3wc
8a08de51e4 Alert on missing secrets, re-add . → _ STACK_NAME 2021-01-09 15:07:39 +02:00
1c7a51bce1 Merge pull request 'App backup & restore' (#72) from backup_restore into main
Reviewed-on: coop-cloud/abra#72
2021-01-09 12:36:50 +01: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
Luke Murphy
dc83baea12
Remove tab 2021-01-01 22:44:21 +01:00
3wc
d6b4a4744f Fix abra app ls for app → type 2021-01-01 23:00:20 +02:00
Luke Murphy
6ba2657dc1
Use short hash convention 2021-01-01 18:59:19 +01:00
Luke Murphy
ac6b805cbf
Follow parens convention 2021-01-01 18:57:39 +01:00
decentral1se
d4e52a9de3 Merge pull request 'Make secret generation more robust' (#73) from simplify-secret-logic into main
Reviewed-on: coop-cloud/abra#73
2021-01-01 18:55:47 +01:00
Luke Murphy
aa59c1ad43
Make secret generation more robust
Closes coop-cloud/abra#68.
2021-01-01 18:54:41 +01:00
decentral1se
36f1d679ae Merge pull request 'Merging auto functionality into generate command' (#64) from app-auto-merge into main
Reviewed-on: coop-cloud/abra#64
2021-01-01 17:32:30 +01:00
Luke Murphy
f5c8ee1136
Merge auto/generate and use --secrets
Closes coop-cloud/abra#58.
2021-01-01 17:31:21 +01: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
Luke Murphy
13fafb5929
Fix typo and link to commit 2021-01-01 14:18:30 +01: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
Luke Murphy
ab1353603d
Use homebrewed image for CI too 2021-01-01 13:49:19 +01:00
Luke Murphy
1600b6277f
Use the One True Way for testing
Closes coop-cloud/abra#71.
2021-01-01 13:48:14 +01:00
b79e35f982 Merge pull request 'Add per-subcommand help using abra help <subcommand>' (#61) from command_help_2 into main
Reviewed-on: coop-cloud/abra#61
2021-01-01 13:13:29 +01:00
703dbe0a0f Merge branch 'main' into command_help_2 2021-01-01 13:09:57 +01:00
Luke Murphy
7abb0191e1
Use upstream CI image
See https://git.autonomic.zone/coop-cloud/docker-dind-bats-kcov.
2021-01-01 12:26:50 +01: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
Luke Murphy
406b9e374e
Only output length if using it
Closes coop-cloud/abra#67.
2020-12-31 18:16:01 +01:00
Luke Murphy
ce0e0e893c
Use plain usage only when erroring out
Closes coop-cloud/abra#65.
2020-12-31 18:12:01 +01:00
Luke Murphy
fac45f276e
Add entry 2020-12-31 18:11:22 +01:00
Luke Murphy
44d3ac3a1c
Support pwqgen/pwgen checking
Closes coop-cloud/abra#66.
2020-12-31 18:10:13 +01:00
Luke Murphy
5da9f26076
Remove old function
Follow on from 3936d6afc0.
2020-12-31 18:06:20 +01:00
Luke Murphy
4e99cf1ded
Add log entry 2020-12-31 16:57:10 +01:00
Luke Murphy
55324524ca
Don't cut since export ... isn't in the env file
Closes coop-cloud/abra#69.
2020-12-31 16:55:33 +01:00
Luke Murphy
b6928959cb
Fix test target path 2020-12-31 13:50:10 +01:00
3wc
8ddb290683 Further update to tests for #47 2020-12-31 14:34:52 +02:00
Luke Murphy
2cb1134a54
Use _ now 2020-12-31 13:26:25 +01:00
Luke Murphy
c4b1ac482e
Update change log 2020-12-31 13:22:26 +01: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
decentral1se
15f0233351 Merge pull request '<domain> → <app>, APP → TYPE' (#60) from domain_to_app into main
Reviewed-on: coop-cloud/abra#60
2020-12-30 22:22:11 +01: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