Commit Graph

462 Commits

Author SHA1 Message Date
Pagan Gazzard
b114697cab Use native fs promises rather than promisify or mz
Change-type: patch
2020-06-24 18:13:48 +01:00
Balena CI
14ce4d73b6 v12.1.11 2020-06-24 20:12:41 +03:00
Pagan Gazzard
c054d55456 Use cacheScope for fast-boot2 to allow caching when globally installed
Change-type: patch
2020-06-24 16:43:03 +00:00
Balena CI
133daefe83 v12.1.10 2020-06-24 19:13:43 +03:00
Balena CI
e1d51305b0 v12.1.9 2020-06-24 17:57:44 +03:00
Balena CI
a26c3912d3 v12.1.8 2020-06-24 16:31:24 +03:00
Balena CI
cfbf00f543 v12.1.7 2020-06-24 15:05:43 +03:00
Balena CI
ab9dabaf77 v12.1.6 2020-06-24 14:15:03 +03:00
Balena CI
10120bb97f v12.1.5 2020-06-24 11:39:12 +03:00
Balena CI
f686d3a9bf v12.1.4 2020-06-23 19:19:22 +03:00
Balena CI
24d6b7fa38 v12.1.3 2020-06-22 14:52:51 +03:00
Balena CI
70bfe4ce8e v12.1.2 2020-06-19 11:35:33 +03:00
Balena CI
4995e9b642 v12.1.1 2020-06-18 22:35:22 +03:00
Balena CI
907508bce1 v12.1.0 2020-06-17 18:00:03 +03:00
Paulo Castro
146de39b83 Add --gitignore (-g) option to push/build/deploy commands for v11 compatibility
Change-type: minor
2020-06-17 14:18:23 +01:00
Balena CI
a3cab32b4e v12.0.0 2020-06-16 11:02:40 +03:00
Paulo Castro
c619bd4b99 Update 'balena-lint' and apply new prettier rules
Change-type: patch
2020-06-15 23:53:07 +01:00
Paulo Castro
7e1d58546c Add tests for standalone executable via proxy server
Change-type: patch
2020-06-15 23:53:04 +01:00
Paulo Castro
2c01f8adee Update 'global-agent' (fix proxy server issues with unauthenticated setup)
Change-type: patch
2020-06-15 23:53:02 +01:00
Paulo Castro
3ecf461d55 Update 'balena-sdk' from v12 to v13 and update code and tests as needed
Change-type: patch
2020-06-15 23:53:01 +01:00
Paulo Castro
06ab84fd10 Update 'pkg' dependency (improve support for Node v14)
Change-type: patch
2020-06-15 23:52:59 +01:00
Balena CI
b32ae4a667 v11.36.0 2020-06-11 20:04:33 +03:00
Balena CI
6dc0fe10bc v11.35.21 2020-06-11 18:39:32 +03:00
Balena CI
7e34fdfeeb v11.35.20 2020-06-10 16:07:09 +03:00
Balena CI
be144fafa2 v11.35.19 2020-06-10 09:25:32 +03:00
Balena CI
a85c482416 v11.35.18 2020-06-05 22:26:41 +03:00
Balena CI
f455602c73 v11.35.17 2020-06-02 23:04:51 +03:00
Balena CI
bf073942f0 v11.35.16 2020-06-02 19:27:43 +03:00
Balena CI
21dd959344 v11.35.15 2020-06-01 10:47:04 +03:00
Balena CI
040c4987fc v11.35.14 2020-05-29 19:59:53 +03:00
Balena CI
d7213e868f v11.35.13 2020-05-29 18:33:19 +03:00
Balena CI
e4f605d6ac v11.35.12 2020-05-29 10:03:49 +03:00
Balena CI
fcaaec1fff v11.35.11 2020-05-29 02:38:31 +03:00
Balena CI
bc4aa6006e v11.35.10 2020-05-27 19:57:29 +03:00
Balena CI
56a196210d v11.35.9 2020-05-25 20:01:01 +03:00
Balena CI
3cb184c8af v11.35.8 2020-05-25 18:10:31 +03:00
Balena CI
3b426e4a53 v11.35.7 2020-05-25 10:30:29 +03:00
Balena CI
e5861a708e v11.35.6 2020-05-22 15:13:49 +03:00
Paulo Castro
480228d8f4 Add tests for 'balena deploy'
Connects-to: #1045
Change-type: patch
2020-05-22 00:24:46 +01:00
Balena CI
175413af34 v11.35.5 2020-05-21 14:27:10 +03:00
Balena CI
a21d3fe2d2 v11.35.4 2020-05-19 17:40:08 +03:00
Balena CI
d33b7ec585 v11.35.3 2020-05-18 16:31:06 +03:00
Pagan Gazzard
744122b1b8 Update typescript to 3.9
Change-type: patch
2020-05-18 13:32:15 +01:00
Balena CI
c3a8bb3de6 v11.35.2 2020-05-18 13:14:46 +03:00
Balena CI
11d5deef4c v11.35.1 2020-05-14 17:58:20 +03:00
Balena CI
2fdd023a64 v11.35.0 2020-05-14 16:19:51 +03:00
Balena CI
052c8d138e v11.34.0 2020-05-14 01:18:30 +03:00
Paulo Castro
4577d72ead push/build/deploy: add --nogitignore option and update dockerignore filter library
Connects-to: #1032
Connects-to: #1148
Change-type: minor
2020-05-13 22:33:37 +01:00
Balena CI
0dde84ec0b v11.33.4 2020-05-13 01:17:16 +03:00
Balena CI
5723e69267 v11.33.3 2020-05-12 11:47:07 +03:00
Balena CI
aff5cd9b0d v11.33.2 2020-05-12 00:37:55 +03:00
Balena CI
9756efb539 v11.33.1 2020-05-11 21:02:19 +03:00
Scott Lowe
127560fa65 Update resin-multibuild
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-11 17:55:04 +01:00
Balena CI
2611ea22f9 v11.33.0 2020-05-11 15:38:28 +03:00
Balena CI
f63be0b4cd v11.32.15 2020-05-06 14:12:03 +03:00
Balena CI
ee54d638ad v11.32.14 2020-05-04 17:51:13 +03:00
Balena CI
01147c31a4 v11.32.13 2020-05-04 15:19:27 +03:00
Balena CI
97def08ec5 v11.32.12 2020-05-04 13:15:15 +03:00
Balena CI
6ae337db8a v11.32.11 2020-05-01 19:31:39 +03:00
Balena CI
597b894917 v11.32.10 2020-05-01 16:07:04 +03:00
Balena CI
1d9a397f71 v11.32.9 2020-05-01 14:16:11 +03:00
Balena CI
4f6550e7eb v11.32.8 2020-05-01 12:58:14 +03:00
Balena CI
b5cac122cf v11.32.7 2020-05-01 11:25:23 +03:00
Balena CI
275fa9c16b v11.32.6 2020-05-01 08:26:26 +03:00
Balena CI
bcd49e0292 v11.32.5 2020-05-01 07:26:14 +03:00
Balena CI
d5d0486c3f v11.32.4 2020-04-30 21:33:54 +03:00
Pagan Gazzard
ab526c9ed8 Convert gulpfile.coffee to javascript
Change-type: patch
2020-04-30 17:58:13 +01:00
Pagan Gazzard
14c5b27cdd Convert lib/app-capitano.coffee to javascript
Change-type: patch
2020-04-30 17:57:37 +01:00
Balena CI
ce01ce73b1 v11.32.3 2020-04-30 19:56:04 +03:00
Balena CI
692eddf43f v11.32.2 2020-04-30 18:56:15 +03:00
Balena CI
dbe9a727d5 v11.32.1 2020-04-30 16:49:46 +03:00
Balena CI
7311cfa755 v11.32.0 2020-04-30 15:50:36 +03:00
Scott Lowe
d398e22c58 Integrate livepush v3 and live directives
Change-type: minor
Resolves: #1784
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-30 12:25:17 +00:00
Balena CI
b51d2fffbb v11.31.28 2020-04-30 15:24:05 +03:00
Pagan Gazzard
203ccaf97b Convert lib/utils/deploy-legacy.coffee to javascript
Change-type: patch
2020-04-30 12:50:20 +01:00
Balena CI
a348528ed3 v11.31.27 2020-04-30 14:45:04 +03:00
Balena CI
f55376df32 v11.31.26 2020-04-30 13:56:36 +03:00
Balena CI
6b33f95661 v11.31.25 2020-04-30 07:36:33 +03:00
Balena CI
ad0b667bc7 v11.31.24 2020-04-29 18:13:56 +03:00
Balena CI
5c39952002 v11.31.23 2020-04-28 15:46:45 +03:00
Balena CI
6602845202 v11.31.22 2020-04-25 17:36:24 +03:00
Pagan Gazzard
0cfa1a0dfb Convert lib/actions/device.coffee to javascript
Change-type: patch
2020-04-25 14:08:30 +00:00
Balena CI
00ce3ab751 v11.31.21 2020-04-25 16:57:15 +03:00
Pagan Gazzard
d9f42b888d Install types for modules used in javascript to improve type checking
Change-type: patch
2020-04-25 12:01:05 +01:00
Balena CI
0db8c85fc8 v11.31.20 2020-04-25 02:19:34 +03:00
Balena CI
8dced8afe2 v11.31.19 2020-04-25 01:10:05 +03:00
Balena CI
68b64016ab v11.31.18 2020-04-25 00:01:35 +03:00
Pagan Gazzard
560b0abbe7 Convert lib/utils/compose.coffee to javascript
Change-type: patch
2020-04-24 16:17:23 +01:00
Balena CI
b48d238be6 v11.31.17 2020-04-24 18:04:06 +03:00
Balena CI
f8612fd748 v11.31.16 2020-04-24 17:14:18 +03:00
Balena CI
3302e2f639 v11.31.15 2020-04-24 12:57:15 +03:00
Pagan Gazzard
9f59b6dde5 Convert lib/utils/qemu.coffee to javascript
Change-type: patch
2020-04-24 10:20:15 +01:00
Balena CI
8be56ef092 v11.31.14 2020-04-23 19:35:54 +03:00
Balena CI
f7d4a37060 v11.31.13 2020-04-23 14:48:05 +03:00
Balena CI
6b0f645094 v11.31.12 2020-04-23 14:15:45 +03:00
Balena CI
fe0ad92b43 v11.31.11 2020-04-22 18:37:33 +03:00
Balena CI
e6264ced7a v11.31.10 2020-04-22 17:07:19 +03:00
Balena CI
e3672bc655 v11.31.9 2020-04-22 14:12:25 +03:00
Paulo Castro
e3c42cf63e Update patch-package (fix remaining source of seemingly random ENOENT error)
Connects-to: #1723
Change-type: patch
2020-04-22 11:42:09 +01:00
Balena CI
0ae138db03 v11.31.8 2020-04-22 13:40:55 +03:00
Pagan Gazzard
88e4009e88 Update to balena-release
Change-type: patch
2020-04-21 17:39:25 +01:00
Pagan Gazzard
82e17cea6a Update dependencies to pick up performance improvements
Change-type: patch
2020-04-21 15:42:56 +01:00
Balena CI
9ed363da9e v11.31.7 2020-04-21 12:09:47 +03:00
Balena CI
2de33d185a v11.31.6 2020-04-21 10:52:06 +03:00
Balena CI
57d0014e32 v11.31.5 2020-04-20 18:05:13 +03:00
Balena CI
7c9a23451b v11.31.4 2020-04-20 16:17:14 +03:00
Paulo Castro
a8b0573699 Unpin balena-sdk (bump balena-sdk to v12.33.0)
Change-type: patch
2020-04-18 02:50:00 +01:00
Balena CI
99963cbb89 v11.31.3 2020-04-17 02:40:26 +03:00
Paulo Castro
264c8535b4 Fix balena ssh "Application not found" (pin balena-sdk to v12.30.0)
Change-type: patch
2020-04-17 00:11:33 +01:00
Balena CI
159ee44d7e v11.31.2 2020-04-16 03:39:14 +03:00
Paulo Castro
52b2ba6a30 Fix seemingly random ENOENT error (update 'is-installed-globally' dependency)
Change-type: patch
Resolves: #1723
2020-04-15 18:58:51 +01:00
Balena CI
cc1ba3d84e v11.31.1 2020-04-15 19:46:53 +03:00
Balena CI
eba2e7e4fb v11.31.0 2020-04-15 16:48:28 +03:00
Scott Lowe
320b4864d9 device os-update: allow host OS upgrade with development balenaOS images
also:
fix `device os-update` incorrectly showing 0% progress
convert `device os-update` to use async/await

