Commit Graph

21 Commits

Author SHA1 Message Date
decentral1se a4de446f58
test: more verbose failure msg, use contains [ci skip] 2024-04-06 23:48:22 +02:00
Rich M d21c35965d fix: add warning for long secret names (!359)
continuous-integration/drone/push Build is passing Details
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: #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
continuous-integration/drone/push Build is passing Details
2023-12-04 21:52:09 +00:00
p4u1 02b726db02 add comments to better explain how the length modifier gets added to the secret
continuous-integration/drone/push Build is passing Details
2023-12-04 17:30:26 +00:00
p4u1 3957b7c965 proper env modifiers support
continuous-integration/drone/push Build is passing Details
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
decentral1se c249c6ae9c
fix: fix: trim comments that are not modifers
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
decentral1se 47d3b77003
refactor: not generating here, skipping
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-10-04 15:13:15 +02:00
decentral1se 8078e91e52
fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
decentral1se e837835e00
test: remove duplicate call to EnsureCatalogue
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-10-04 14:05:02 +02:00
decentral1se 892f6c0730
test: ensure catalogue is cloned 2023-09-30 08:19:16 +02:00
decentral1se d5b18d74ef
fix: use secretId to match secret names in configs
continuous-integration/drone/push Build is passing Details
2023-09-25 15:51:15 +02:00
decentral1se d02f659bf8
fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
decentral1se 7c1a97be72 refactor!: consolidate SSH handling
continuous-integration/drone/push Build is failing Details
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
decentral1se 14187449a5
fix: fork passgen
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#358
2022-11-14 15:18:54 +01:00
decentral1se 262009701e
fix: guard against concurrent write errors 2022-03-12 16:59:45 +01:00
decentral1se 6a98024a2b
refactor: drop old/upstream TODOs 2021-12-28 01:31:50 +01:00
decentral1se 3b5354b2a5
refactor: less quotes
continuous-integration/drone/push Build is passing Details
2021-12-25 02:03:09 +01:00
decentral1se 8215bb455b
fix: warn if secrets still exist
continuous-integration/drone/push Build is passing Details
2021-12-13 12:29:26 +01:00
decentral1se b6fe86f2ad
fix: use correct args for debug log inputs
continuous-integration/drone/push Build is passing Details
2021-09-14 16:14:09 +02:00
decentral1se 9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
decentral1se b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00