Skip to content

Commit 046209f

Browse files
[vendor-schemas] automated update (#196)
Co-authored-by: sirosen <[email protected]>
1 parent 852a041 commit 046209f

File tree

8 files changed

+90
-53
lines changed

8 files changed

+90
-53
lines changed

.tox/.pkg-cpython310/file.lock

Whitespace-only changes.

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas (2022-12-03)
13+
- Update vendored schemas (2022-12-15)
1414

1515
0.19.2
1616
------

src/check_jsonschema/builtin_schemas/vendor/dependabot.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
"docker-registry",
261261
"git",
262262
"hex-organization",
263+
"hex-repository",
263264
"maven-repository",
264265
"npm-registry",
265266
"nuget-feed",
@@ -295,6 +296,18 @@
295296
"organization": {
296297
"description": "",
297298
"type": "string"
299+
},
300+
"repo": {
301+
"description": "",
302+
"type": "string"
303+
},
304+
"auth-key": {
305+
"description": "",
306+
"type": "string"
307+
},
308+
"public-key-fingerprint": {
309+
"description": "",
310+
"type": "string"
298311
}
299312
},
300313
"required": ["type"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0be020082fd7d40546d36312b4d5ab4c27dba5934eb02c59c4b0c30c0546428a
1+
c15466dbb5d640425c4405d043028d0bfca08996b050e498355f56415d07b30c

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

Lines changed: 70 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@
336336
"include_item": {
337337
"oneOf": [
338338
{
339-
"description": "Will infer the method based on the value. E.g. `https://...` strings will be of type `include:remote`, and `/templates/...` will be of type `include:local`.",
339+
"description": "Will infer the method based on the value. E.g. `https://...` strings will be of type `include:remote`, and `/templates/...` or `templates/...` will be of type `include:local`.",
340340
"type": "string",
341341
"format": "uri-reference",
342-
"pattern": "^(https?://|/).+\\.ya?ml$"
342+
"pattern": "^(https?://|/?.?-?(?!\\w+://)\\w).+\\.ya?ml$"
343343
},
344344
{
345345
"type": "object",
@@ -607,53 +607,65 @@
607607
"secrets": {
608608
"type": "object",
609609
"markdownDescription": "Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secrets).",
610-
"additionalProperties": {
611-
"type": "object",
612-
"description": "Environment variable name",
613-
"properties": {
614-
"vault": {
615-
"oneOf": [
616-
{
617-
"type": "string",
618-
"description": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`)"
619-
},
620-
{
621-
"type": "object",
622-
"properties": {
623-
"engine": {
624-
"type": "object",
625-
"properties": {
626-
"name": {
627-
"type": "string"
610+
"patternProperties": {
611+
".*": {
612+
"type": "object",
613+
"properties": {
614+
"vault": {
615+
"oneOf": [
616+
{
617+
"type": "string",
618+
"markdownDescription": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secretsvault)"
619+
},
620+
{
621+
"type": "object",
622+
"properties": {
623+
"engine": {
624+
"type": "object",
625+
"properties": {
626+
"name": {
627+
"type": "string"
628+
},
629+
"path": {
630+
"type": "string"
631+
}
628632
},
629-
"path": {
630-
"type": "string"
631-
}
633+
"required": [
634+
"name",
635+
"path"
636+
]
632637
},
633-
"required": [
634-
"name",
635-
"path"
636-
]
637-
},
638-
"path": {
639-
"type": "string"
638+
"path": {
639+
"type": "string"
640+
},
641+
"field": {
642+
"type": "string"
643+
}
640644
},
641-
"field": {
642-
"type": "string"
643-
}
644-
},
645-
"required": [
646-
"engine",
647-
"path",
648-
"field"
649-
]
650-
}
651-
]
652-
}
653-
},
654-
"required": [
655-
"vault"
656-
]
645+
"required": [
646+
"engine",
647+
"path",
648+
"field"
649+
],
650+
"additionalProperties": false
651+
}
652+
]
653+
},
654+
"file": {
655+
"type": "boolean",
656+
"default": true,
657+
"markdownDescription": "Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secretsfile)"
658+
},
659+
"token": {
660+
"type": "string",
661+
"description": "Specifies the JWT variable that should be used to authenticate with Hashicorp Vault."
662+
}
663+
},
664+
"required": [
665+
"vault"
666+
],
667+
"additionalProperties": false
668+
}
657669
}
658670
},
659671
"before_script": {
@@ -758,7 +770,17 @@
758770
"type": "object",
759771
"properties": {
760772
"value": {
761-
"type": "string"
773+
"type": "string",
774+
"markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#prefill-variables-in-manual-pipelines)"
775+
},
776+
"options": {
777+
"type": "array",
778+
"items": {
779+
"type": "string"
780+
},
781+
"minItems": 1,
782+
"uniqueItems": true,
783+
"markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#configure-a-list-of-selectable-values-for-a-prefilled-variable)"
762784
},
763785
"description": {
764786
"type": "string",
@@ -1922,4 +1944,4 @@
19221944
"additionalProperties": false
19231945
}
19241946
}
1925-
}
1947+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d8a6e9019aef342f6581a3ed1743ff374c347aa330d13028806282d142d5f3dc
1+
b2a88cfa419ca2ea69ddb0dee89b3882e4cbab80a46a2d055f06298034ece9d8

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,9 @@
952952
"\\.gradle(\\.kts)?$",
953953
"(^|\\/)gradle\\.properties$",
954954
"(^|\\/)gradle\\/.+\\.toml$",
955-
"\\.versions\\.toml$"
955+
"\\.versions\\.toml$",
956+
"(^|\\/)versions.props$",
957+
"(^|\\/)versions.lock$"
956958
],
957959
"timeout": 600,
958960
"versioning": "gradle"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
69701779f58804dbed82b3475fee33c9ac48e1256776c4bab913c0f5bad992d1
1+
81b816dd7f7a9443ded2c26691aed67609b80ae4545877c8c03c9face7239617

0 commit comments

Comments
 (0)