|
342 | 342 | "type": "object", |
343 | 343 | "title": "Package groups", |
344 | 344 | "description": "Definitions of package groups for shared binary package configuration" |
| 345 | + }, |
| 346 | + "test-suites": { |
| 347 | + "additionalProperties": { |
| 348 | + "$ref": "#/$defs/TestSuiteConfig" |
| 349 | + }, |
| 350 | + "type": "object", |
| 351 | + "title": "Test Suites", |
| 352 | + "description": "Definitions of test suites for this project" |
345 | 353 | } |
346 | 354 | }, |
347 | 355 | "additionalProperties": false, |
|
465 | 473 | "release-ver" |
466 | 474 | ] |
467 | 475 | }, |
| 476 | + "ImageCapabilities": { |
| 477 | + "properties": { |
| 478 | + "machine-bootable": { |
| 479 | + "type": "boolean", |
| 480 | + "title": "Machine bootable", |
| 481 | + "description": "Whether the image can be booted on a machine (bare metal or VM)" |
| 482 | + }, |
| 483 | + "container": { |
| 484 | + "type": "boolean", |
| 485 | + "title": "Container", |
| 486 | + "description": "Whether the image can be run on an OCI container host" |
| 487 | + }, |
| 488 | + "systemd": { |
| 489 | + "type": "boolean", |
| 490 | + "title": "Systemd", |
| 491 | + "description": "Whether the image runs systemd as its init system" |
| 492 | + }, |
| 493 | + "runtime-package-management": { |
| 494 | + "type": "boolean", |
| 495 | + "title": "Runtime package management", |
| 496 | + "description": "Whether the image supports installing or removing packages at runtime" |
| 497 | + } |
| 498 | + }, |
| 499 | + "additionalProperties": false, |
| 500 | + "type": "object" |
| 501 | + }, |
468 | 502 | "ImageConfig": { |
469 | 503 | "properties": { |
470 | 504 | "description": { |
|
476 | 510 | "$ref": "#/$defs/ImageDefinition", |
477 | 511 | "title": "Definition", |
478 | 512 | "description": "Identifies where to find the definition for this image" |
| 513 | + }, |
| 514 | + "capabilities": { |
| 515 | + "$ref": "#/$defs/ImageCapabilities", |
| 516 | + "title": "Capabilities", |
| 517 | + "description": "Features and properties of this image" |
| 518 | + }, |
| 519 | + "tests": { |
| 520 | + "$ref": "#/$defs/ImageTestsConfig", |
| 521 | + "title": "Tests", |
| 522 | + "description": "Test configuration for this image" |
| 523 | + }, |
| 524 | + "publish": { |
| 525 | + "$ref": "#/$defs/ImagePublishConfig", |
| 526 | + "title": "Publish settings", |
| 527 | + "description": "Publishing settings for this image" |
479 | 528 | } |
480 | 529 | }, |
481 | 530 | "additionalProperties": false, |
|
513 | 562 | "additionalProperties": false, |
514 | 563 | "type": "object" |
515 | 564 | }, |
| 565 | + "ImagePublishConfig": { |
| 566 | + "properties": { |
| 567 | + "channels": { |
| 568 | + "items": { |
| 569 | + "type": "string" |
| 570 | + }, |
| 571 | + "type": "array", |
| 572 | + "title": "Channels", |
| 573 | + "description": "List of publish channels for this image" |
| 574 | + } |
| 575 | + }, |
| 576 | + "additionalProperties": false, |
| 577 | + "type": "object" |
| 578 | + }, |
| 579 | + "ImageTestsConfig": { |
| 580 | + "properties": { |
| 581 | + "test-suites": { |
| 582 | + "items": { |
| 583 | + "$ref": "#/$defs/TestSuiteRef" |
| 584 | + }, |
| 585 | + "type": "array", |
| 586 | + "title": "Test Suites", |
| 587 | + "description": "List of test suite references that apply to this image" |
| 588 | + } |
| 589 | + }, |
| 590 | + "additionalProperties": false, |
| 591 | + "type": "object" |
| 592 | + }, |
516 | 593 | "Origin": { |
517 | 594 | "properties": { |
518 | 595 | "type": { |
|
729 | 806 | "type" |
730 | 807 | ] |
731 | 808 | }, |
| 809 | + "TestSuiteConfig": { |
| 810 | + "properties": { |
| 811 | + "description": { |
| 812 | + "type": "string", |
| 813 | + "title": "Description", |
| 814 | + "description": "Description of this test suite" |
| 815 | + } |
| 816 | + }, |
| 817 | + "additionalProperties": false, |
| 818 | + "type": "object" |
| 819 | + }, |
| 820 | + "TestSuiteRef": { |
| 821 | + "properties": { |
| 822 | + "name": { |
| 823 | + "type": "string", |
| 824 | + "title": "Name", |
| 825 | + "description": "Name of the test suite (must match a key in [test-suites])" |
| 826 | + } |
| 827 | + }, |
| 828 | + "additionalProperties": false, |
| 829 | + "type": "object", |
| 830 | + "required": [ |
| 831 | + "name" |
| 832 | + ] |
| 833 | + }, |
732 | 834 | "ToolsConfig": { |
733 | 835 | "properties": { |
734 | 836 | "imageCustomizer": { |
|
0 commit comments