f4e9e52af3
el8 has no builder image any more (the old almalinux8-rpmbuilder image can't be pulled) and el8 packages are no longer wanted. - remove build/deploy almalinux8 pipelines - remove el8 build entries from all package metadata - drop almalinux/el8 from the metadata schema and tools/build Requires unkin/terraform-git#110 applied (removes the build-almalinux8 required check). Reviewed-on: #188 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
111 lines
2.3 KiB
JSON
111 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/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"
|
|
}
|