Commit Graph

13 Commits

Author SHA1 Message Date
decentral1se 004cd70aed
fix: use unique rule number & wording [ci skip] 2024-04-06 23:52:56 +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
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 0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing Details
2023-09-20 13:51:06 +02:00
decentral1se 1e110f1375
docs: wording [ci skip] 2023-07-26 09:58:30 +02:00
decentral1se 3dc5662821
fix: improved offline support
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
decentral1se 4f22228aab
feat: lint for lightweight tags
See coop-cloud/organising#433
2023-07-25 20:38:29 +02:00
decentral1se 54646650c7 fix!: disable traefik linting when DOMAIN isn't present
continuous-integration/drone/push Build is failing Details
Also reformats the linting output to be more readable.

Closes coop-cloud/organising#319.
2023-01-23 08:31:00 +00:00
knoflook f432bfdd23
fix: warn when no repo on git
continuous-integration/drone/push Build is failing Details
2022-03-18 10:13:24 +01:00
decentral1se eb3509ab3f
refactor: drop uneccessary structs
continuous-integration/drone/push Build is passing Details
2021-12-31 17:12:09 +01:00
decentral1se 4c186678b8
fix: clone https url by default
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00
decentral1se 9a1cf258a5
fix: check published version properly
Resulted in a refactor to a new lint package.
2021-12-26 00:00:19 +01:00