fix: warn when no repo on git
continuous-integration/drone/push Build is failing Details

This commit is contained in:
knoflook 2022-03-18 10:13:24 +01:00
parent 848e17578d
commit f432bfdd23
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C
1 changed files with 7 additions and 7 deletions

View File

@ -78,6 +78,13 @@ var LintRules = map[string][]LintRule{
HowToResolve: "fill out all the metadata",
Function: LintMetadataFilledIn,
},
{
Ref: "R013",
Level: "warn",
Description: "git.coopcloud.tech repo exists",
HowToResolve: "upload your recipe to git.coopcloud.tech/coop-cloud/...",
Function: LintHasRecipeRepo,
},
},
"error": {
{
@ -115,13 +122,6 @@ var LintRules = map[string][]LintRule{
HowToResolve: "vendor config versions in an abra.sh",
Function: LintAbraShVendors,
},
{
Ref: "R013",
Level: "error",
Description: "git.coopcloud.tech repo exists",
HowToResolve: "upload your recipe to git.coopcloud.tech/coop-cloud/...",
Function: LintHasRecipeRepo,
},
},
}