Commit Graph

209 Commits

Author SHA1 Message Date
3wc
35d5df14aa Fix subcommand selection..
..by sorting the list of subcommand function names in descending order
of how many '_' are in them. This means that `abra app <app> version`
will always be matched before `abra version`.

Ref #108
2021-03-20 19:07:02 +02:00
7557966c98 Add debug logging for STACK_NAME 2021-03-17 14:12:59 +01:00
d68444be9e Mark release 2021-03-17 12:54:29 +01:00
3wc
8b4141670c Include git digest in dev version output
Re: #100
2021-03-16 12:54:42 +02:00
23c852125d Listen to shellcheck and do things 2021-03-16 10:13:15 +01:00
b04bfea1c7 Use local marker and scan services only once 2021-03-16 08:38:11 +01:00
bc0ef0d6fc Fix deployments when versions are missing 2021-03-16 07:32:31 +01:00
58b13d7528 Use app type naming and use yellow 2021-03-16 06:22:32 +01:00
b0fca49ecb Generalise top level deploy output 2021-03-16 06:19:52 +01:00
79dacf557e Implement edge-case handling for versioning 2021-03-16 06:19:37 +01:00
d6caf03301 Spacing for readability 2021-03-16 05:58:08 +01:00
9b90712d28 Look up image name and show it also 2021-03-16 05:57:01 +01:00
1dd3fe6fcd Use COMPOSE var here 2021-03-16 05:56:52 +01:00
3b59adfe34 Vendor yq program 2021-03-16 05:47:13 +01:00
00c8a988e1 Fix parsing of stack_name/service concatenation 2021-03-16 05:04:05 +01:00
524fb6a44c Use STACK_NAME instead of Gitea 2021-03-15 18:56:26 +01:00
e99bedf9e4 WIP version output summary which handles services
See https://git.autonomic.zone/coop-cloud/organising/issues/47.
2021-03-15 18:30:37 +01:00
bcc15ecdb0 Support dev upgrades on the CLI also 2021-03-15 17:03:01 +01:00
3wc
8cb6617a0f Automatically truncate suggested app name
Ref #83
2021-03-14 03:33:33 +02:00
3wc
1a649c56cb Docs & comments 2021-03-14 03:33:22 +02:00
3wc
fd655274f8 Bomb out with Bash < 4
Ref #96
2021-03-14 03:24:13 +02:00
946d1a068d Drop current version handling logic for deploy
New logic coming soon.

See https://git.autonomic.zone/coop-cloud/organising/issues/47#issuecomment-4231.
2021-03-13 20:23:53 +01:00
3wc
e8651976ca Only load apps once, exciting 2× speed increase 2021-03-13 20:15:54 +02:00
3wc
af52ba1fec Clean-up 🧹 2021-03-12 13:13:17 +02:00
3wc
08281891a1 Add --type filter to abra <app> ls 2021-03-12 13:10:35 +02:00
5bce042922 First steps to enable abra-hetzner
See https://git.autonomic.zone/coop-cloud/abra/issues/88.
2021-03-10 23:28:59 +01:00
3276c9fe47 Always choose the default IPv4 address for init'ing
Closes https://git.autonomic.zone/coop-cloud/abra/issues/91.
2021-03-10 22:23:38 +01:00
040374e781 List volumes/secrets when removing 2021-03-05 12:53:21 +01:00
621c8cd5c4 Fix volume/secret deletion logic
- Fix escaping of quotes
- Dont delete things unless options are passed
2021-03-04 19:21:38 +01:00
7434b67c34 Fix parens and ignore quote warning 2021-03-04 16:59:36 +01:00
17306a753b Support volume and secret removal 2021-03-04 16:55:24 +01:00
2e3f4cabd8 Warn if unable to find version 2021-03-04 16:40:35 +01:00
eec49d6dd1 Guard against length errors in app names
Closes https://git.autonomic.zone/coop-cloud/abra/issues/83.
2021-03-04 16:25:21 +01:00
d6195ad6d7 Undercore - values in the domain too 2021-03-04 16:19:55 +01:00
fd04c5a6e9 Support branch selection for app repo clones
Closes https://git.autonomic.zone/coop-cloud/abra/issues/80.
2021-03-04 16:01:56 +01:00
1c9d7282b2 Revert "Sort commands listing"
This reverts commit 99ab5bf369.

Woops, they cannot be sorted this way. Ignore me.
2021-03-04 15:50:27 +01:00
dd9c485c66 Fix wording and wrap 2021-03-04 15:48:53 +01:00
99ab5bf369 Sort commands listing 2021-03-04 15:38:09 +01:00
25a0afed65 Fix indentation and, document local options only 2021-03-04 15:35:18 +01:00
65ce949e03 Bail out if versions match
Closes https://git.autonomic.zone/coop-cloud/abra/issues/87.
2021-03-04 13:20:58 +01:00
5931cbd791 Only throw away error but keep stdout 2021-03-04 13:20:45 +01:00
0bbff91722 Add service rollback
Closes https://git.autonomic.zone/coop-cloud/abra/issues/76.
2021-03-04 13:10:51 +01:00
7f5e753dfd Re-factor version output logic and fix bug
It was showing empty strings for deployed versions it could not find.
Now, it will not change messages to output if it can not detect the
versions deployed (containers dont have the tag).
2021-03-04 13:10:00 +01:00
d3776f4424 Warn on secret storage after generation
Closes https://git.autonomic.zone/coop-cloud/abra/issues/75.
2021-03-03 17:20:24 +01:00
544c4e86ba Capture output for version checking
Closes https://git.autonomic.zone/coop-cloud/abra/issues/85.
2021-03-03 16:56:47 +01:00
516309b478 Show command to run 2021-03-03 16:54:01 +01:00
dfd7e29a30 Give spacing to blocks 2021-03-03 16:51:25 +01:00
bb30fa28da Fix wording 2021-03-03 16:50:59 +01:00
152dfe9349 Support basic version checking
Closes https://git.autonomic.zone/coop-cloud/abra/issues/82.
2021-03-02 13:06:56 +01:00
98e674b8e8 Add version and digest showing
See https://git.autonomic.zone/coop-cloud/abra/issues/82.
2021-03-02 12:04:25 +01:00