Change-type: minor
Resolves: #1725
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-15 15:07:10 +02:00
Balena CI
7f79451376 v11.30.17 2020-04-10 00:05:24 +03:00
Balena CI
f72d78954d v11.30.16 2020-04-07 21:43:29 +03:00
Balena CI
4fe5a10029 v11.30.15 2020-04-03 18:01:50 +03:00
Balena CI
7e2ee7ab93 v11.30.14 2020-04-03 15:46:50 +03:00
Paulo Castro
292ad89b7e Updated dependencies (vulnerability advisory CVE-2019-20149)
https://nvd.nist.gov/vuln/detail/CVE-2019-20149

Change-type: patch
2020-04-03 13:06:33 +01:00
Balena CI
c062e6e876 v11.30.13 2020-04-02 22:24:40 +03:00
Balena CI
ff319d67f3 v11.30.12 2020-04-01 17:18:17 +03:00
Balena CI
cbe12d5be7 v11.30.11 2020-04-01 14:53:30 +03:00
Balena CI
77873cf919 v11.30.10 2020-03-31 18:55:44 +03:00
Balena CI
43b1c5c24f v11.30.9 2020-03-31 14:21:28 +03:00
Balena CI
2d55df4704 v11.30.8 2020-03-31 02:36:18 +03:00
Paulo Castro
be76b8adbd Fix 'balena ssh' on MSYS Windows shell ("unexpected end of file")
Resolves: #1681
Change-type: patch
2020-03-30 14:45:16 +01:00
Balena CI
7b8e86372b v11.30.7 2020-03-30 16:43:29 +03:00
Balena CI
a6ccd87069 v11.30.6 2020-03-26 15:41:08 +02:00
Balena CI
eca3e91512 v11.30.5 2020-03-25 14:57:29 +02:00
Pagan Gazzard
b3b22d6399 Use balena-lint for javascript linting and add javascript type-checking
Change-type: patch
2020-03-25 12:12:03 +00:00
Balena CI
217cba819a v11.30.4 2020-03-24 20:57:00 +02:00
Balena CI
c8cade95da v11.30.3 2020-03-24 19:33:02 +02:00
Balena CI
3e1b10007a v11.30.2 2020-03-24 18:18:18 +02:00
Balena CI
6ec8bcddaa v11.30.1 2020-03-19 21:16:18 +02:00
Balena CI
dabe81c31b v11.30.0 2020-03-19 17:14:26 +02:00
Balena CI
9b79f79bac v11.29.5 2020-03-19 01:00:58 +02:00
Balena CI
62ea7518bc v11.29.4 2020-03-16 19:41:10 +02:00
Balena CI
18d3ca3413 v11.29.3 2020-03-13 02:37:28 +02:00
Balena CI
47fa2a6151 v11.29.2 2020-03-13 01:09:53 +02:00
Balena CI
e42650f433 v11.29.1 2020-03-13 00:16:33 +02:00
Balena CI
122b5a0655 v11.29.0 2020-03-12 21:11:52 +02:00
Pagan Gazzard
3d2e109e7f Update dependencies
Update balena-sdk from 12.26.7 to 12.29.1

