Commit Graph

317 Commits

Author SHA1 Message Date
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
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
decentral1se
678906cb39 Merge pull request 'Use set -a/+a and docker env file formats' (#55) from use-set-a into main
Reviewed-on: coop-cloud/abra#55
2020-12-30 11:23:30 +01:00
Luke Murphy
11c50ae98d
Use set -a/+a and docker env file formats
Closes coop-cloud/abra#40.
2020-12-30 11:22:58 +01:00
decentral1se
e911ab246b Merge pull request 'Merge logs/multilogs and avoid multitail external' (#56) from merge-logging into main
Reviewed-on: coop-cloud/abra#56
2020-12-30 11:21:46 +01:00
decentral1se
34775f306b Merge branch 'main' into merge-logging 2020-12-30 11:21:03 +01:00
Luke Murphy
375a4dd29d
Re-add require_app_latest for custom commands
Revision of 67cce192df.

See coop-cloud/abra#54 (comment).
2020-12-30 11:19:55 +01:00
Luke Murphy
2b951e9f54
Mark minor 2020-12-30 11:18:32 +01:00
3wc
01184c313a Add missing CHANGELOG entries
Closes #46
2020-12-30 00:43:52 +02:00
Luke Murphy
3936d6afc0
Merge logs/multilogs and avoid multitail external 2020-12-29 23:22:46 +01:00
Luke Murphy
407744827f
Add change log entry for #42
See coop-cloud/abra#42.
2020-12-29 17:11:30 +01:00
decentral1se
b634b4c668 Merge pull request 'Make sure to git pull latest changes on ~/.abra/apps side' (#54) from latest-checks into main
Reviewed-on: coop-cloud/abra#54
2020-12-29 17:10:16 +01:00