Commit Graph
100 Commits
Author SHA1 Message Date
Luke Murphy 4e913c426d Follow same style 2021-01-09 20:07:16 +01:00
Luke Murphy dc83baea12 Remove tab 2021-01-01 22:44:21 +01: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
Luke Murphy aa59c1ad43 Make secret generation more robust
Closes coop-cloud/abra#68.
2021-01-01 18:54:41 +01:00
Luke Murphy f5c8ee1136 Merge auto/generate and use --secrets
Closes coop-cloud/abra#58.
2021-01-01 17:31:21 +01:00
Luke Murphy 13fafb5929 Fix typo and link to commit 2021-01-01 14:18:30 +01: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
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
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
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
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
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
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
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
Luke Murphy f017324431 <app> -> <type>
Closes coop-cloud/abra#48.
2020-12-29 14:56:50 +01:00
Luke Murphy 592f515ec4 Remove abra server use 2020-12-29 14:24:50 +01:00
Luke Murphy 3f9b4477cd Swap args around 2020-12-27 13:11:22 +01:00
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
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
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
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
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
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
Luke Murphy dc3b772b72 Use server naming 2020-10-26 18:40:04 +01:00
Luke Murphy 07d4f8cbdf Remove abra.yml / yq stuff for now 2020-10-26 18:36:28 +01:00
Luke Murphy 37c59a53ef Drop interactive flags 2020-10-26 18:31:03 +01:00
Luke Murphy 87a54594f6 Fix typo, clean up after 2020-10-26 18:25:40 +01:00
Luke Murphy e2e76edaaf Remove old test file 2020-10-26 18:19:41 +01:00
Luke Murphy ab7772e8f7 Shuffle that 2020-10-26 18:16:54 +01:00
Luke Murphy 7304612f5f Use actual plugin 2020-10-26 18:14:41 +01:00
Luke Murphy 5a07f08ab3 Use new syntax 2020-10-26 18:13:23 +01:00
Luke Murphy 1e158cce55 Use cwd for coverage 2020-10-26 18:09:39 +01:00
Luke Murphy 2102193df1 Fix syntax 2020-10-26 18:05:27 +01:00
Luke Murphy 1b4258f1ea Add shellcheck target, drop default 2020-10-26 18:04:14 +01:00
Luke Murphy cc060b8546 Fix error code 2020-10-26 18:02:24 +01:00
Luke Murphy dce46603bf Add codecov target too 2020-10-26 18:01:12 +01:00
Luke Murphy 64d04a29ab Run full kcov 2020-10-26 18:01:00 +01:00
Luke Murphy db7eb30447 Drop curl 2020-10-26 17:50:06 +01:00
Luke Murphy f648b251bf Remove yq target and newline test target 2020-10-26 17:49:21 +01:00
Luke Murphy 86a790bbe4 Make tests run locally isolated 2020-10-26 17:48:19 +01:00
Luke Murphy b423d61fce Remove install targets 2020-10-26 17:48:12 +01:00
Luke Murphy f03c509552 Use shellcheck image 2020-10-26 17:40:02 +01:00
Luke Murphy e6458e5e60 Update parser once more 2020-10-26 17:30:37 +01:00
Luke Murphy 9580199616 Remove extra secrets help 2020-10-26 17:19:32 +01:00
Luke Murphy da33064a5f Add codecov badge 2020-10-26 11:49:06 +01:00
Luke Murphy be2fffd858 Run plain bin 2020-10-26 11:40:41 +01:00
Luke Murphy 38f0c92bc7 Try avoid error exit code 2020-10-26 11:38:32 +01:00
Luke Murphy c1fbb75657 Wait a sec, collect, not just report 2020-10-26 11:37:13 +01:00
Luke Murphy 33fd0eeb8d Point codecov at report folder 2020-10-26 11:36:12 +01:00
Luke Murphy 5955505752 Get reports only 2020-10-26 11:36:04 +01:00
Luke Murphy e022fe2310 Use kcov image 2020-10-26 11:28:19 +01:00
Luke Murphy 02fa9025dc Install kcov directly now 2020-10-26 11:26:28 +01:00
Luke Murphy 2250713c05 Split up codecov steps 2020-10-26 11:25:55 +01:00
Luke Murphy 2b77cfebf9 Disable failing test for now 2020-10-26 11:25:39 +01:00
Luke Murphy aff01e6741 Install kcov holding package 2020-10-26 11:24:05 +01:00
Luke Murphy 0eb5d14ad8 Drop unit tests temporarily 2020-10-26 11:21:58 +01:00
Luke Murphy 6d6208a63c Add code coverage CI 2020-10-26 11:20:17 +01:00
Luke Murphy 1e059ffe7f Add coverage target 2020-10-26 11:20:09 +01:00
Luke Murphy eb12f2392c Ignore coverage folder 2020-10-26 11:19:38 +01:00
Luke Murphy a13e58c6c0 Finally work out subcommands 2020-10-26 10:05:03 +01:00
Luke Murphy 44c41830a7 Finalise docopt parser integration 2020-10-26 09:46:14 +01:00
Luke Murphy ae6c2c26ae A first stab at docopt-sh integration 2020-10-25 21:41:17 +01:00