Change-type: minor
2020-03-12 18:03:10 +00:00
Balena CI
26803067f1 v11.28.17 2020-03-12 20:01:37 +02:00
Balena CI
e2114f73d7 v11.28.16 2020-03-12 02:55:02 +02:00
Paulo Castro
daa34feeda Add test case for build --emulated
Connects-to: #1649
Change-type: patch
2020-03-11 22:02:01 +00:00
Balena CI
f813dad4d9 v11.28.15 2020-03-11 13:45:11 +02:00
Balena CI
bcfba693a5 v11.28.14 2020-03-10 16:54:18 +02:00
Paulo Castro
d2df2c7b60 Fix occasional "CLI prints 'null' and exits" (replace old Raven/Sentry SDK)
Resolves: #1523
Connects-to: #1333
Connects-to: #1193
Change-type: patch
2020-03-09 12:51:56 +00:00
Balena CI
524397fc9b v11.28.13 2020-03-06 17:48:03 +02:00
Cameron Diver
b83431c2e0 Improve the UX by only printing effective file changes in livepush
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-06 15:17:02 +00:00
Balena CI
40c559322a v11.28.12 2020-03-06 04:56:19 +02:00
Balena CI
d6e7359400 v11.28.11 2020-03-02 18:47:38 +02:00
Pagan Gazzard
00943463a4 Use types for global-agent and global-tunnel-ng
Change-type: patch
2020-03-02 15:10:58 +00:00
Balena CI
4e61c00255 v11.28.10 2020-03-02 17:01:29 +02:00
Pagan Gazzard
fe4e1d09d7 Update dependencies
Update balena-sdk from 12.21.1 to 12.26.7

