Commit Graph

556 Commits

Author SHA1 Message Date
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
Luke Murphy
67cce192df
Don't do more cloning that necessary 2020-12-29 17:06:49 +01:00
Luke Murphy
3a9e141b24
Pull latest changes
Closes coop-cloud/abra#42.
2020-12-29 17:06:32 +01:00
Luke Murphy
ebfe7ca4e8
Suppress output of clone and do better logging 2020-12-29 17:05:30 +01:00
Luke Murphy
fff2fbe819
Prepare function name for new functionality 2020-12-29 17:05:00 +01:00
Luke Murphy
f213c3df5f
Follow convention and show type of message 2020-12-29 17:04:17 +01:00
Luke Murphy
9b1be33018
Mark as quote and not as entry 2020-12-29 15:11:15 +01:00
Luke Murphy
6ecf4f287a
Add missing ) 2020-12-29 15:10:57 +01:00
Luke Murphy
e1d6ff8b73
Add docs link 2020-12-29 15:10:05 +01:00
Luke Murphy
07d4815a74
Start 0.5.0 change log 2020-12-29 15:08:42 +01:00
decentral1se
33315f6b43 Merge pull request '<app> -> <type>' (#53) from app-goes-to-type into main
Reviewed-on: coop-cloud/abra#53
2020-12-29 15:03:43 +01:00
Luke Murphy
f017324431
<app> -> <type>
Closes coop-cloud/abra#48.
2020-12-29 14:56:50 +01:00