b5493ba059
refactor: CreateTable2 -> CreateTable [ci skip]
2024-07-16 22:45:03 +02:00
de006782b6
refactor: tablewriter -> lipgloss
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Also the jsontable impl. is dropped also. Output is unchanged.
2024-07-16 16:22:47 +02:00
4be8c8daed
test: fix outputs [ci skip]
...
See https://build.coopcloud.tech/coop-cloud/abra/2035/1/5
2024-07-10 13:20:39 +02:00
790dbca362
feat!: remove all catalogue reads from app commands
2024-07-10 12:06:57 +02:00
2fb5493ab5
feat: support chaos commits on deploy
...
See coop-cloud/organising#517
2024-07-09 11:31:52 +02:00
0ff8e49cfd
docs: pass on sub-command help
2024-07-09 09:43:18 +02:00
f14d49cc64
refactor(recipe): rename Recipe2 -> Recipe
2024-07-08 13:19:40 +02:00
5617a9ba07
refactor(recipe): remove remaining usage of old recipe struct
2024-07-08 13:15:20 +02:00
c1b03bcbd7
refactor(recipe): load load compoes config where its used
2024-07-08 12:31:39 +02:00
99da8d4e57
refactor(recipe): move GetComposeFiles to new struct
2024-07-08 12:06:58 +02:00
c861c09cce
refactor(recipe): use method or variable for .env.sample
2024-07-08 11:41:26 +02:00
73e9b818b4
refactor(recipe): move SampleEnv method to new struct
2024-07-08 11:02:43 +02:00
950f85e2b4
refactor(recipe): introduce new recipe struct and move some methods
2024-07-08 10:55:43 +02:00
ef108d63e1
refactor: use central logger
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-08 00:01:28 +02:00
0076b31253
new package envfile and move GetComposeFiles to recipe package
continuous-integration/drone/pr Build is failing
2024-07-06 16:37:16 +02:00
f18c642226
refactor: move app files from config to app package
2024-07-06 16:37:16 +02:00
316fdd3643
fix: abra app new checks out latest version
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#618
2024-06-21 15:51:34 +02:00
d21c35965d
fix: add warning for long secret names ( !359 )
...
continuous-integration/drone/push Build is passing
A start of a fix for coop-cloud/organising#463
Putting some code out to start a discussion. I've added a linting rule for recipes to establish a general principal but I want to put some validation into cli/app/new.go as that's the point we have both the recipe and the domain and can say for sure whether or not the secret names lengths cause a problem but that will have to wait for a bit. Let me know if I've missed the mark somewhere
Reviewed-on: coop-cloud/abra#359
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: Rich M <r.p.makepeace@gmail.com>
Co-committed-by: Rich M <r.p.makepeace@gmail.com>
2024-04-06 21:41:37 +00:00
0a3624c15b
feat: add version input to abra app new ( !400 )
...
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
test
99e3ed416f
fix: secret name generation when secretId is not part of the secret name
continuous-integration/drone/push Build is passing
2023-12-04 21:52:09 +00:00
3957b7c965
proper env modifiers support
...
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
...
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]
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
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Continues work of 3dc5662821c5b54e7f7f34e2e0d09b239a145a0b.
2023-08-01 21:19:20 +02:00
3dc5662821
fix: improved offline support
...
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
...
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
ae6adace50
refactor: autocomplete package
continuous-integration/drone/push Build is passing
2021-12-12 00:17:39 +01:00
7d8e2d9dd1
WIP: make "abra app new" callable by code
...
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
...
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
...
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
continuous-integration/drone/push Build is passing
2021-09-17 07:38:38 +02:00
754fe81e01
feat: add templating during .. app new
...
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
...
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
...
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
...
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
...
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
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
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