Skip to content

Commit 24ee7c2

Browse files
[vendor-schemas] automated update (#263)
Co-authored-by: sirosen <[email protected]>
1 parent 23d7837 commit 24ee7c2

File tree

5 files changed

+154
-42
lines changed

5 files changed

+154
-42
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas (2023-05-21)
14+
1315
0.23.0
1416
------
1517

src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,9 @@
774774
},
775775
"allow_failure": {
776776
"$ref": "#/definitions/allow_failure"
777+
},
778+
"needs": {
779+
"$ref": "#/definitions/rulesNeeds"
777780
}
778781
}
779782
},
@@ -936,6 +939,39 @@
936939
"markdownDescription": "Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ee/ci/jobs/job_control.html#run-a-job-after-a-delay).",
937940
"minLength": 1
938941
},
942+
"rulesNeeds": {
943+
"markdownDescription": "Use needs in rules to update job needs for specific conditions. When a condition matches a rule, the job's needs configuration is completely replaced with the needs in the rule. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#rulesneeds).",
944+
"type": "array",
945+
"items": {
946+
"oneOf": [
947+
{
948+
"type": "string"
949+
},
950+
{
951+
"type": "object",
952+
"additionalProperties": false,
953+
"properties": {
954+
"job": {
955+
"type": "string",
956+
"minLength": 1,
957+
"description": "Name of a job that is defined in the pipeline."
958+
},
959+
"artifacts": {
960+
"type": "boolean",
961+
"description": "Download artifacts of the job in needs."
962+
},
963+
"optional": {
964+
"type": "boolean",
965+
"description": "Whether the job needs to be present in the pipeline to run ahead of the current job."
966+
}
967+
},
968+
"required": [
969+
"job"
970+
]
971+
}
972+
]
973+
}
974+
},
939975
"allow_failure": {
940976
"markdownDescription": "Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#allow_failure).",
941977
"oneOf": [
@@ -1056,6 +1092,14 @@
10561092
"on_failure",
10571093
"always"
10581094
]
1095+
},
1096+
"fallback_keys": {
1097+
"type": "array",
1098+
"markdownDescription": "List of keys to download cache from if no cache hit occurred for key",
1099+
"items": {
1100+
"type": "string"
1101+
},
1102+
"maxItems": 5
10591103
}
10601104
}
10611105
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d78e2a4440cd71d71843dde2b7452c020994a0f1743574d8d277fea3277f410a
1+
e5193af6cbf07b0ae6634e79cd2bceee7e457b4c44a2a392335ba7e51ede04cd

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 106 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,15 @@
473473
"type": "string",
474474
"default": "to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}"
475475
},
476+
"commitMessageLowerCase": {
477+
"description": "Lowercase PR- and commit titles.",
478+
"type": "string",
479+
"enum": [
480+
"auto",
481+
"never"
482+
],
483+
"default": "auto"
484+
},
476485
"commitMessagePrefix": {
477486
"description": "Prefix to add to start of commit messages and PR titles. Uses a semantic prefix if `semanticCommits` is enabled.",
478487
"type": "string"
@@ -552,6 +561,16 @@
552561
"description": "The directory where Renovate stores its containerbase cache. If left empty, Renovate creates a subdirectory within the `cacheDir`.",
553562
"type": "string"
554563
},
564+
"cpanfile": {
565+
"description": "Configuration object for the cpanfile manager",
566+
"type": "object",
567+
"default": {
568+
"fileMatch": [
569+
"(^|/)cpanfile$"
570+
]
571+
},
572+
"$ref": "#"
573+
},
555574
"customEnvVariables": {
556575
"description": "Custom environment variables for child processes and sidecar Docker containers.",
557576
"type": "object",
@@ -598,6 +617,16 @@
598617
},
599618
"default": null
600619
},
620+
"dependencyDashboardOSVVulnerabilitySummary": {
621+
"description": "Control if the Dependency Dashboard issue lists CVEs supplied by [osv.dev](https://osv.dev).",
622+
"type": "string",
623+
"enum": [
624+
"none",
625+
"all",
626+
"unresolved"
627+
],
628+
"default": "none"
629+
},
601630
"dependencyDashboardTitle": {
602631
"description": "Title for the Dependency Dashboard issue.",
603632
"type": "string",
@@ -685,8 +714,8 @@
685714
"type": "object",
686715
"default": {
687716
"fileMatch": [
688-
"(^|/|\\.)(Docker|Container)file$",
689-
"(^|/)(Docker|Container)file[^/]*$"
717+
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
718+
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
690719
]
691720
},
692721
"$ref": "#"
@@ -1023,6 +1052,7 @@
10231052
"\\.gradle(\\.kts)?$",
10241053
"(^|/)gradle\\.properties$",
10251054
"(^|/)gradle/.+\\.toml$",
1055+
"(^|/)buildSrc/.+\\.kt$",
10261056
"\\.versions\\.toml$",
10271057
"(^|/)versions.props$",
10281058
"(^|/)versions.lock$"
@@ -1162,6 +1192,10 @@
11621192
{
11631193
"type": "object",
11641194
"properties": {
1195+
"description": {
1196+
"type": "string",
1197+
"description": "A custom description for this configuration object"
1198+
},
11651199
"abortIgnoreStatusCodes": {
11661200
"description": "A list of HTTP status codes safe to ignore even when `abortOnError=true`.",
11671201
"type": "array",
@@ -1702,6 +1736,10 @@
17021736
{
17031737
"type": "object",
17041738
"properties": {
1739+
"description": {
1740+
"type": "string",
1741+
"description": "A custom description for this configuration object"
1742+
},
17051743
"allowedVersions": {
17061744
"description": "A version range or regex pattern capturing allowed versions for dependencies.",
17071745
"type": "string"
@@ -2070,6 +2108,16 @@
20702108
"default": {},
20712109
"$ref": "#"
20722110
},
2111+
"pep621": {
2112+
"description": "Configuration object for the pep621 manager",
2113+
"type": "object",
2114+
"default": {
2115+
"fileMatch": [
2116+
"(^|/)pyproject\\.toml$"
2117+
]
2118+
},
2119+
"$ref": "#"
2120+
},
20732121
"persistRepoData": {
20742122
"description": "If set to `true`: keep repository data between runs instead of deleting the data.",
20752123
"type": "boolean",
@@ -2168,7 +2216,8 @@
21682216
"codecommit",
21692217
"gitea",
21702218
"github",
2171-
"gitlab"
2219+
"gitlab",
2220+
"local"
21722221
],
21732222
"default": "github"
21742223
},
@@ -2227,6 +2276,10 @@
22272276
{
22282277
"type": "object",
22292278
"properties": {
2279+
"description": {
2280+
"type": "string",
2281+
"description": "A custom description for this configuration object"
2282+
},
22302283
"commands": {
22312284
"description": "A list of post-upgrade commands that are executed before a commit is made by Renovate.",
22322285
"type": "array",
@@ -2514,6 +2567,10 @@
25142567
{
25152568
"type": "object",
25162569
"properties": {
2570+
"description": {
2571+
"type": "string",
2572+
"description": "A custom description for this configuration object"
2573+
},
25172574
"autoReplaceStringTemplate": {
25182575
"description": "Optional `extractVersion` for extracted dependencies. Valid only within a `regexManagers` object.",
25192576
"type": "string"
@@ -2801,6 +2858,7 @@
28012858
"configErrorIssue",
28022859
"deprecationWarningIssues",
28032860
"lockFileErrors",
2861+
"missingCredentialsError",
28042862
"onboardingClose",
28052863
"prEditedNotification",
28062864
"prIgnoreNotification"
@@ -2975,43 +3033,51 @@
29753033
"versioning": {
29763034
"description": "Versioning to use for filtering and comparisons.",
29773035
"type": "string",
2978-
"enum": [
2979-
"aws-machine-image",
2980-
"azure-rest-api",
2981-
"bazel-module",
2982-
"cargo",
2983-
"composer",
2984-
"conan",
2985-
"deb",
2986-
"debian",
2987-
"docker",
2988-
"git",
2989-
"go-mod-directive",
2990-
"gradle",
2991-
"hashicorp",
2992-
"helm",
2993-
"hermit",
2994-
"hex",
2995-
"ivy",
2996-
"kubernetes-api",
2997-
"loose",
2998-
"maven",
2999-
"nixpkgs",
3000-
"node",
3001-
"npm",
3002-
"nuget",
3003-
"pep440",
3004-
"perl",
3005-
"poetry",
3006-
"python",
3007-
"redhat",
3008-
"regex",
3009-
"rez",
3010-
"ruby",
3011-
"semver",
3012-
"semver-coerced",
3013-
"swift",
3014-
"ubuntu"
3036+
"oneOf": [
3037+
{
3038+
"enum": [
3039+
"aws-machine-image",
3040+
"azure-rest-api",
3041+
"bazel-module",
3042+
"cargo",
3043+
"composer",
3044+
"conan",
3045+
"deb",
3046+
"debian",
3047+
"docker",
3048+
"git",
3049+
"go-mod-directive",
3050+
"gradle",
3051+
"hashicorp",
3052+
"helm",
3053+
"hermit",
3054+
"hex",
3055+
"ivy",
3056+
"kubernetes-api",
3057+
"loose",
3058+
"maven",
3059+
"nixpkgs",
3060+
"node",
3061+
"npm",
3062+
"nuget",
3063+
"pep440",
3064+
"perl",
3065+
"poetry",
3066+
"python",
3067+
"redhat",
3068+
"regex",
3069+
"rez",
3070+
"ruby",
3071+
"semver",
3072+
"semver-coerced",
3073+
"swift",
3074+
"ubuntu"
3075+
]
3076+
},
3077+
{
3078+
"type": "string",
3079+
"pattern": "^regex:"
3080+
}
30153081
]
30163082
},
30173083
"vulnerabilityAlerts": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7a37e585cd52f6573921884f4dfb869f81804d2ea86c88f003d281b7f4d4fa7b
1+
8e5ff4b0118c6bc8a42a1a1fdf31c675a50305958ecdc4dc12eeca6ed2c73761

0 commit comments

Comments
 (0)