Capture mesh-catalog at feat/r4g (2246ccc4) with the templates its manifests name and its predefined.json, and lay the copy out as a repository's root
The catalogue's manifests moved their content into template files and fall back to predefined keys, so a copy of module.json alone no longer passes the catalogue's own check; the bus's Dockerfile is gone from the catalogue.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"scheme": "http",
|
||||
"at": "${machine:at}",
|
||||
"port": "${port:9000}",
|
||||
"region": "eu-west"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
MINIO_ROOT_USER=meshroot
|
||||
MINIO_BROWSER_REDIRECT_URL=https://${bound:route:name-console}
|
||||
@@ -18,6 +18,27 @@
|
||||
"requires": [
|
||||
"route"
|
||||
],
|
||||
"seats": [
|
||||
{
|
||||
"name": "object-store",
|
||||
"scope": "mesh",
|
||||
"serves": [
|
||||
"link"
|
||||
]
|
||||
}
|
||||
],
|
||||
"claims": [
|
||||
{
|
||||
"name": "object-store",
|
||||
"scope": "mesh",
|
||||
"serves": [
|
||||
"link"
|
||||
]
|
||||
}
|
||||
],
|
||||
"invokes": [
|
||||
"seat:mesh-controller.seats"
|
||||
],
|
||||
"contributes": {
|
||||
"route": {
|
||||
"api": {
|
||||
@@ -92,25 +113,35 @@
|
||||
"id": "state",
|
||||
"type": "directory",
|
||||
"mode": "0700",
|
||||
"place": "."
|
||||
"place": ".",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "grants",
|
||||
"type": "directory",
|
||||
"mode": "0700"
|
||||
"mode": "0700",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "root-env",
|
||||
"type": "file",
|
||||
"path": "${dir:state}/root.env",
|
||||
"mode": "0600",
|
||||
"content": "MINIO_ROOT_USER=meshroot\nMINIO_BROWSER_REDIRECT_URL=https://${bound:route:name-console}\n"
|
||||
"template": "files/root.env"
|
||||
},
|
||||
{
|
||||
"id": "object-store",
|
||||
"type": "file",
|
||||
"path": "${dir:state}/object-store.json",
|
||||
"mode": "0600",
|
||||
"template": "files/object-store.json"
|
||||
},
|
||||
{
|
||||
"id": "data",
|
||||
"type": "directory",
|
||||
"path": "/var/lib/minio-store",
|
||||
"mode": "0700"
|
||||
"mode": "0700",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "net",
|
||||
@@ -170,10 +201,32 @@
|
||||
"MESH_MINIO_ROOT_USER": "meshroot",
|
||||
"MESH_MINIO_ROOT_PASSWORD_FILE": "${dir:state}/root.secret",
|
||||
"MESH_MINIO_REGION": "eu-west",
|
||||
"MESH_MINIO_LINKS": "${dir:state}/links",
|
||||
"MESH_MINIO_MC_BIN": "mcli",
|
||||
"MESH_MINIO_MC_CONFIG": "${dir:state}/mc",
|
||||
"MESH_RECEIVES": "${dir:grants}/mesh.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "tools-go",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/object-store",
|
||||
"binary": "object-store",
|
||||
"loads": [
|
||||
"object-store"
|
||||
],
|
||||
"env": {
|
||||
"OBJECT_STORE_CONFIG": "${dir:state}/object-store.json",
|
||||
"MESH_MINIO_LINKS": "${dir:state}/links",
|
||||
"MESH_RECEIVES": "${dir:grants}/mesh.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user