Change-type: patch
2020-03-02 11:20:20 +00:00
Balena CI
766695ceef v11.28.9 2020-03-02 10:30:58 +02:00
Balena CI
62e4930e5b v11.28.8 2020-02-29 02:17:58 +02:00
Balena CI
0ab0e417b8 v11.28.7 2020-02-28 18:06:18 +02:00
Balena CI
86af954f3b v11.28.6 2020-02-28 17:26:48 +02:00
Balena CI
8598223b61 v11.28.5 2020-02-28 02:14:29 +02:00
Balena CI
077d1db9b7 v11.28.4 2020-02-25 22:48:49 +02:00
Paulo Castro
cdfd1d124b Fix build/deploy commands with QEMU emulation and alternative Dockerfile name
Resolves: #1624
Change-type: patch
2020-02-25 16:42:12 -03:00
Balena CI
dec570a6e2 v11.28.3 2020-02-24 17:43:44 +02:00
Pagan Gazzard
4abdd71ce7 Update type deps
Change-type: patch
2020-02-24 14:15:48 +00:00
Balena CI
36f2f491b3 v11.28.2 2020-02-22 00:05:12 +02:00
Paulo Castro
03053e125f Add pre-commit check for cli.markdown updates and coffeelint execution
These checks compare the timestamps of cli.markdown with those of staged files,
effectively enforcing that 'npm run build' or 'npm test' are executed.

