From 08db3ace032760190e770f5e6687fa929784aa79 Mon Sep 17 00:00:00 2001 From: Kostas Lekkas Date: Fri, 10 Mar 2017 13:54:26 +0000 Subject: [PATCH] Bump resin-sync@7.0.0: use experimental rds which requires superuser permissions --- lib/actions/local/logs.coffee | 1 + lib/actions/local/promote.coffee | 1 + lib/actions/local/push.coffee | 1 + lib/actions/local/scan.coffee | 1 + lib/actions/local/ssh.coffee | 1 + lib/actions/local/stop.coffee | 1 + package.json | 2 +- 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/actions/local/logs.coffee b/lib/actions/local/logs.coffee index 79cfc789..14159161 100644 --- a/lib/actions/local/logs.coffee +++ b/lib/actions/local/logs.coffee @@ -44,6 +44,7 @@ module.exports = description: 'name of container to get logs from' alias: 'a' ] + root: true action: (params, options, done) -> Promise = require('bluebird') { forms } = require('resin-sync') diff --git a/lib/actions/local/promote.coffee b/lib/actions/local/promote.coffee index f182ca8f..dc464b47 100644 --- a/lib/actions/local/promote.coffee +++ b/lib/actions/local/promote.coffee @@ -44,6 +44,7 @@ module.exports = description: 'ssh port number (default: 22222)' alias: 'p' ] + root: true action: (params, options, done) -> child_process = require('child_process') Promise = require 'bluebird' diff --git a/lib/actions/local/push.coffee b/lib/actions/local/push.coffee index 29724b6c..9217d2ad 100644 --- a/lib/actions/local/push.coffee +++ b/lib/actions/local/push.coffee @@ -66,4 +66,5 @@ resinPush.help = $ resin local push 192.168.2.10 -s /home/user/myResinProject -d /usr/src/app --before 'echo Hello' --after 'echo Done' ''' resinPush.primary = true +resinPush.root = true module.exports = resinPush diff --git a/lib/actions/local/scan.coffee b/lib/actions/local/scan.coffee index cf20c410..1acea70a 100644 --- a/lib/actions/local/scan.coffee +++ b/lib/actions/local/scan.coffee @@ -56,6 +56,7 @@ module.exports = alias: 't' ] primary: true + root: true action: (params, options, done) -> Promise = require('bluebird') _ = require('lodash') diff --git a/lib/actions/local/ssh.coffee b/lib/actions/local/ssh.coffee index 746d52de..238e2369 100644 --- a/lib/actions/local/ssh.coffee +++ b/lib/actions/local/ssh.coffee @@ -59,6 +59,7 @@ module.exports = description: 'ssh port number (default: 22222)' alias: 'p' ] + root: true action: (params, options, done) -> child_process = require('child_process') Promise = require 'bluebird' diff --git a/lib/actions/local/stop.coffee b/lib/actions/local/stop.coffee index 0122b1cf..5e45c43f 100644 --- a/lib/actions/local/stop.coffee +++ b/lib/actions/local/stop.coffee @@ -43,6 +43,7 @@ module.exports = description: 'name of container to stop' alias: 'a' ] + root: true action: (params, options, done) -> Promise = require('bluebird') chalk = require('chalk') diff --git a/package.json b/package.json index 55344fe8..d830b4ba 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "resin-image-manager": "^4.0.0", "resin-sdk-preconfigured": "^0.1.0", "resin-settings-client": "^3.5.0", - "resin-sync": "^6.1.0", + "resin-sync": "^7.0.0", "rimraf": "^2.4.3", "rindle": "^1.0.0", "tmp": "^0.0.31",