Update livepush

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2020-03-24 17:42:47 +00:00 committed by Balena CI
parent 466045a0e9
commit 2ff8fccb5e
3 changed files with 14 additions and 14 deletions

16
package-lock.json generated
View File

@ -6857,23 +6857,23 @@
} }
}, },
"livepush": { "livepush": {
"version": "2.1.0", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/livepush/-/livepush-2.1.0.tgz", "resolved": "https://registry.npmjs.org/livepush/-/livepush-3.0.3.tgz",
"integrity": "sha512-7DNYdaQjr261PHZDh7BZ/U1VlVWtMeuTDmP0EOk6jwuBBTdpGt2Yz7JEpv93ddRv7vthLH/kRUyNdTTgTd9I9Q==", "integrity": "sha512-KziITyKAJfRUQdJ0fwmaSBct30Mxkr/owXktNZ9hNzkbkqwFvcVBYVW1xPKq6paW2j4OJcS8T0njsf4sbgzZWg==",
"dev": true, "dev": true,
"requires": { "requires": {
"bluebird": "^3.5.1", "bluebird": "^3.7.2",
"docker-file-parser": "^1.0.4", "docker-file-parser": "^1.0.4",
"dockerode": "^2.5.6", "dockerode": "^2.5.6",
"lodash": "^4.17.10", "lodash": "^4.17.15",
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"mz": "^2.7.0", "mz": "^2.7.0",
"node-watch": "^0.5.9", "node-watch": "^0.5.9",
"shell-escape": "^0.2.0", "shell-escape": "^0.2.0",
"shell-quote": "^1.6.1", "shell-quote": "^1.7.2",
"strict-event-emitter-types": "^2.0.0", "strict-event-emitter-types": "^2.0.0",
"ts-node": "^8.0.3", "ts-node": "^8.6.2",
"typed-error": "^3.0.1" "typed-error": "^3.2.0"
}, },
"dependencies": { "dependencies": {
"typed-error": { "typed-error": {

View File

@ -90,7 +90,7 @@
"json-mask": "^0.3.9", "json-mask": "^0.3.9",
"knex": "^0.15.2", "knex": "^0.15.2",
"lint-staged": "^10.0.8", "lint-staged": "^10.0.8",
"livepush": "2.1.0", "livepush": "^3.0.3",
"lockfile": "^1.0.4", "lockfile": "^1.0.4",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"log-timestamp": "^0.1.2", "log-timestamp": "^0.1.2",

View File

@ -95,16 +95,16 @@ const performLivepush = _.debounce(async livepush => {
setupLogs(containerId, docker); setupLogs(containerId, docker);
const livepush = await Livepush.init( const livepush = await Livepush.init({
await fs.readFile('Dockerfile.debug'), dockerfileContent: await fs.readFile('Dockerfile.debug'),
'.', context: '.',
containerId, containerId,
// a bit of a hack, as the multistage images aren't // a bit of a hack, as the multistage images aren't
// present, but it shouldn't make a difference as these // present, but it shouldn't make a difference as these
// will never change // will never change
_.times(6, () => image), stageImages: _.times(6, () => image),
docker, docker,
); });
chokidar chokidar
.watch('.', { .watch('.', {