24 lines
901 B
Text
24 lines
901 B
Text
|
|
let oci = import "schemas/lib/integration/oci_artifact_format.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
artifact = {
|
||
|
|
media_type = "application/vnd.ontoref.domain.v1",
|
||
|
|
id = "cache-management",
|
||
|
|
version = "0.1.0",
|
||
|
|
description = "Build cache access policy. Declares which cache namespaces a mode may read, write, or append-only access, enabling CI/session namespace isolation for build caches stored in an OCI registry.",
|
||
|
|
layers = [
|
||
|
|
{
|
||
|
|
media_type = "application/vnd.ontoref.domain.contract.v1",
|
||
|
|
description = "contract.ncl — CacheManagementContext, CacheEntry, CacheAccessMode",
|
||
|
|
required = true,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
media_type = "application/vnd.ontoref.domain.example.v1",
|
||
|
|
description = "example.json — sample context for a lian-build CI run",
|
||
|
|
required = false,
|
||
|
|
},
|
||
|
|
],
|
||
|
|
uses_registry = "primary",
|
||
|
|
} | oci.DomainArtifact,
|
||
|
|
}
|