Commit Graph

185 Commits

Author SHA1 Message Date
Luke Murphy
89d530a553
Use printf instead of echo like docker docs do 2020-11-08 16:40:45 +01:00
Luke Murphy
25fe6808ad
Use one line and strip newlines on generation 2020-11-08 16:34:26 +01:00
Luke Murphy
28b2d8ecc7
Strip whitespace 2020-11-08 16:34:21 +01: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
Luke Murphy
dd570e224b
Ignore those build failures 2020-11-05 16:02:21 +01:00
Luke Murphy
f495ec0d94
Appease shellcheck 2020-11-05 16:00:50 +01:00
decentral1se
b75bce531b Merge pull request 'PASSWORD/KEY distinction+match for secret generation' (#33) from new-pass-keys-generation into main
Reviewed-on: coop-cloud/abra#33
2020-11-05 15:57:39 +01:00
decentral1se
0d62f01d5a Merge branch 'main' into new-pass-keys-generation 2020-11-05 15:57:32 +01:00
Luke Murphy
eec55896a4
Implement password/key handling 2020-11-05 15:56:31 +01:00
Luke Murphy
c2a56c6c09
Drop this broken catch-all
Closes coop-cloud/abra#29.
2020-11-01 21:15:06 +01:00
Luke Murphy
74dfd75fb1
Use same [] style once more 2020-11-01 20:55:47 +01:00
Luke Murphy
e8c0efa91e
Add --auto to app new for generation
Step one of coop-cloud/abra#32.
2020-11-01 20:54:43 +01:00
Luke Murphy
6bae48431c
Use same style as other [] options 2020-11-01 20:41:58 +01:00
3wc
543072ab37 Add zsh completion, remove compat hacks from bash
Ref #5
2020-11-01 21:09:33 +02:00
Luke Murphy
57e3a34133
Make sure to clone on deploy as well 2020-11-01 17:08:44 +01:00
Luke Murphy
33a49a8457
Trim whitespace 2020-11-01 17:05:13 +01:00
Luke Murphy
5806e40c1c
Add require_app_clone 2020-11-01 17:05:10 +01: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
Luke Murphy
b15a214049
WIP: app secret rm 2020-10-30 02:09:59 +01:00
Luke Murphy
8d7194fcce
Add quotes 2020-10-30 00:39:24 +01:00
Luke Murphy
188dc56dd1
Also run via sh 2020-10-30 00:34:37 +01:00
Luke Murphy
dbfe6f8097
Add initial CLI parsing for secret deletion 2020-10-30 00:32:03 +01:00
Luke Murphy
26b994ab84
Add --pass for new apps command
See coop-cloud/abra#25.
2020-10-30 00:04:53 +01: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
Luke Murphy
841e4fc61a
Explode if can't clone the app 2020-10-28 18:24:28 +01:00
Luke Murphy
c1d12eacc5
Fix typo 2020-10-28 18:24:15 +01:00
Luke Murphy
3b730d314b
Use basename when listing servers for abra new 2020-10-28 18:05:53 +01:00
Luke Murphy
5df3a9fffb
Account for 0 or 1 servers 2020-10-28 17:33:48 +01:00
Luke Murphy
3e3fe0e349
Create under servers directory 2020-10-28 17:32:38 +01:00
Luke Murphy
db766f4aec
Don't explode if you already have the context 2020-10-28 17:32:30 +01:00
3wc
8909a46d8c Add --force option to app .. delete 2020-10-28 01:52:27 +02:00