Ship the Node build module's toolchain lock as an archive, not a template naming hosts (issue 1488)
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
"streams": [
|
||||
{
|
||||
"name": "toolchains-node",
|
||||
"events": ["toolchain.**"]
|
||||
"events": [
|
||||
"toolchain.**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"requires": [
|
||||
@@ -117,28 +119,12 @@
|
||||
},
|
||||
{
|
||||
"id": "toolchain-dir",
|
||||
"type": "directory",
|
||||
"type": "archive",
|
||||
"path": "${dir:state}/toolchain",
|
||||
"mode": "0700",
|
||||
"owner": "mesh-build-node",
|
||||
"artifact": "toolchain",
|
||||
"unknown": "program"
|
||||
},
|
||||
{
|
||||
"id": "toolchain-package",
|
||||
"type": "file",
|
||||
"path": "${dir:toolchain-dir}/package.json",
|
||||
"owner": "mesh-build-node",
|
||||
"mode": "0644",
|
||||
"template": "files/toolchain/package.json"
|
||||
},
|
||||
{
|
||||
"id": "toolchain-lock",
|
||||
"type": "file",
|
||||
"path": "${dir:toolchain-dir}/package-lock.json",
|
||||
"owner": "mesh-build-node",
|
||||
"mode": "0644",
|
||||
"template": "files/toolchain/package-lock.json"
|
||||
},
|
||||
{
|
||||
"id": "nodejs",
|
||||
"type": "package",
|
||||
@@ -177,6 +163,11 @@
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
},
|
||||
{
|
||||
"name": "toolchain",
|
||||
"kind": "archive",
|
||||
"from": "toolchain"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user