Commit Graph

848 Commits

Author SHA1 Message Date
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