0
0
forked from toolshed/abra

29 Commits

Author SHA1 Message Date
de006782b6
refactor: tablewriter -> lipgloss
Also the jsontable impl. is dropped also. Output is unchanged.
2024-07-16 16:22:47 +02:00
d7a870b887 feat: remote recipes 2024-07-10 12:06:44 +02:00
f003430a8d
fix: use recipe name, not app name 2024-07-08 14:54:15 +02:00
f14d49cc64 refactor(recipe): rename Recipe2 -> Recipe 2024-07-08 13:19:40 +02:00
99da8d4e57 refactor(recipe): move GetComposeFiles to new struct 2024-07-08 12:06:58 +02:00
ef108d63e1
refactor: use central logger 2024-07-08 00:01:28 +02:00
0076b31253 new package envfile and move GetComposeFiles to recipe package 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
a4de446f58
test: more verbose failure msg, use contains [ci skip] 2024-04-06 23:48:22 +02:00
d21c35965d fix: add warning for long secret names (!359)
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
test
99e3ed416f fix: secret name generation when secretId is not part of the secret name 2023-12-04 21:52:09 +00:00
02b726db02 add comments to better explain how the length modifier gets added to the secret 2023-12-04 17:30:26 +00:00
3957b7c965 proper env modifiers support
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
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
47d3b77003
refactor: not generating here, skipping 2023-10-04 15:13:15 +02:00
8078e91e52
fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
e837835e00
test: remove duplicate call to EnsureCatalogue 2023-10-04 14:05:02 +02:00
892f6c0730
test: ensure catalogue is cloned 2023-09-30 08:19:16 +02:00
d5b18d74ef
fix: use secretId to match secret names in configs 2023-09-25 15:51:15 +02:00
d02f659bf8
fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
7c1a97be72 refactor!: consolidate SSH handling
Closes coop-cloud/organising#389.
Closes coop-cloud/organising#341.
Closes coop-cloud/organising#326.
Closes coop-cloud/organising#380.
Closes coop-cloud/organising#360.
2023-02-02 08:37:14 +00:00
14187449a5
fix: fork passgen
See coop-cloud/organising#358
2022-11-14 15:18:54 +01:00
262009701e
fix: guard against concurrent write errors 2022-03-12 16:59:45 +01:00
6a98024a2b
refactor: drop old/upstream TODOs 2021-12-28 01:31:50 +01:00
3b5354b2a5
refactor: less quotes 2021-12-25 02:03:09 +01:00
8215bb455b
fix: warn if secrets still exist 2021-12-13 12:29:26 +01:00
b6fe86f2ad
fix: use correct args for debug log inputs 2021-09-14 16:14:09 +02:00
9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00