Commit Graph

1180 Commits

Author SHA1 Message Date
Giovanni Garufi
ad737b8e02 Add npm-shrinkwrap in package.json so that it gets published to the
registry

Change-type: patch
Signed-off-by: Giovanni Garufi <giovanni@balena.io>
2019-07-02 19:15:32 +02:00
Resin CI
bcc86fbcb6 v11.4.3 2019-07-01 13:23:47 +03:00
Resin CI
79e65025cb v11.4.2 2019-07-01 12:15:22 +03:00
Cameron Diver
adcc862acb Explicitly upgrade livepush version to 2.0.1 to pick up fix
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-01 09:59:07 +01:00
Resin CI
8bf884d425 v11.4.1 2019-06-28 18:55:39 +03:00
Paulo Castro
77089e31e4 Unpin selected dependencies following addition of npm-shrinkwrap.json
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-28 12:30:56 +01:00
Resin CI
d5586e12d4 v11.4.0 2019-06-27 19:01:52 +03:00
Paulo Castro
9d5ecb5f9c Add options to 'balena version' to show Node.js version
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-27 16:22:26 +01:00
Resin CI
a2ee48f2fb v11.3.6 2019-06-27 15:06:08 +03:00
Paulo Castro
34d7b84d1e Patch 'pkg' package to resolve 'preload' issue in standalone installs
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-27 00:50:35 +01:00
Resin CI
d999b901bb v11.3.5 2019-06-26 15:29:12 +03:00
Resin CI
df2e611c42 v11.3.4 2019-06-26 14:13:33 +03:00
Resin CI
f4612116b9 v11.3.3 2019-06-20 19:33:22 +03:00
Resin CI
436ad60f4e v11.3.2 2019-06-20 18:42:01 +03:00
Resin CI
6994499f14 v11.3.1 2019-06-18 15:03:27 +03:00
Resin CI
5e46815ac7 v11.3.0 2019-06-18 13:44:55 +03:00
Resin CI
66dfddc96d v11.2.2 2019-06-16 17:20:25 +03:00
Resin CI
46806c8377 v11.2.1 2019-06-12 16:00:40 +03:00
Resin CI
5e4daf8c3d v11.2.0 2019-06-11 15:53:33 +03:00
Thodoris Greasidis
825213c02a Add device OS update action
Resolves: #788
Depends-on: https://github.com/balena-io/balena-sdk/pull/638
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-06-11 15:27:23 +03:00
Resin CI
13cef01374 v11.1.0 2019-06-10 13:38:49 +03:00
Cameron Diver
8b5ebe0645 Pin prettier and add formatting changes
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 11:07:51 +01:00
Cameron Diver
24e49bf131 Cancel ongoing livepushes when a new change occurs
Also fix livepush logging when a new container is created (previously
the logs of the commands would stop working after this has happened)

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-07 15:59:27 +01:00
Resin CI
f8a9c10a77 v11.0.7 2019-06-07 04:01:30 +03:00
Resin CI
b78dd26f23 v11.0.6 2019-06-06 19:41:44 +03:00
Resin CI
2bbdfda92e v11.0.5 2019-06-06 16:51:58 +03:00
Resin CI
2b264df41b v11.0.4 2019-06-06 12:45:39 +03:00
Resin CI
ab5815c277 v11.0.3 2019-06-05 18:38:08 +03:00
Resin CI
e8325e8268 v11.0.2 2019-06-05 16:23:27 +03:00
Paulo Castro
4596005a1f Fix "--production" installation (missing patch-package dependency)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-05 13:42:27 +01:00
Resin CI
8d9cbbb526 v11.0.1 2019-06-04 22:32:52 +03:00
Resin CI
57fc26c0f7 v11.0.0 2019-06-04 21:17:56 +03:00
Paulo Castro
04223dbc58 Revert bin/balena (previously renamed bin/run for oclif compatibility)
Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:38 +01:00
Paulo Castro
dafbdd5f34 Add native installers for Windows and macOS
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:33 +01:00
Paulo Castro
c204dbd6cd Bump denymount version and delete redundant patch (chore task)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:59 +01:00
Paulo Castro
abf573fa47 Begin the transition to oclif with 'balena env add' (fix dropped leading
zero in device UUID).

This commit is fairly chunky because it adds the oclif dependency for
the first time, and refactors the CLI help and docs generation code to
accommodate both Capitano and oclif.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:56 +01:00
Paulo Castro
13e3e5e8ea Bump min Node.js version to 8.0, ts-node to 8.1 and typescript to 3.4.
Refactor typings folder for use with the tsconfig typeRoots option.

Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:55 +01:00
Resin CI
faa558b432 v10.17.5 2019-06-04 09:10:48 +03:00
Paulo Castro
fe3e348128 Pin moment-duration-format package (ReferenceError: window is not defined)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 02:47:45 +01:00
Resin CI
7535b7110d v10.17.4 2019-06-03 14:19:41 +03:00
Resin CI
f6a262bcde v10.17.3 2019-05-31 17:23:25 +03:00
Resin CI
fe0ba62026 v10.17.2 2019-05-30 18:05:43 +03:00
Resin CI
d21b84956c v10.17.1 2019-05-30 16:02:58 +03:00
Paulo Castro
a4efc7c9c4 Fix CI build error (missing @types/mz)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-05-30 12:57:03 +01:00
Resin CI
e6ecb0ec0b v10.17.0 2019-05-29 18:05:38 +03:00
Alexis Svinartchouk
f3ef7f6e18 Add preload --add-certificate option
Change-type: minor
2019-05-28 16:35:29 +02:00
Resin CI
e36435bb4c v10.16.0 2019-05-27 17:38:47 +03:00
Resin CI
d23d837b8c v10.15.0 2019-05-27 17:06:11 +03:00
Resin CI
5de7a50fc0 v10.14.0 2019-05-27 15:47:25 +03:00
Resin CI
a6d6035725 v10.13.6 2019-05-22 18:51:56 +03:00
Resin CI
cccc8012c9 v10.13.5 2019-05-22 15:55:18 +03:00
Alexis Svinartchouk
36ab6f5808 Update balena-preload to 8.1.4
Change-type: patch
2019-05-21 14:02:45 +02:00
Resin CI
b45e80654c v10.13.4 2019-05-20 19:54:18 +03:00
Resin CI
3b5f3c6665 v10.13.3 2019-05-17 21:16:35 +03:00
Resin CI
4088e4c66e v10.13.2 2019-05-17 20:00:43 +03:00
Resin CI
7da250914e v10.13.1 2019-05-16 13:05:40 +03:00
Resin CI
ee267cd114 v10.13.0 2019-05-16 12:33:46 +03:00
Thodoris Greasidis
7ce43f4018 Use the open-balena-api endpoints for device type & version info
Resolves: #1177
HQ: https://github.com/balena-io/balena/issues/1744
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-05-15 21:03:57 +03:00
Resin CI
3ba8be02e7 v10.12.1 2019-05-15 20:19:04 +03:00
Gergely Imreh
0adaeb5465
preload: bump version to fix preloading on logstream supervisors
Change-type: patch
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-05-15 17:56:00 +01:00
Resin CI
783cab2e50 v10.12.0 2019-05-15 17:40:55 +03:00
Resin CI
15ec99577a v10.11.1 2019-05-15 16:33:39 +03:00
Cameron Diver
7529a9a2a2 Debounce livepush invocations to collect changes together
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 14:01:30 +01:00
Resin CI
22b02c261f v10.11.0 2019-05-15 13:42:35 +03:00
Resin CI
c15276d239 v10.10.5 2019-05-14 16:22:38 +03:00
Resin CI
7a8fc14686 v10.10.4 2019-05-14 15:25:44 +03:00
Cameron Diver
20ae2bc57a
Pin pkg version to avoid node 6 error
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-14 12:37:27 +01:00
Cameron Diver
96c975d17e
Use TCP keepalive probes to detect local log stream closing
Change-type: patch
Closes: #1219
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-14 11:39:57 +01:00
Resin CI
ff8d784582 v10.10.3 2019-05-10 19:14:41 +03:00
Paulo Castro
6e343c36a8 Fix 'local configure' on macOS standalone installation
Resolves: #977
Resolves: #1212
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-05-10 16:18:13 +01:00
Resin CI
e29c275b4c v10.10.2 2019-05-10 18:04:14 +03:00
Pagan Gazzard
a503cb4757 Update dependencies including a balena-preload fix for lots of releases
Change-type: patch
2019-05-10 15:38:12 +01:00
Resin CI
b3470ac909 v10.10.1 2019-05-04 22:53:16 +03:00
Resin CI
181afb34f8 v10.10.0 2019-05-03 15:32:30 +03:00
Resin CI
d9c3332cb2 v10.9.4 2019-05-02 16:19:15 +03:00
Cameron Diver
a832f47508
Improve livepush UX
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-02 14:06:34 +01:00
Resin CI
8c68aaad49 v10.9.3 2019-05-02 15:38:03 +03:00
Gergely Imreh
b6f3975bc1
dependencies: bump gulp to v4
To fix the same error as here https://github.com/nodejs/node/issues/20285
Task changes as described at https://fettblog.eu/gulp-4-parallel-and-series/