Change-type: patch
2020-02-21 18:22:48 -03:00
Balena CI
ad4981328f v11.28.1 2020-02-21 15:40:29 +02:00
Balena CI
6439aa5552 v11.28.0 2020-02-20 05:01:08 +02:00
Cameron Diver
95c93d24da
Update resin-multibuild and add app and release template vars
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-18 10:21:12 +07:00
Balena CI
278d7fd02c v11.27.0 2020-02-17 17:51:58 +02:00
Balena CI
5dbace353d v11.26.0 2020-02-14 17:26:58 +02:00
Balena CI
5e196b8f63 v11.25.18 2020-02-13 19:32:57 +02:00
Paulo Castro
88a1e413a3 Fix balena push "Segmentation fault" on Windows (replace 'mmmagic' with 'isBinaryFile')
Connects-to: #1611
Change-type: patch
2020-02-13 15:51:45 +00:00
Balena CI
d48672fa93 v11.25.17 2020-02-12 19:01:59 +02:00
Balena CI
9d04e616a8 v11.25.16 2020-02-12 15:57:18 +02:00
Balena CI
bff845a0e4 v11.25.15 2020-02-12 15:01:04 +02:00
Pagan Gazzard
93ba5832d8 Convert lib/auth/server to typescript
Change-type: patch
2020-02-12 12:10:12 +00:00
Balena CI
af86ac73e6 v11.25.14 2020-02-12 13:56:18 +02:00
Pagan Gazzard
a4b34c109d Convert lib/actions/keys to typescript
Change-type: patch
2020-02-10 22:22:06 +00:00
Balena CI
69714a646b v11.25.13 2020-02-11 00:11:34 +02:00
Balena CI
cefb3acc1f v11.25.12 2020-02-10 17:53:58 +02:00
Balena CI
a9c0899c32 v11.25.11 2020-02-10 16:28:18 +02:00
Balena CI
4b8cec652a v11.25.10 2020-02-08 02:54:39 +02:00
Paulo Castro
05d478b759 CI builds: revert patch-package upgrade to fix patch errors
This fixes a build error caused by a recent version bump of 'patch-package':
"Patch file found for package execa which is not present at node_modules/qqjs/node_modules/execa"

