Commit Graph

42 Commits

Author SHA1 Message Date
7d80f4d56b fix
Some checks failed
continuous-integration/drone/pr Build is failing
2024-03-11 16:07:15 +01:00
114bdc5ce9 Merge remote-tracking branch 'upstream/main' into upgrade-cli 2024-03-11 15:40:57 +01:00
428426b6b7 ugrade urfave/cli to v2 2024-02-23 14:29:22 +01:00
0a3624c15b feat: add version input to abra app new (!400)
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#519

Reviewed-on: coop-cloud/abra#400
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-01-19 15:08:41 +00:00
99e3ed416f fix: secret name generation when secretId is not part of the secret name
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-04 21:52:09 +00:00
3957b7c965 proper env modifiers support
All checks were successful
continuous-integration/drone/push Build is passing
This implements proper modifier support in the env file using this new fork of the godotenv library. The modifier implementation is quite basic for but can be improved later if needed. See this commit for the actual implementation.

Because we are now using proper modifer parsing, it does not affect the parsing of value, so this is possible again:
```
MY_VAR="#foo"
```
Closes coop-cloud/organising#535
2023-12-01 11:03:52 +00:00
c249c6ae9c fix: fix: trim comments that are not modifers
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
d02f659bf8 fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
0be532692d test: moar integration tests [ci skip]
Some checks failed
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
64cfdae6b7 fix: only load client if creating secrets 2023-09-05 09:58:13 +00:00
23f5745cb8 fix: skip recipe clone / up to date sync for some commands
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Continues work of 3dc5662821.
2023-08-01 21:19:20 +02:00
3dc5662821 fix: improved offline support
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
3b8893502a docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
0e688f1407 refactor!: migrate to urfave/cli v1
All checks were successful
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
ae6adace50 refactor: autocomplete package
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 00:17:39 +01:00
7d8e2d9dd1 WIP: make "abra app new" callable by code
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#212.
2021-11-03 09:10:13 +01:00
ab02c5f0dd feat: support better domain defaults
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#221.
2021-11-02 14:44:16 +01:00
9f9248b987 feat: select prompt for recipes on app new 2021-10-22 08:21:46 +02:00
c1390f232e fix: show "local" instead of "default" 2021-10-17 23:50:12 +02:00
6f43778691 fix: better UI/UX for app creation
Some checks failed
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#145.
2021-09-22 08:59:00 +02:00
9783563fa6 fix: drop version checking while churning 2021-09-22 08:47:49 +02:00
fdd46a4d98 chore: run formatter
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-17 07:38:38 +02:00
3wc
754fe81e01 feat: add templating during .. app new
Some checks failed
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#168
2021-09-16 15:09:35 +02:00
f87aad4688 fix: list all servers
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#166.
2021-09-16 09:26:12 +02:00
66aeeee768 fix: completion doesn't fail silently now
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#161.
2021-09-16 08:45:38 +02:00
9fcdc45851 feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
3c3d8dc0e7 WIP: add first run at app rollback command
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#146.
2021-09-10 11:49:29 +02:00
855e9ea26d fix: dont output secrets table if nothing there
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#162.
2021-09-10 10:36:46 +02:00
50d663ff6e fix: use correct var for storing server var
See coop-cloud/organising#162.
2021-09-10 10:36:39 +02:00
39ad6e8aa8 fix: use recipeName instead of recipe.Name
This provides a correctly formatted recipe name for machine reading
(i.e. with `-` and such) instead of the more human readable version
(i.e. with spaces).

Closes coop-cloud/organising#162.
2021-09-10 09:56:58 +02:00
4c216fdf40 feat: auto-complete app and recipe names
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-07 16:57:39 +02:00
b477bf8ece fix: get app new working again 2021-09-07 08:12:37 +02:00
8aaedee39e fix: use new RecipeMeta struct
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 12:24:23 +02:00
b7742d5e18 refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
c99f0fc908 refactor: recipe validation
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 01:55:10 +02:00
317be4cc01 docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
ff21237a21 refactor: clear up app/recipe usage
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/go-abra#36.
2021-09-05 00:14:27 +02:00
38d8b51bd5 refactor: moved a lot of flags & added comments
Comments added to fix the golint errors on exported things need comments
2021-08-02 07:36:35 +01:00
bb1eb372ef refactor: stack func to client, mv app to new file
Stack interaction is now under client.

App types and functions moved from env to app under config
2021-08-02 05:51:58 +01:00
a3f574a8fa refactor: app new cmd to be easier to read 2021-08-02 04:18:20 +01:00
30d11f48a7 refactor: break up cli pkg into nice small chunks 2021-08-02 02:10:41 +01:00