Change-type: patch
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-05-02 11:53:54 +01:00
Gergely Imreh
f2bd3c0ffb
dependencies: bump etcher-sdk to pull in fixes
Change-type: patch
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-05-02 11:53:50 +01:00
Resin CI
3ae01fdaa0 v10.9.2 2019-05-02 13:53:25 +03:00
Resin CI
1b277bda87 v10.9.1 2019-05-01 11:16:23 +03:00
Resin CI
5b805fe1da v10.9.0 2019-04-29 16:50:50 +03:00
Resin CI
37bd6be77b v10.8.2 2019-04-29 13:13:22 +03:00
Resin CI
6d6afc5140 v10.8.1 2019-04-26 19:02:14 +03:00
Resin CI
b41f9b9261 v10.8.0 2019-04-25 13:37:06 +03:00
Resin CI
e6b09f1b94 v10.7.0 2019-04-24 19:47:46 +03:00
Resin CI
b22ddb50f1 v10.6.0 2019-04-24 17:56:56 +03:00
Resin CI
6460d850ca v10.5.0 2019-04-24 17:00:45 +03:00
Resin CI
375464eb1a v10.4.1 2019-04-24 16:03:11 +03:00
Resin CI
a697121b97 v10.4.0 2019-04-24 13:17:19 +03:00
Resin CI
f5ed0648ba v10.3.0 2019-04-23 19:43:25 +03:00
Paulo Castro
db25a65753 Add --dockerfile option to the build, deploy and push commands
It allows the selection of an alternative Dockerfile in single-
container projects that do not include a docker-compose file.

Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-04-23 15:34:19 +01:00
Paulo Castro
296f1ae2de Fix push and deploy issues under Windows ('/' vs '\' path separators)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-04-23 15:16:47 +01:00
Resin CI
579cdaa2e2 v10.2.0 2019-04-23 16:29:53 +03:00
Cameron Diver
6a9a9e1fdb
Add livepush ability to balena push
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-23 14:00:04 +01:00
Resin CI
bc563ea963 v10.1.1 2019-04-22 20:25:24 +03:00
Resin CI
e9e15dbbe3 v10.1.0 2019-04-18 18:44:46 +03:00
Paulo Castro
9da5f88ecf Updated CLI installation notes on README.md and ran prettier
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-04-18 14:52:51 +01:00
Resin CI
e619caea42 v10.0.1 2019-04-13 19:14:09 +03:00
Paulo Castro
29dd5e71a1 Fix docs markdown (deprecation messages for 'local push' and 'sync')
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-04-13 16:23:06 +01:00
Resin CI
6a9eeaaba2 v10.0.0 2019-04-03 20:01:58 +03:00
Paulo Castro
30698c62e3 Remove 'quickstart' command and deprecate 'local push'.
Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-04-03 17:34:55 +01:00
Resin CI
79e240f630 v9.15.6 2019-03-29 15:58:58 +02:00
Resin CI
5ae7457f45 v9.15.5 2019-03-28 14:26:33 +02:00
Paulo Castro
95c4c59ca0 Bump docker-progress (4.0.0) to improve balena deploy error
handling.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-03-26 23:30:13 +00:00
Resin CI
3a06c5df72 v9.15.4 2019-03-26 01:00:24 +02:00
Pablo Carranza Velez
c0990fe6c4 Update resin-compose-parse to v2.0.4
This fixes an issue parsing extra_hosts when building multicontainer projects.

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2019-03-25 15:43:20 -07:00
Pablo Carranza Velez
af382bfee4 Update resin-multibuild to v2.1.5
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2019-03-25 15:42:19 -07:00
Resin CI
6705369ca6 v9.15.3 2019-03-25 20:13:28 +02:00
Resin CI
0fac8d8d3b v9.15.2 2019-03-18 16:32:00 +02:00
Paulo Castro
a883948d56 Bump resin-multibuild (2.1.4), docker-progress (3.0.5), resin-lint (3.0.1)
The new resin-multibuild and docker-progress versions widen the range
of errors caught by the 'balena push' and 'balena build' commands.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-03-18 14:09:06 +00:00
Resin CI
da86d3303f v9.15.1 2019-03-12 15:54:38 +02:00
Resin CI
66b62df70b v9.15.0 2019-03-12 14:13:19 +02:00
Resin CI
bf566b7bb7 v9.14.7 2019-03-11 18:46:47 +02:00
Resin CI
119a630643 v9.14.6 2019-03-08 15:51:06 +02:00
Resin CI
f35655028e v9.14.5 2019-03-05 16:19:34 +01:00
Paulo Castro
5ec9dce507 Retry image push a few times (balena deploy, 'unknown blob')
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-03-05 15:02:52 +00:00
Resin CI
145b613f5d v9.14.4 2019-03-05 11:00:31 +01:00
Cameron Diver
75b9ba907f
Update resin-multibuild to pick up fixes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-03-05 09:51:08 +00:00
Resin CI
1a368ac4d4 v9.14.3 2019-03-04 21:06:12 +01:00
Resin CI
8dc5eaca52 v9.14.2 2019-03-01 12:54:23 +01:00
Paulo Castro
7a258f022f Bump resin-multibuild version to fix docker-compose 'context' issue
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-03-01 11:38:16 +00:00
Resin CI
cbdf1c3ccf v9.14.1 2019-02-28 11:21:18 +01:00
Resin CI
9fab994dec v9.14.0 2019-02-27 16:23:49 +01:00
Resin CI
17c7b97abe v9.13.0 2019-02-27 14:14:56 +01:00
Paulo Castro
c1e94e661f Integrate new resin-multibuild major version (private docker registry
authentication support for the docker-compose 'image' instruction).

Resolves: #1114
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-02-27 10:33:25 +00:00
Resin CI
8a6ee5905a v9.12.7 2019-02-27 11:05:02 +01:00
Paulo Castro
0bff122b1c Fix parsing of not-really-numeric device UUID parameters
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-02-26 10:43:57 +00:00
Resin CI
2ffb9bb574 v9.12.6 2019-02-22 18:54:30 +01:00
Resin CI
4448509d92 v9.12.5 2019-02-22 11:01:02 +01:00
Resin CI
21b32633c5 v9.12.4 2019-02-20 22:53:48 +01:00
Resin CI
4b7e0a19eb v9.12.3 2019-02-19 17:14:01 +01:00
Resin CI
0636dcf19d v9.12.2 2019-02-07 19:42:22 +01:00
Paulo Castro
6124d8c493 Remove fetching of Mixpanel token
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-02-07 17:06:10 +00:00
Resin CI
9ef99a3aa9 v9.12.1 2019-02-05 18:09:34 +01:00
Resin CI
dfd98efe8b v9.12.0 2019-01-22 15:02:07 +01:00
Resin CI
8adf66512b v9.11.2 2019-01-18 01:39:02 +01:00
Resin CI
e5f454bac3 v9.11.1 2019-01-16 20:56:29 +01:00
Resin CI
a651e27a20 v9.11.0 2019-01-16 15:13:33 +01:00
Resin CI
7b7d00c642 v9.10.1 2019-01-15 21:37:37 +01:00
Resin CI
5d00e295fd v9.10.0 2019-01-14 13:58:32 +01:00
Shaun Mulligan
2ba53649bd Improve startup time by adding fast-boot
Change-type: minor
Signed-off-by: Shaun Mulligan <shaun@balena.io>
2019-01-14 12:43:51 +00:00
Resin CI
31f4af721d v9.9.4 2019-01-14 12:20:58 +01:00
Resin CI
99650ab732 v9.9.3 2019-01-13 15:17:19 +01:00
Resin CI
3ca681a4a6 v9.9.2 2019-01-11 19:49:35 +01:00
Resin CI
e0bd6b9d4e v9.9.1 2019-01-11 18:23:33 +01:00
Alexis Svinartchouk
77b763a88f Update util available-drives action
* switch from coffeescript to typescript
 * use etcher-sdk instead of drivelist

Change-Type: patch
2019-01-11 17:56:34 +01:00
Alexis Svinartchouk
f9390ceb10 Update lib/actions/local/flash.coffee
* switch to typescript
 * replace etcher-image-stream with etcher-sdk

Change-type: patch
2019-01-11 17:56:34 +01:00
Resin CI
bc41ff0540 v9.9.0 2019-01-10 14:52:32 +01:00
Resin CI
f3d5e26e1e v9.8.0 2019-01-07 19:45:17 +01:00
Resin CI
8ee994ce7d v9.7.0 2018-12-28 23:11:23 +01:00
Resin CI
7713ca31e5 v9.6.0 2018-12-18 22:19:12 +01:00
Paulo Castro
0f302d30ec Add push --registry-secrets option for private docker registry authentication
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2018-12-18 00:01:15 +00:00
Resin CI
140e851fcd v9.5.0 2018-12-14 17:07:40 +02:00
Resin CI
095a597381 v9.4.1 2018-12-14 12:38:50 +02:00
Alexis Svinartchouk
03a3ef38e1 Fix deploy action on node 6
Downgrade @types/node to version 6 as we support node6

Change-type: patch
2018-12-14 11:26:59 +01:00
Resin CI
464d706920 v9.4.0 2018-12-10 23:22:40 +02:00
Resin CI
f096f4f55f v9.3.6 2018-12-03 15:25:48 +02:00
Resin CI
6070ee0f83 v9.3.5 2018-11-28 20:30:15 +02:00
Thodoris Greasidis
ca861a6349 Fix potential dependency security issue
Until further investigation it is recommended to pin event-stream
to v3.3.4.

Change-type: patch
See: https://github.com/dominictarr/event-stream/issues/116
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2018-11-28 20:15:28 +02:00
Resin CI
493c6576c3 v9.3.4 2018-11-28 19:53:54 +02:00
Cameron Diver
ca8484b466
Update dependencies
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 17:03:47 +00:00
Resin CI
7a8d746a54 v9.3.3 2018-11-27 17:32:16 +02:00
Resin CI
47b35db03e v9.3.2 2018-11-26 11:04:04 +02:00
Resin CI
6677f1faf5 v9.3.1 2018-11-26 10:00:27 +02:00
Resin CI
759c2d4a6f v9.3.0 2018-11-22 16:28:28 +02:00
Alexis Svinartchouk
2f53cbf088 Stop pinning ext2fs and update preload to ^8.0.4
* ext2fs fixes build issues on 32 bit Linux platforms
 * preload fixes issues with the --dont-check-arch flag

Change-type: minor
2018-11-22 14:46:45 +01:00
Resin CI
c3b74a869a v9.2.2 2018-11-20 15:38:57 +02:00
Resin CI
67de638c76 v9.2.1 2018-11-19 16:15:29 +01:00
Cameron Diver
6ad4598e7e
Add case-insensitive checking for application names in balena push
The filter is added with an `as any`, as the typings dont yet support
using $eq and $ne.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-19 12:49:00 +00:00
Resin CI
fd580083d5 v9.2.0 2018-11-16 19:14:15 +01:00
Akis Kesoglou
8291c96e69 Make specifying the version during configuration optional
`version` used to be optional but it seems we recently had to make it a required parameter. However it really feels redundant when all it’s used for is to determine whether the command should issue a legacy user API key or a provisioning key.

This makes version optional but tries to figure it out by itself by reading os-release from the image's boot partition. This is not foul-proof however, and while it'll work with most recent images it won't work with all and in that case it'll bail out and only then warn the user to specify it via the --version argument.

Change-type: minor
2018-11-16 19:39:43 +02:00
Resin CI
561325e66d v9.1.4 2018-11-16 18:21:48 +01:00
Resin CI
0273d2e02c v9.1.3 2018-11-16 16:00:43 +01:00
Resin CI
9ca76348ff v9.1.2 2018-11-13 19:08:00 +01:00
Tim Perry
116c3c787c Fix build & deploy commands in standalone build
Change-type: patch
2018-11-13 18:43:00 +01:00
Resin CI
74a896b3cd v9.1.1 2018-11-12 17:17:16 +01:00
Resin CI
3a3cfbc85e v9.1.0 2018-11-08 11:27:20 +01:00
Resin CI
69ab9788fc v9.0.3 2018-11-07 16:47:02 +01:00
Resin CI
203285bab9 v9.0.2 2018-11-06 13:08:14 +01:00
Tim Perry
75bc937995 Stop validating device config, now that it's API-generated
Change-type: patch
2018-11-06 12:31:05 +01:00
Resin CI
dd41145912 v9.0.1 2018-11-01 15:18:58 +01:00
Resin CI
fdc9fd67d8 v9.0.0 2018-10-29 22:46:27 +01:00
Tim Perry
4907fccf48 Rename everything from 'resin' to 'balena'
Change-type: major
2018-10-29 22:29:02 +01:00
Thodoris Greasidis
f4b84941cd package.json: Use the pre-release balena SDK
Signed-off-by: Thodoris Greasidis <thodoris@resin.io>
2018-10-29 22:29:02 +01:00
Resin CI
8dc4c0871a v8.1.0 2018-10-24 12:44:15 +02:00
Thodoris Greasidis
24c2ffefc9 chore: Add on the fly transpiled bin
Adds an alternative bin file that does not require building the project but
loads the source files directly.

Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2018-10-24 13:05:02 +03:00
Resin CI
c293a1742d v8.0.3 2018-10-22 18:39:13 +02:00
Resin CI
67ebf7aa19 v8.0.2 2018-10-20 19:09:46 +02:00
Resin CI
73455b4264 v8.0.1 2018-10-20 15:26:04 +02:00
Tim Perry
c904726259 Update dockerignore to fix escSL bug
Change-type: patch
2018-10-20 14:54:33 +02:00
Resin CI
6606b65c9b v8.0.0 2018-10-19 17:31:41 +02:00
Cameron Diver
947f91d570 Support multicontainer local mode in resin push
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-19 16:44:56 +02:00
Cameron Diver
a3dd489c70 Respect ignore files when tarring sources
This commit brings in the ignore and dockerignore libraries, which when
provided with the patterns in the aforementioned files will ignore them.

Change-type: major
Closes: 889
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-19 16:43:22 +02:00
Alexis Svinartchouk
0c1c108b2b Check for correct architecture when preloading, instead of correct device type
Preload will now propose to preload any app that matches the image
architecture.

Change-type: major
Signed-off-by: Alexis Svinartchouk <alexis@resin.io>
2018-10-19 16:43:02 +02:00
Cameron Diver
dac45a884e dev: Add fast test npm task, to speed development
Currently running the tests is painfully slow, this commit adds a task
which will run the bare minimum build, and then the tests, speeding up
the process by an order of magnitude.

I had to repeat `gulp test`, instead of reusing `npm run test`, so that
the pretest task isn't ran too.

Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-19 16:42:42 +02:00
Resin CI
684ac9fa24 v7.10.9 2018-10-18 21:08:35 +02:00
Resin CI
14bfca8c3a v7.10.8 2018-10-18 20:14:43 +02:00
Resin CI
a8ceadc300 v7.10.7 2018-10-18 17:25:57 +02:00
Resin CI
8e83a401eb v7.10.6 2018-10-03 06:58:41 -07:00
Resin CI
bd59f95e1a v7.10.5 2018-09-25 07:09:26 -07:00
Resin CI
733b98f072 v7.10.4 2018-09-24 10:08:55 -07:00
Resin CI
33a23773d8 v7.10.3 2018-09-19 09:17:52 -07:00
Resin CI
5b0ea9673f v7.10.2 2018-09-18 09:17:50 -07:00
Lucian Buzzo
a5e03d55c3 dependencies: Update resin-semver version to support Balena OS
Connects to #969

Change-type: patch
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
2018-09-18 14:23:10 +01:00
Resin CI
80629322ea v7.10.1 2018-09-11 05:29:41 -07:00
Resin CI
0a7203cafe v7.10.0 2018-09-11 04:21:19 -07:00
Pagan Gazzard
9cd8228a20 Update resin-cli-form to 2.x
Change-type: minor
Signed-off-by: Pagan Gazzard <page@resin.io>
2018-09-10 18:31:51 +01:00
Resin CI
652b5f22dd v7.9.4 2018-09-10 06:34:48 -07:00
resin-io-versionbot[bot]
74789ae88f v7.9.3 2018-08-20 15:29:02 +00:00
resin-io-versionbot[bot]
3c2f7ea622 v7.9.2 2018-08-15 21:31:24 +00:00
resin-io-versionbot[bot]
06c649dfd0 v7.9.1 2018-08-15 17:59:46 +00:00
resin-io-versionbot[bot]
975ae45e49 v7.9.0 2018-08-09 14:42:30 +00:00
resin-io-versionbot[bot]
c90ba7aa0f v7.8.6 2018-08-09 10:29:50 +00:00
resin-io-versionbot[bot]
fd707d6a07 v7.8.5 2018-08-09 10:01:55 +00:00
Tim Perry
d8aaccf80c Update typed-error to fix some TS complaints
Signed-off-by: Tim Perry <tim@resin.io>
2018-08-09 11:21:45 +02:00
resin-io-versionbot[bot]
2cb69c12f1 v7.8.4 2018-08-02 10:29:33 +00:00
Tim Perry
7c75346a1a Update klaw
The changes from our fork have now been completed and released

Change-type: patch
Signed-off-by: Tim Perry <tim@resin.io>
2018-08-01 16:43:26 +02:00
resin-io-versionbot[bot]
a46a79df59 v7.8.3 2018-07-25 13:58:28 +00:00
Tim Perry
e350f9b335 Follow links found during builds
Change-Type: patch
2018-07-25 12:38:17 +02:00
resin-io-versionbot[bot]
ef3c7f0fd6 v7.8.2 2018-07-25 10:13:48 +00:00
Tim Perry
f4f44f978e Update reconfix to fix volume signature errors in local configure
Change-Type: patch
2018-07-24 20:57:40 +02:00
resin-io-versionbot[bot]
ef33ffedcf v7.8.1 2018-07-20 17:38:09 +00:00
Tim Perry
430d4aeaa7 Be explicit about how much initial history log tailing includes
Change-Type: patch
2018-07-20 16:32:31 +02:00
resin-io-versionbot[bot]
1fa7141b58 v7.8.0 2018-07-20 10:40:22 +00:00
Akis Kesoglou
5cbe1c410f Add join/leave commands to promote and move devices between platforms
Both commands work with local devices by remotely invoking the `os-config` executable via SSH. This requires an as of yet unreleased resinOS (that will most likely be v2.14) and the commands ascertain compatibility merely by looking for the `os-config` executable in the device, and bail out if it’s not present.

`join` and `leave` accept a couple of optional arguments and implement a wizard-style interface if these are not given. They allow to interactively select the device and the application to promote to. If the user has no apps, `join` will offer the user to create one. `join` will also offer the user to login or create an account if they’re not logged in already without exiting the wizard.

`resin-sync` (that's used internally to discover local devices) requires admin privileges. If no device has been specified as an argument, the commands will launch the device scanning process in a privileged subprocess via two new internal commands: `internal sudo` and `internal scanDevices`. This avoids having the user to invoke the commands with sudo and only request escalation if truly needed. This commit also removes the dependency to “president”, implementing “sudo” functionality within the CLI.

Change-Type: minor
2018-07-19 22:18:02 +03:00
resin-io-versionbot[bot]
25b853c535 v7.7.4 2018-07-17 15:35:26 +00:00
Tim Perry
a93141343f Update TypeScript to 2.8.1
Change-Type: patch
2018-07-17 16:48:14 +02:00
Tim Perry
9a467c5ecd Pin all type modules 2018-07-17 15:59:31 +02:00
Tim Perry
0bf6fb1739 Add --version options to os configure & config generate
This is used to ensure the correct type of API key is used in all
configuration.

Change-Type: patch
2018-07-13 19:34:59 +02:00
resin-io-versionbot[bot]
dea5a60b2d v7.7.3 2018-07-13 17:05:32 +00:00
resin-io-versionbot[bot]
e04c4a8ee3 v7.7.2 2018-07-13 11:33:13 +00:00
Tim Perry
9d0c3f7535 Pin ext2fs to 1.0.7 to avoid temporary deployment issues
Change-Type: patch
2018-07-13 13:20:53 +02:00
resin-io-versionbot[bot]
8296dcf946 v7.7.1 2018-07-12 13:52:10 +00:00
Tim Perry
dc9ee09838 Update CLI to SDK v10 (include new API logs)
Change-Type: patch
2018-07-12 01:03:16 +02:00
resin-io-versionbot[bot]
ce3e04bfe8 v7.7.0 2018-07-11 04:21:42 +00:00
resin-io-versionbot[bot]
9017b8ec11 v7.6.2 2018-06-28 12:55:34 +00:00
resin-io-versionbot[bot]
fba4afb7d2 v7.6.1 2018-06-26 17:15:20 +00:00
resin-io-versionbot[bot]
7d1b00877e v7.6.0 2018-06-20 16:50:01 +00:00
Cameron Diver
1a48fed1f7
Support pinned release preloading
Change-type: minor
Closes: #886
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-13 12:29:30 +01:00
resin-io-versionbot[bot]
f6822f1502 v7.5.2 2018-06-12 18:26:12 +00:00
Tim Perry
398c34d842 Includes new prettier changes, and pin prettier to stop more appearing 2018-06-12 17:43:15 +02:00
resin-io-versionbot[bot]
0ce7878042 v7.5.1 2018-06-01 10:49:15 +00:00
resin-io-versionbot[bot]
78aa898b37 v7.5.0 2018-05-31 16:07:38 +00:00
Ariel Flesler
b7f94a222d Update resin-compose-parse dependency version to 1.10.2
Change-type: minor
2018-05-30 11:57:04 -03:00
resin-io-versionbot[bot]
7c178b8095 v7.4.1 2018-05-24 14:03:02 +00:00
resin-io-versionbot[bot]
c88dd2257a v7.4.0 2018-05-10 12:28:32 +00:00
Cameron Diver
439d8d396f
Add push command which starts a build on remote resin servers
Change-type: minor
Connects-to: #843
2018-05-10 11:43:45 +01:00
resin-io-versionbot[bot]
e85f252f29 v7.3.8 2018-05-03 17:49:06 +00:00
Tim Perry
e7a8deed05 Inline the entire resin-cli-errors module
It's awkward that error handling requires you to go to a different
package, it makes things more complicated, and there's nowhere else that
really should be reusing this logic. Let's inline it, so we can
deprecate the module entirely.

Change-Type: patch
2018-05-03 15:15:03 +02:00
resin-io-versionbot[bot]
7d7074e6b7 v7.3.7 2018-04-30 15:18:31 +00:00
Cameron Diver
35ca34d07d
Pin node types to v9.0.0 to avoid build errors with transient dependencies
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-30 16:09:12 +01:00
resin-io-versionbot[bot]
904b4e96d9 v7.3.6 2018-04-30 09:34:40 +00:00
Tim Perry
2c46c59a79 Update resin-image-fs to stop non-config commands failing in node 10
This doesn't fix actual usage of image fs, just makes it possible to
stop commands that don't use it from failing entirely.

Connects-To: #869
Change-Type: patch
2018-04-30 11:14:39 +02:00
resin-io-versionbot[bot]
a154401424 v7.3.5 2018-04-18 19:00:21 +00:00
resin-io-versionbot[bot]
167f38e342 v7.3.4 2018-04-18 16:27:52 +00:00
Tim Perry
919b3c3435 Include resin compose schemas in the standalone build
Fixes #844
Change-Type: patch
2018-04-18 13:34:35 +02:00
resin-io-versionbot[bot]
0a23563d7e v7.3.3 2018-04-17 14:01:51 +00:00
Tim Perry
a16ac37625 Include Sentry breadcrumbs for context in error reports
Change-Type: patch
2018-04-17 15:18:06 +02:00
Tim Perry
cf4c7826b2 Update to Sentry 2.x
Change-Type: patch
2018-04-17 15:18:06 +02:00
resin-io-versionbot[bot]
a921139a12 v7.3.2 2018-04-16 15:21:33 +00:00
Tim Perry
36da7b66c8 Update Dockerode to fix local push issue in standalone builds
Connects-To: #824
Change-Type: patch
2018-04-16 16:43:17 +02:00
resin-io-versionbot[bot]
6121fa505e v7.3.1 2018-04-13 19:38:01 +00:00
Pablo Carranza Velez
a5ba5befd1 Update resin-compose-parse to v1.8.1 to fix a problem parsing ports
Connects-to: https://github.com/resin-io/resin-supervisor/issues/618

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-13 11:17:18 -07:00
resin-io-versionbot[bot]
d7616e941a v7.3.0 2018-04-12 10:06:09 +00:00
Tim Perry
834a2f1e4d Warn user that api keys will not be shown again in future 2018-04-11 19:31:03 +02:00
Tim Perry
0e5f2fe748 Remove now-unused stream-to-promise dependency 2018-04-11 19:30:29 +02:00
Tim Perry
59d4890eae Add 'api-key generate' command
Change-Type: minor
2018-04-10 19:21:37 +02:00
resin-io-versionbot[bot]
2655aef28b v7.2.4 2018-04-10 13:49:09 +00:00
Tim Perry
45d3a7a124 Explicitly depend on tar-stream
Change-Type: patch
2018-04-10 13:10:25 +02:00
resin-io-versionbot[bot]
0a924b2dcb v7.2.3 2018-04-06 16:27:32 +00:00
Cameron Diver
89f62683ce
Add a fast build script to package.json
This doesn't run a linter or any documentation generation, aiding in
quick development time.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-06 15:40:08 +01:00
resin-io-versionbot[bot]
d166a65422 v7.2.2 2018-04-04 18:56:26 +00:00
resin-io-versionbot[bot]
81e653d31b v7.2.1 2018-03-29 13:52:06 +00:00
Tim Perry
875ec8b8bd Update docker-qemu-transpose to avoid the broken 0.4.1 release
Change-Type: patch
2018-03-29 15:28:56 +02:00
resin-io-versionbot[bot]
0829d3c176 v7.2.0 2018-03-29 10:09:08 +00:00
Tim Perry
d3a0bfc5f6 Fix auth utils tests to work with new SDK 2018-03-29 11:11:25 +02:00
resin-io-versionbot[bot]
a2d867c860 v7.1.6 2018-03-29 08:56:07 +00:00
Tim Perry
05b1c37379 Fix build emulation for multi-stage builds
Fixes #814
Change-Type: patch
2018-03-29 10:18:31 +02:00
resin-io-versionbot[bot]
3c8054faa7 v7.1.5 2018-03-27 17:51:36 +00:00
resin-io-versionbot[bot]
9cce4001af v7.1.4 2018-03-26 16:09:22 +00:00
Tim Perry
2e944cf2f4 Upgrade resin-sync to pull in the fix for #824
Change-Type: patch
2018-03-26 17:39:47 +02:00
resin-io-versionbot[bot]
49fec7d8f2 v7.1.3 2018-03-23 15:49:16 +00:00
resin-io-versionbot[bot]
69ce2c0473 v7.1.2 2018-03-23 13:49:24 +00:00
Alexis Svinartchouk
a3b446dbe7 Update resin-preload to 6.2.0 and resin-sdk to 9.0.0-beta16
Change-Type: patch
2018-03-23 13:41:16 +00:00
resin-io-versionbot[bot]
12e8a50abc v7.1.1 2018-03-22 17:06:07 +00:00
resin-io-versionbot[bot]
e011502b7e v7.1.0 2018-03-22 11:36:41 +00:00
Akis Kesoglou
62f006b89a Add legacy deploy method back
This mostly reverts the removal of the legacy deploy code that pushed image tars via the builder. It’s needed for users to avoid having to switch between CLI versions in order to push to legacy apps as well.

Note: this pins resin-sdk to 9.0.0-beta14 as I couldn’t get it to install otherwise — npm would always install 9.0.0-beta9 instead.

Change-Type: minor
2018-03-22 13:26:47 +02:00
resin-io-versionbot[bot]
bb102c1918 v7.0.7 2018-03-20 15:44:13 +00:00
Alexis Svinartchouk
24ebe2946c Update resin-preload to 6.1.2
Connects-To: #820

Change-Type: patch
2018-03-20 15:22:59 +00:00
resin-io-versionbot[bot]
e3b145e7b7 v7.0.6 2018-03-20 10:33:01 +00:00
Akis Kesoglou
1833f6ff0a Improve handling of build log output
This makes sure build logs don’t leak escape sequences and new lines and they don’t break the output. Also improved “inline” logs by normalising the stream before passing it to “transpose build stream”.

Fixes: #808
Change-Type: patch
2018-03-19 20:52:51 +02:00
resin-io-versionbot[bot]
13f76dc020 v7.0.5 2018-03-15 18:51:46 +00:00
resin-io-versionbot[bot]
a03680311d v7.0.4 2018-03-15 12:01:05 +00:00
resin-io-versionbot[bot]
b912419839 v7.0.3 2018-03-15 08:47:28 +00:00
resin-io-versionbot[bot]
b6e044345f v7.0.2 2018-03-13 10:47:55 +00:00
resin-io-versionbot[bot]
3a3178bcb9 v7.0.1 2018-03-12 15:36:10 +00:00
Tim Perry
c42bc74f1f Remove unnecessary resin-cli-auth dependency
Change-Type: patch
2018-03-12 11:41:58 +01:00
Tim Perry
35fd79f577 Remove (duplicated) runtime ts-node dependency 2018-03-12 11:41:14 +01:00
resin-io-versionbot[bot]
d0b7047189 v7.0.0 2018-03-09 22:04:51 +00:00
Alexis Svinartchouk
ae3f936b66 Update resin-preload to v6.0.0 2018-03-09 21:53:34 +00:00
Alexis Svinartchouk
1ef492809b Update resin-preload to v6.0.0-beta11 2018-03-09 20:40:13 +00:00
Alexis Svinartchouk
5bf9dd3a9d Update resin-preload to v6.0.0-beta10 2018-03-09 17:50:20 +00:00
Alexis Svinartchouk
b18a66f66b Update resin-preload to v6.0.0-beta9 2018-03-09 17:02:44 +00:00
Akis Kesoglou
14a3f51b73
Add docker-compose-aware builds and deployments
Legacy behaviour is mostly retained. The most notable change in behaviour is that invoking `resin deploy` without options is now allowed (see help string how it behaves).

In this commit there are also the following notable changes:

- Deploy/Build are promoted to primary commands
- Extracts QEMU-related code to a new file
- Adds a utility file to retrieve the CLI version and its parts
- Adds a helper that can be used to manipulate display on capable clients
- Declares several new dependencies. Most are already indirectly installed via some dependency

Change-Type: minor
2018-03-07 14:48:05 +00:00
Akis Kesoglou
7fd31b6a64
Update YAML parser
New version is 3.10.0
2018-03-07 14:47:16 +00:00
Akis Kesoglou
299bc0db13
Update docker-toolbelt
New version is 3.1.0.

The updated version is not backwards compatible as it removes all *Async methods that are in wide use in the CLI. The workaround for now is to manually promisify the client and replace all `new Docker()` calls with a shared function that returns a promisified client.
2018-03-07 14:47:15 +00:00
Akis Kesoglou
4b9ccae442
Update bundle-resolve and docker-build to latest
This brings in maintainance improvements.

New versions are:

- resin-bundle-resolve: 0.5.1
- resin-docker-build: 0.6.2
2018-03-07 14:46:35 +00:00
Tim Perry
079ce552e3
*BREAKING*: Remove support for plugins entirely
There are very few plugins in real-world use, we're not actively working
on this at all, and the current approach won't work once we move to
standalone node-less binary installation anyway.

Change-Type: major
2018-03-07 14:46:35 +00:00
Alexis Svinartchouk
f698f561c9
Multicontainer preload: Update resin-preload to 6.0.0-beta4
Change-Type: minor
2018-03-07 14:46:35 +00:00
Alexis Svinartchouk
76a5cdc977
Require multicontainer SDK
* require('resin-sdk') => multicontainer SDK
 * require('resin-sdk-preconfigured') => 6.15.0 SDK
 * all 'resin-sdk' requires replaced with 'resin-sdk-preconfigured'
 * resin-sdk-preconfigured TS typings are copy pasted from the current resin-sdk master

The idea is to progressively replace all 'resin-sdk-preconfigured'
requires with 'resin-sdk' (multicontainer sdk) and eventually remove
resin-sdk-preconfigured from package.json.

Change-Type: patch
2018-03-07 14:46:31 +00:00
resin-io-versionbot[bot]
ac7d51ad80 v6.13.5 2018-03-07 14:38:49 +00:00
resin-io-versionbot[bot]
a83d9a070c v6.13.4 2018-02-22 18:23:29 +00:00
Gergely Imreh
7637377471
Fix issue where emulated builds broke Docker ENV commands
Connects-to: #795
Change-type: patch
2018-02-22 18:12:17 +00:00
resin-io-versionbot[bot]
92534b9c82 v6.13.3 2018-02-20 21:30:39 +00:00
Tim Perry
c12360daa8 Tweak TS & add missing deps that may cause build failures in some envs
Connects-To: #765
Change-Type: patch
2018-02-20 20:26:18 +01:00
resin-io-versionbot[bot]
04adfde064 v6.13.2 2018-02-20 17:12:45 +00:00
resin-io-versionbot[bot]
55f8876bcc v6.13.1 2018-02-07 11:59:58 +00:00
Tim Perry
9fb66186f0 Move to the correct coffeescript (no hyphen) dependency
Change-Type: patch
2018-02-07 11:20:49 +01:00
resin-io-versionbot[bot]
5131f722a7 v6.13.0 2018-02-06 11:34:29 +00:00
resin-io-versionbot[bot]
5c0ba5d06c v6.12.9 2018-02-05 19:00:36 +00:00
Alexis Svinartchouk
d9532b6fa0 Switch back to upstream global-tunnel-ng
Connects-To: #780

Change-Type: patch
2018-02-05 15:55:26 +00:00
resin-io-versionbot[bot]
0e9b8e4140 v6.12.8 2018-02-03 15:50:09 +00:00
resin-io-versionbot[bot]
64c95e3811 v6.12.7 2018-01-30 17:29:59 +00:00
MoranF
33fd70291a Add 'or mounted resinOS image'
Connects-To: #764

Change-Type: patch
2018-01-30 17:30:18 +01:00
resin-io-versionbot[bot]
3761ab9610 v6.12.6 2018-01-29 14:44:44 +00:00
resin-io-versionbot[bot]
77529ef3b1 v6.12.5 2018-01-11 10:16:56 +00:00
resin-io-versionbot[bot]
c94f7b10bd v6.12.4 2018-01-10 09:48:26 +00:00
Tim Perry
83a76f7d6f Start using Prettier
Change-Type: patch
2018-01-10 09:23:00 +01:00
Tim Perry
6c988241eb Move capitanodoc into the automation folder 2018-01-10 08:41:19 +01:00
resin-io-versionbot[bot]
4b74e8ec70 v6.12.3 2018-01-09 21:00:55 +00:00
Tim Perry
6daed83d88 Lint TypeScript and CoffeeScript with resin-lint
Change-Type: patch
2018-01-09 17:14:49 +01:00
Tim Perry
f25442c036 Move documentation generation to TypeScript
Change-Type: patch
2018-01-09 17:14:49 +01:00
Tim Perry
ffffd447f2 Convert most of utils to TypeScript
Change-Type: patch
2018-01-09 17:14:48 +01:00
resin-io-versionbot[bot]
107a90395c v6.12.2 2018-01-09 14:03:45 +00:00
resin-io-versionbot[bot]
eb945b3315 v6.12.1 2018-01-02 10:49:06 +00:00
resin-io-versionbot[bot]
15b877f005 v6.12.0 2017-12-19 08:37:19 +00:00
Andreas Fitzek
1b4dabd37c
Add ssh option for direct host OS access
Use the `--host` (short `-H`) option in the ssh command to access
the host OS of the device.
Direct host OS is enabled for devices with Resin OS >= 2.7.5.

Change-Type: minor
Connects-To: #736
Signed-off-by: Andreas Fitzek <andreas@resin.io>
2017-12-18 17:03:16 +01:00
resin-io-versionbot[bot]
1a15fdd2f0 v6.11.0 2017-12-18 14:48:09 +00:00
Tim Perry
2c66280b3f Build standalone zips into a separate folder 2017-12-18 15:03:17 +01:00
Tim Perry
778c39d947 Ensure MDNS service definitions are included in standalone binaries 2017-12-18 14:55:07 +01:00
Tim Perry
afbb9474b7 Use proper strict settings for automation TS 2017-12-18 14:55:07 +01:00
Tim Perry
0acb4f8cb1 Fix docs generation when building on windows
Change-Type: patch
2017-12-18 14:55:07 +01:00
Tim Perry
2c9b80c177 Add manual script to deploy built CLI binaries to GitHub 2017-12-18 14:55:07 +01:00
Tim Perry
e8c19df8c9 Set up a script to automate builds, and support native extensions 2017-12-18 14:55:07 +01:00
Tim Perry
7681003512 Package the CLI into a standalone runnable binary
This has no native modules yet, which means it works on Linux,
but ignoring any ext4 image data. Drivelist will fail for
some windows operations, but most other things should work.

This is only building a folder with a runnable binary, this needs
packaging before it can be distributable.

Change-Type: minor
2017-12-18 14:55:07 +01:00
Tim Perry
dba8db19cb Move from open to opn
Change-Type: patch
2017-12-18 14:55:07 +01:00
resin-io-versionbot[bot]
f2840c5ca4 v6.10.3 2017-12-15 17:48:25 +00:00
resin-io-versionbot[bot]
e4432d1a90 v6.10.2 2017-11-27 17:25:41 +00:00
Tim Perry
bd6cb04a2b Replace underscore.string usage with lodash 2017-11-27 12:03:04 +02:00
Tim Perry
001c8f9601 Inline the entire resin-cli-auth module
This is part of a general push to demodularize any code that isn't
realistically reusable outside resin-cli, to make the codebase easier to
manage and understand. Once this is done, we'll deprecate the original
module itself.

Change-Type: patch
2017-11-27 12:02:57 +02:00
resin-io-versionbot[bot]
6fbe602b77 v6.10.1 2017-11-27 09:32:58 +00:00
Tim Perry
dc549a665b Update to latest latest typescript 2017-11-27 11:25:20 +02:00
Tim Perry
46ca62db3e Include lib/ in published package too, to enable sourcemaps 2017-11-23 19:29:07 +02:00
Tim Perry
eb68bb1a1a Set up TypeScript compilation, and make a small start on converting the CLI
Change-Type: patch
2017-11-23 19:28:15 +02:00
Tim Perry
93d1e3a4a1 Rename gulp build step to coffee 2017-11-23 19:24:03 +02:00
Tim Perry
ff2ee59dae Don't commit raw JS build output
This lets us avoid lots of potential conflicts, issues, and confusion,
and keeps reviews simpler and cleaner.

Change-Type: patch
2017-11-23 19:23:59 +02:00
resin-io-versionbot[bot]
67fcc6791c v6.10.0 2017-11-17 10:43:54 +00:00
resin-io-versionbot[bot]
656656bec1 v6.9.0 2017-11-16 14:09:40 +00:00
resin-io-versionbot[bot]
2db6cdd063 v6.8.3 2017-11-16 13:55:44 +00:00
resin-io-versionbot[bot]
3763bf0712 v6.8.2 2017-11-14 10:27:31 +00:00
resin-io-versionbot[bot]
727a245715 v6.8.1 2017-11-09 15:16:17 +00:00
resin-io-versionbot[bot]
ebd1d7e370 v6.8.0 2017-10-27 14:32:34 +00:00
Alexis Svinartchouk
eef192ff68 Allow preloading jetson-tx2 images, improve flasher images detection and remove the --dont-detect-flasher-type-images option.
* update resin-preload to 5.0.0

Connects-To: #705

Change-Type: minor
2017-10-27 12:14:27 +02:00
resin-io-versionbot[bot]
68e31468cc v6.7.4 2017-10-25 11:52:10 +00:00
resin-io-versionbot[bot]
737e961979 v6.7.3 2017-10-25 10:17:42 +00:00
Alexis Svinartchouk
3bca36c277 Allow specifying --commit=latest for resin preload
Connects-To: #700

Depends-On: https://github.com/resin-io/resin-preload/pull/137

Change-Type: patch
2017-10-25 12:09:08 +02:00
resin-io-versionbot[bot]
266870018a v6.7.2 2017-10-24 17:57:39 +00:00
Tim Perry
80bc044415 Make update-notifier more resilient and ensure it obeys NO_UPDATE_NOTIFIER, by updating it
Connects-To: #698
Change-Type: patch
2017-10-24 19:31:16 +02:00
resin-io-versionbot[bot]
385e2c7f7a v6.7.1 2017-10-24 14:56:48 +00:00
resin-io-versionbot[bot]
3f692ecbb0 v6.7.0 2017-10-18 18:18:01 +00:00
Tim Perry
a8f1d16b26 Make resin os configure safe with device keys for all ResinOS versions 2017-10-18 13:43:16 +02:00
Pagan Gazzard
3fd4f328ab Added a device api key parameter to the os configure command.
Change-Type: minor
2017-10-18 13:43:16 +02:00
Pagan Gazzard
97eaf174ec Added a --device-api-key option to the config generate command.
Change-Type: minor
2017-10-18 13:43:16 +02:00
Pagan Gazzard
2ef56a9a3f Added a --device-api-key option to the device register command.
Change-Type: minor
2017-10-18 13:43:16 +02:00
resin-io-versionbot[bot]
ce70102378 v6.6.13 2017-10-18 10:41:28 +00:00
Tim Perry
0e4c6c459c Fix issue where os download would always download prod images
This also adds support for submodules using resin-sdk shared options
rather than resin-sdk-preconfigured.

Change-Type: patch
Connects-To: #688
2017-10-17 21:20:35 +02:00
resin-io-versionbot[bot]
e9c7e0e924 v6.6.12 2017-10-16 18:51:54 +00:00
Alexis Svinartchouk
119fa78927 Update resin-preload to 4.0.2 to support preloading Edison images
Change-Type: patch
2017-10-16 19:27:12 +02:00
resin-io-versionbot[bot]
8af392029f v6.6.11 2017-10-13 14:26:20 +00:00
resin-io-versionbot[bot]
19b0ec7f8b v6.6.10 2017-10-09 10:12:22 +00:00
resin-io-versionbot[bot]
43a7e3ddf4 v6.6.9 2017-10-06 09:19:54 +00:00
resin-io-versionbot[bot]
f7c0258145 v6.6.8 2017-10-06 07:42:39 +00:00
resin-io-versionbot[bot]
989877d541 v6.6.7 2017-09-22 17:14:37 +00:00
Tim Perry
9aef632afd Update to resin-sync, which fixes local push on windows
Change-Type: patch
2017-09-22 19:17:28 +03:00
Tim Perry
62035fac83 Move to using the catch-uncommitted npm package 2017-09-15 14:36:33 +02:00
resin-io-versionbot[bot]
e431083e84 v6.6.6 2017-09-11 14:45:51 +00:00
resin-io-versionbot[bot]
5a620d6c9e v6.6.5 2017-08-31 12:28:28 +00:00
resin-io-versionbot[bot]
8b9e78d645 v6.6.4 2017-08-31 12:18:41 +00:00
resin-io-versionbot[bot]
3052100973 v6.6.3 2017-08-31 11:44:39 +00:00
resin-io-versionbot[bot]
5474666f9e v6.6.2 2017-08-31 07:22:43 +00:00
Tim Perry
2bbd45e867 Use DOCKER_HOST from env if possible, and no connection options are available
Connects-to: #625
Change-Type: patch
2017-08-31 15:18:32 +08:00
resin-io-versionbot[bot]
710a938b3f v6.6.1 2017-08-28 09:34:59 +00:00
Alexis Svinartchouk
be7c1d278e Update resin-preload to 3.1.4
Connects-To: #649

Change-Type: patch
2017-08-28 10:49:08 +02:00
resin-io-versionbot[bot]
a5128cd49e v6.6.0 2017-08-28 08:42:44 +00:00
resin-io-versionbot[bot]
0158d1da48 v6.5.3 2017-08-24 12:25:11 +00:00
Tim Perry
4cdf3acf42 v6.5.2 2017-08-22 19:22:05 +02:00
Alexis Svinartchouk
b07a394592 Add progress bars and spinners for resin preload.
Connects-To: #628

Change-Type: minor
2017-08-22 18:42:20 +02:00
Alexis Svinartchouk
c6c2f0bedc Don't try preloading the same build twice in an image.
Connects to #626

Change-Type: patch
2017-08-21 19:24:30 +02:00
Tim Perry
74d6cfb8d2 v6.5.1 2017-08-21 11:33:12 +02:00
Tim Perry
9beb6de7d8 Move to prepublishOnly to speed up npm install a little 2017-08-18 15:56:35 +02:00
Tim Perry
74743745c4 v6.5.0 2017-08-18 15:45:45 +02:00
Tim Perry
224dfce4a8 Merge pull request #624 from resin-io/remove-babel
Remove unused babel dependency
2017-08-17 11:40:15 +02:00
Tim Perry
f8f1f52662 Remove unused babel dependency 2017-08-16 19:41:56 +02:00
Tim Perry
e204707ee0 Upgrade to lodash v4 2017-08-16 18:58:46 +02:00
Tim Perry
340b2d5572 Update npm package description 2017-08-16 11:47:43 +02:00
Cameron Diver
dc1b3c3239
Allow the looking up of applications with the owner
change-type: minor
Connects-to: #594
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-08-14 17:00:33 +01:00
Alexis Svinartchouk
4665a72baf Use forked global-scoket-ng that doesn't proxy connection to socket files.
Connects to #618

Change-Type: patch
2017-08-11 17:02:17 +02:00
Alexis Svinartchouk
22b3c39b2b Integrate resin-preload
* split docker connection options from lib.utils.docker.appendOptions

Connects to #609
Connects to https://github.com/resin-io/resin-preload/pull/81

Change-Type: minor
2017-08-11 15:43:07 +02:00
Tim Perry
30cca93283 v6.4.0 2017-08-11 13:31:53 +02:00
Eugene Mirotin
1b86741fa2 v6.3.1 2017-08-08 11:37:22 +03:00
Eugene Mirotin
6cca43a09e v6.3.0 2017-08-03 18:05:27 +03:00
Eugene Mirotin
4329857a16 update resin-sync 2017-08-03 18:01:45 +03:00
Eugene Mirotin
d803cfab3a v6.2.0 2017-07-27 14:07:05 +03:00
Eugene Mirotin
22e0b4b9dc Support the new OS with resin-sample.ignore connection file 2017-07-27 14:01:49 +03:00
Tim Perry
759baf3eda v6.1.1 2017-07-18 18:09:32 +02:00
Tim Perry
64b6549fde v6.1.0 2017-06-30 20:49:08 +02:00
Tim Perry
4aadfe9326 Upgrade resin-sync to fix node 8 bug
Connects-To: #543
Change-Type: patch
2017-06-30 19:49:35 +02:00
Kostas Lekkas
d93b82a269
Bump resin-sync@8.0.0
- resin sync: do not explicitly disable ControlMaster SSH option
- resin sync: whitelist collaborators

fixes #422
change-type: minor
2017-06-29 11:56:01 +03:00
Tim Perry
8d3987fc70 Fix issue where emulated builds broke Docker ARG commands 2017-06-27 15:06:06 +02:00
Tim Perry
4fa8d86f02 v6.0.0 2017-06-26 13:38:22 +02:00
Tim Perry
410390a9ae Remove Buffer polyfill, require Node v6+, and print warnings in older versions 2017-06-22 18:59:50 +02:00
Tim Perry
11079caf26 v5.11.1 2017-06-22 18:19:53 +02:00
Tim Perry
2875bd672e Add a polyfill to fix local configure in older (<6) Node versions 2017-06-22 13:38:38 +02:00
Eugene Mirotin
378f894da3 v5.11.0 2017-06-19 01:16:04 +03:00
Eugene Mirotin
c891d690ec update lockfile 2017-06-19 01:14:08 +03:00
Eugene Mirotin
e8b44d7250 Forced update to the newest resin-sdk 2017-06-15 16:40:46 +03:00
Eugene Mirotin
9fb5b52069 update dependencies 2017-06-15 16:39:55 +03:00
Tim Perry
df3c5ca07f Gzip while streaming, rather than gzipping the buffer up front
Connects-To: #549
2017-06-15 12:01:22 +02:00
Cameron Diver
f2862f7fe2
Add emulated build option to resin build
This commit adds the ability to run a Docker build for an architecture
which is not the host architecture, using qemu-linux-user. Currently
this is only supported for linux.

Added:
* Installation of qemu which supports propagated execve flags
* Copying of qemu binary into the build context
* Transposing the given Dockerfile to use the qemu binary
* Intercepting of the build stream, so the output looks *almost* exactly
  the same.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-06-14 12:06:03 +01:00
Eugene Mirotin
5ea263ef2e Add package-lock.json 2017-06-08 13:52:47 +03:00
Tim Perry
31419b399e
v5.10.2 2017-05-31 13:08:04 +01:00
Tim Perry
e5ed6fab85
v5.10.1 2017-05-22 21:59:12 +02:00
Tim Perry
5b651c7821
v5.10.0 2017-05-22 15:44:28 +02:00
Eugene Mirotin
4b5240d8cd check for proxytunnel presence 2017-05-19 02:10:14 +03:00
Eugene Mirotin
b88f7a993c escape params 2017-05-19 01:25:01 +03:00
Eugene Mirotin
880fb43fd9 some fixes 2017-05-18 15:12:52 +03:00
Eugene Mirotin
fa71df7c70 use upstream dependency 2017-05-12 18:09:43 +03:00
Eugene Mirotin
bc79832e1d resin ssh proxy support 2017-05-12 18:09:43 +03:00
Cameron Diver
d249ac168a
Fix the not-enough-unicorns bug
Add successful build indicator in the form of a unicorn.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-04 13:18:25 +01:00
Eugene Mirotin
afafa22694 v5.9.1 2017-05-01 14:19:21 +03:00
Eugene Mirotin
2df4422748 v5.9.0 2017-05-01 14:14:37 +03:00
Eugene Mirotin
8866f47805 proxy support 2017-05-01 14:00:50 +03:00
Eugene Mirotin
1d8382e91d v5.8.1 2017-04-27 16:24:57 +03:00
Cameron Diver
04c2333a54
v5.8.0 2017-04-26 12:20:30 +01:00
Cameron Diver
f50ae65560
Add cloud-builder builder output parity to build and deploy
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-25 13:13:11 +01:00
Cameron Diver
d3772386bf
Add ability to build and deploy image locally using resin-cli
Using `resin build` a user can now build an image on their own docker
daemon. The daemon can be accessed via a local socket, a remote host and
a remote host over a TLS socket. Project type resolution is supported.
Nocache and tagging of images is also supported.

Using `resin deploy` a user can now deploy an image to their fleet. The
image can either be built by `resin-cli`, plain Docker, or from a remote
source.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-23 14:31:45 +01:00
Eugene Mirotin
225d3acf9e log unhandled exceptions 2017-04-21 13:10:30 +03:00
Eugene Mirotin
75d10286ad v5.7.2 2017-04-18 12:15:11 +03:00
Eugene Mirotin
380a94f0f8 update to modules that have native node v4 support 2017-04-14 14:48:19 +03:00