Change-type: patch
2020-02-08 00:19:05 +00:00
Scott Lowe
9a7a364776 Node 13 compatibility: upgrade ext2fs module
Change-type: patch
Resolves: #1591
Signed-off-by: Scott Lowe <scott@balena.io>
2020-02-07 22:30:02 +00:00
Balena CI
2cb5e28258 v11.25.9 2020-02-08 00:29:18 +02:00
Pagan Gazzard
467afb3de6 Add .gitattributes to check out with the correct line-ending on windows
Change-type: patch
2020-02-07 21:40:48 +00:00
Balena CI
324a406e7f v11.25.8 2020-02-07 23:36:09 +02:00
Balena CI
6bc4fbb750 v11.25.7 2020-02-07 21:32:58 +02:00
Balena CI
654d1dcff8 v11.25.6 2020-02-07 13:21:48 +02:00
Pagan Gazzard
3f84045127 Switch from opn to its new name of open
Change-type: patch
2020-02-06 19:55:22 +00:00
Balena CI
544f8fb4bd v11.25.5 2020-02-06 20:50:18 +02:00
Balena CI
f732c5bf5d v11.25.4 2020-02-06 19:58:38 +02:00
Pagan Gazzard
895be0be5d Use resin-lint for automatic lint fixing
Change-type: patch
2020-02-06 17:29:23 +00:00
Balena CI
0f17129c2e v11.25.3 2020-02-06 19:25:49 +02:00
Balena CI
da3c11533c v11.25.2 2020-02-05 05:14:59 +02:00
Balena CI
f53a69feb1 v11.25.1 2020-02-04 12:33:13 +02:00
Balena CI
1417875110 v11.25.0 2020-02-03 10:23:28 +02:00
Scott Lowe
58e7880f1d Add support for auto-conversion of CRLF line endings.
Applies to commands:
 balena push
 balena build
 balena deploy --build

Change-type: minor
Resolves: #1273
Signed-off-by: Scott Lowe <scott@balena.io>
2020-01-31 16:27:22 +01:00
Balena CI
38194e6175 v11.24.0 2020-01-31 01:42:39 +02:00