539a63e0a1
ci/woodpecker/push/deploy-fedora42 Pipeline was successful
ci/woodpecker/push/deploy-fedora43 Pipeline was successful
ci/woodpecker/push/deploy-fedora44 Pipeline was successful
ci/woodpecker/push/deploy-almalinux9 Pipeline was successful
ci/woodpecker/push/deploy-almalinux8 Pipeline was successful
Reviewed-on: #165
112 lines
2.3 KiB
JSON
112 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": false,
|
|
"description": "Schema for rpms/*/metadata.yaml files",
|
|
"properties": {
|
|
"arch": {
|
|
"enum": [
|
|
"amd64",
|
|
"arm64",
|
|
"x86_64"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"builds": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"image": {
|
|
"minLength": 1,
|
|
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.:/@]+$",
|
|
"type": "string"
|
|
},
|
|
"release": {
|
|
"oneOf": [
|
|
{
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
"repository": {
|
|
"items": {
|
|
"enum": [
|
|
"almalinux/el8",
|
|
"almalinux/el9",
|
|
"fedora/42",
|
|
"fedora/43",
|
|
"fedora/44"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
"version": {
|
|
"minLength": 1,
|
|
"pattern": "^[0-9]+(\\.[0-9]+)*(-[a-zA-Z0-9]+)*$",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"repository",
|
|
"image",
|
|
"release",
|
|
"version"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"dist_tag": {
|
|
"type": "boolean"
|
|
},
|
|
"github": {
|
|
"minLength": 1,
|
|
"pattern": "^[a-zA-Z0-9\\-_]+/[a-zA-Z0-9\\-_.]+$",
|
|
"type": "string"
|
|
},
|
|
"github_release_pattern": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"homepage": {
|
|
"minLength": 1,
|
|
"pattern": "^https?://.+",
|
|
"type": "string"
|
|
},
|
|
"license": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"maintainer": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"minLength": 1,
|
|
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]*$",
|
|
"type": "string"
|
|
},
|
|
"platform": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"description",
|
|
"builds"
|
|
],
|
|
"title": "RPM Package Metadata",
|
|
"type": "object"
|
|
}
|