Commit Graph

220 Commits

Author SHA1 Message Date
ece5385a38 Merge branch 'fix-subcommand-select' into main
All checks were successful
continuous-integration/drone/push Build is passing
Fix merge conflict in docopt generation + change log entry.
2021-03-20 21:18:34 +01:00
3wc
35d5df14aa Fix subcommand selection..
Some checks failed
continuous-integration/drone/pr Build is failing
..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
1c437b99eb Fix status checking
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-18 20:10:42 +01:00
f382765f29 Show correct status for missing contexts
Closes https://git.autonomic.zone/coop-cloud/abra/issues/99.
2021-03-18 19:45:30 +01:00
f5951add54 Fix variables in print statement
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-18 19:09:34 +01:00
005323ff3c Add debug for SSH connect on init
Closes https://git.autonomic.zone/coop-cloud/abra/issues/109.
2021-03-18 18:55:04 +01:00
390e918417 Add missing it 2021-03-18 18:54:53 +01:00
87b71cb9d4 Show connection details on abra server ls
Closes https://git.autonomic.zone/coop-cloud/abra/issues/110.
2021-03-18 18:46:33 +01:00
6e61c08b2c Handle undeployed state for version output summary
Closes https://git.autonomic.zone/coop-cloud/abra/issues/104.
2021-03-18 17:20:54 +01:00
54b6acc46c Fix output for stack name 2021-03-18 17:19:43 +01:00
e5e98d536a Add --force for undeploy 2021-03-18 17:18:35 +01:00
8df91de3af Add --force to deploy command
All checks were successful
continuous-integration/drone/push Build is passing
Closes https://git.autonomic.zone/coop-cloud/abra/issues/105.
2021-03-18 14:12:18 +01:00
7557966c98 Add debug logging for STACK_NAME
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-17 14:12:59 +01:00
d68444be9e Mark release
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-16 10:13:15 +01:00
b04bfea1c7 Use local marker and scan services only once
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-16 08:38:11 +01:00
bc0ef0d6fc Fix deployments when versions are missing
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-16 07:32:31 +01:00
58b13d7528 Use app type naming and use yellow
All checks were successful
continuous-integration/drone/push Build is passing
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
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-15 18:56:26 +01:00
e99bedf9e4 WIP version output summary which handles services
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-13 20:15:54 +02:00
3wc
af52ba1fec Clean-up 🧹
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
Closes https://git.autonomic.zone/coop-cloud/abra/issues/91.
2021-03-10 22:23:38 +01:00
040374e781 List volumes/secrets when removing
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-05 12:53:21 +01:00
621c8cd5c4 Fix volume/secret deletion logic
All checks were successful
continuous-integration/drone/push Build is passing
- 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
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-04 16:59:36 +01:00
17306a753b Support volume and secret removal
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-04 16:55:24 +01:00
2e3f4cabd8 Warn if unable to find version
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-04 16:40:35 +01:00
eec49d6dd1 Guard against length errors in app names
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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"
All checks were successful
continuous-integration/drone/push Build is passing
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
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-04 15:38:09 +01:00
25a0afed65 Fix indentation and, document local options only 2021-03-04 15:35:18 +01:00