65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"module": "artifact-store-tools",
|
|
"version": "1",
|
|
"invokes": [
|
|
"seat:mesh-controller.artifacts",
|
|
"seat:mesh-controller.collect",
|
|
"mesh-catalog.catalog_modules",
|
|
"mesh-catalog.catalog_module"
|
|
],
|
|
"tools": [
|
|
"artifact_store_repositories",
|
|
"artifact_store_usage",
|
|
"artifact_store_references",
|
|
"artifact_store_collect"
|
|
],
|
|
"config": {
|
|
"older-store-names": {
|
|
"type": "string",
|
|
"description": "The names the artifact store had before, as host names or host:port separated by spaces, or none when it had no other. artifact_store_references reads every definition under these as well as under the store's current name, so an image a definition pins under one is said to be named by a definition (novox/hq issue 323).",
|
|
"pattern": "none|[A-Za-z0-9.:-]+( [A-Za-z0-9.:-]+)*",
|
|
"default": "none"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "."
|
|
},
|
|
{
|
|
"id": "store-names",
|
|
"type": "file",
|
|
"path": "${dir:state}/store-names",
|
|
"mode": "0600",
|
|
"trusted": false,
|
|
"template": "files/store-names"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools-go",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/artifact-store-tools",
|
|
"binary": "artifact-store-tools",
|
|
"loads": [
|
|
"artifact-store-tools"
|
|
],
|
|
"env": {
|
|
"MESH_ARTIFACT_STORE_CONTAINER": "mesh-registry",
|
|
"MESH_ARTIFACT_STORE_NAMES_FILE": "${dir:state}/store-names"
|
|
}
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|