mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-18 02:40:03 +00:00
Update livepush
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
466045a0e9
commit
2ff8fccb5e
16
package-lock.json
generated
16
package-lock.json
generated
@ -6857,23 +6857,23 @@
|
||||
}
|
||||
},
|
||||
"livepush": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/livepush/-/livepush-2.1.0.tgz",
|
||||
"integrity": "sha512-7DNYdaQjr261PHZDh7BZ/U1VlVWtMeuTDmP0EOk6jwuBBTdpGt2Yz7JEpv93ddRv7vthLH/kRUyNdTTgTd9I9Q==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/livepush/-/livepush-3.0.3.tgz",
|
||||
"integrity": "sha512-KziITyKAJfRUQdJ0fwmaSBct30Mxkr/owXktNZ9hNzkbkqwFvcVBYVW1xPKq6paW2j4OJcS8T0njsf4sbgzZWg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"bluebird": "^3.5.1",
|
||||
"bluebird": "^3.7.2",
|
||||
"docker-file-parser": "^1.0.4",
|
||||
"dockerode": "^2.5.6",
|
||||
"lodash": "^4.17.10",
|
||||
"lodash": "^4.17.15",
|
||||
"minimatch": "^3.0.4",
|
||||
"mz": "^2.7.0",
|
||||
"node-watch": "^0.5.9",
|
||||
"shell-escape": "^0.2.0",
|
||||
"shell-quote": "^1.6.1",
|
||||
"shell-quote": "^1.7.2",
|
||||
"strict-event-emitter-types": "^2.0.0",
|
||||
"ts-node": "^8.0.3",
|
||||
"typed-error": "^3.0.1"
|
||||
"ts-node": "^8.6.2",
|
||||
"typed-error": "^3.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"typed-error": {
|
||||
|
@ -90,7 +90,7 @@
|
||||
"json-mask": "^0.3.9",
|
||||
"knex": "^0.15.2",
|
||||
"lint-staged": "^10.0.8",
|
||||
"livepush": "2.1.0",
|
||||
"livepush": "^3.0.3",
|
||||
"lockfile": "^1.0.4",
|
||||
"lodash": "^4.17.15",
|
||||
"log-timestamp": "^0.1.2",
|
||||
|
@ -95,16 +95,16 @@ const performLivepush = _.debounce(async livepush => {
|
||||
|
||||
setupLogs(containerId, docker);
|
||||
|
||||
const livepush = await Livepush.init(
|
||||
await fs.readFile('Dockerfile.debug'),
|
||||
'.',
|
||||
const livepush = await Livepush.init({
|
||||
dockerfileContent: await fs.readFile('Dockerfile.debug'),
|
||||
context: '.',
|
||||
containerId,
|
||||
// a bit of a hack, as the multistage images aren't
|
||||
// present, but it shouldn't make a difference as these
|
||||
// will never change
|
||||
_.times(6, () => image),
|
||||
stageImages: _.times(6, () => image),
|
||||
docker,
|
||||
);
|
||||
});
|
||||
|
||||
chokidar
|
||||
.watch('.', {
|
||||
|
Loading…
Reference in New Issue
Block a user