Commit Graph

834 Commits

Author SHA1 Message Date
Paulo Castro
55bf4dc0f0 Add 'npm run package' command
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:07 +01:00
Paulo Castro
0afbd6f17a Refactor build:standalone / build:installer / run release
So that:
- Standalone zip files are created in the standalone step,
- oclif installers are renamed in the installer step, and
- npm run release (which is skipped by balena CI) is reduced to
  uploading the files to the GitHub releases page.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:07 +01:00
Resin CI
d485fd00a0 v11.4.4 2019-07-03 02:18:55 +03:00
Paulo Castro
c32d894e97 Add 'patches' to files section of package.json for npm publishing
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-02 21:00:01 +01:00
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