Commit Graph

1153 Commits

Author SHA1 Message Date
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
Paulo Castro
1e37c97ffb Fix proxy support and add proxy exclusion feature (Node.js >= 10.16.0 only)
See README for more details on proxy configuration and Node.js compatibility.

Resolves: #1579
Resolves: #1335
Connects-to: #1580
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-27 12:11:11 +00:00
Balena CI
ceb47e9969 v11.23.0 2020-01-27 13:12:47 +02:00
Pagan Gazzard
77931b314a Update dependencies
Change-type: minor
2020-01-24 23:28:15 +00:00
Balena CI
b38b5b0b61 v11.22.0 2020-01-21 23:45:41 +02:00
Balena CI
751f67e997 v11.21.8 2020-01-21 13:06:33 +02:00
Paulo Castro
9db6961a7e Add catch-uncommitted to balena CI build
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-20 23:25:24 +00:00
Paulo Castro
b978230f9e Update resin-lint and prettier, and re-prettify
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-20 22:46:32 +00:00
Balena CI
bbea58a9c8 v11.21.7 2020-01-20 13:26:30 +02:00
Balena CI
df3e1f1886 v11.21.6 2020-01-20 05:22:14 +02:00
Balena CI
cd6072ac73 v11.21.5 2020-01-15 13:37:57 +02:00
Balena CI
a2ca8e8f73 v11.21.4 2020-01-14 22:16:39 +02:00
Paulo Castro
51adfeaa3b Fix join and leave commands on Windows (hanging on stdin and argument escaping)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 19:34:53 +00:00
Balena CI
76447a2177 v11.21.3 2020-01-14 21:32:33 +02:00
Paulo Castro
3466be1992 Increase default mocha test timeout to avoid spurious CI failures
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 17:12:17 +00:00
Balena CI
dd7d9d1570 v11.21.2 2020-01-14 18:05:30 +02:00
Balena CI
a94e6d550e v11.21.1 2020-01-14 02:19:39 +02:00
Balena CI
4e95cb0cca v11.21.0 2019-12-27 14:32:41 +02:00
Balena CI
024bf2996b v11.20.2 2019-12-17 16:55:00 +02:00
Scott Lowe
3cce8d822c Update livepush to fix windows path issue.
Change-type: patch
Connects-to: https://github.com/balena-io-modules/livepush/issues/55
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-17 15:24:34 +01:00
Balena CI
65250e431e v11.20.1 2019-12-13 11:01:49 +02:00
Balena CI
c88b317143 v11.20.0 2019-12-13 02:54:30 +02:00
Balena CI
b1eda160e8 v11.19.1 2019-12-06 17:14:20 +02:00
Balena CI
622c510d65 v11.19.0 2019-12-05 16:37:52 +02:00
Scott Lowe
33210b896b Introduce balena-api-mock module to simplify api mocking.
Upgrade nock to latest.

Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-05 15:10:34 +01:00
Balena CI
c2a0e457c0 v11.18.3 2019-11-21 19:12:40 +02:00
Balena CI
a8bd5d332a v11.18.2 2019-11-15 14:41:22 +02:00
Balena CI
45ce442cf2 v11.18.1 2019-11-15 12:18:56 +02:00
Paulo Castro
caac6855da Fix "Invalid containerPort" error with EXPOSE instructions in local QEMU builds
Bump docker-qemu-transpose package to v1.0.2

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-15 09:31:14 +00:00
Balena CI
e379900526 v11.18.0 2019-11-12 23:47:46 +02:00
Balena CI
268bc36843 v11.17.5 2019-11-12 21:14:37 +02:00
Balena CI
07fa504c78 v11.17.4 2019-11-06 13:08:49 +02:00
Balena CI
f75f00e4d0 v11.17.3 2019-11-04 14:45:54 +02:00
Balena CI
aa5062ea6f v11.17.2 2019-11-01 18:05:45 +02:00
Balena CI
5f780a0947 v11.17.1 2019-10-29 12:50:40 +02:00
Balena CI
f7a4160c3f v11.17.0 2019-10-23 14:03:38 +03:00
Cameron Diver
8ed4f547e0
Update livepush to support build arguments
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-22 13:24:00 +01:00
Balena CI
3393e797d0 v11.16.6 2019-10-22 13:49:34 +03:00
Balena CI
d96ad93e1e v11.16.5 2019-10-22 13:18:17 +03:00
Paulo Castro
f50f169ff0 Bump livepush and reconcile husky dependency
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-22 11:01:02 +02:00
Balena CI
eada1ab87e v11.16.4 2019-10-18 04:40:16 +03:00
Paulo Castro
59a7b9d12b Move npm version check from npm 'preinstall' to git 'pre-commit' hook
This should allow end users to use npm v6.4.1 that ships with Node 8,
while still requiring CLI developers to use npm v6.9.0 or later.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-18 00:25:23 +01:00
Balena CI
3bb5ca50b2 v11.16.3 2019-10-17 22:38:45 +03:00
Paulo Castro
eaffc2574f Fix npm install (missing automation/check-npm-version.js)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-17 19:57:09 +01:00
Balena CI
5142274e9d v11.16.2 2019-10-17 21:36:16 +03:00
Paulo Castro
e7c89cf77c Add npm preinstall check for npm version 6.9.0 or later
Older npm versions cause the npm-shrinkwrap.json file to be incorrectly
updated. This should avoid regression bugs related to issue #1332.
https://github.com/balena-io/balena-cli/issues/1332

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-17 15:43:21 +01:00
Balena CI
09444f0cff v11.16.1 2019-10-17 14:23:47 +03:00
Thodoris Greasidis
ee3a0cc630 Fix shrinkwrap unwanted changes from older npm version
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-10-17 13:59:21 +03:00
Balena CI
b40498786a v11.16.0 2019-10-16 23:33:34 +03:00
Thodoris Greasidis
1f4382bea8 Add support for private device types
Resolves: #1471
Depends-on: https://github.com/balena-io/balena-sdk/pull/761
Depends-on: https://github.com/balena-io-modules/balena-config-json/pull/15
HQ: https://github.com/balena-io/balena/pull/1740
See: https://www.flowdock.com/app/rulemotion/resin-tech/threads/IGXgYQxfnJfGO8rtTMOJ2yUZ1RU
See: https://www.flowdock.com/app/rulemotion/resin-frontend/threads/FNuwNgrDfJGRcsoJI7yJV-bx5DD
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-10-16 16:26:19 +03:00
Balena CI
0cdf4d95e5 v11.15.0 2019-10-16 14:13:14 +03:00
Balena CI
f831bb4645 v11.14.5 2019-10-16 02:19:15 +03:00
Paulo Castro
05cb89725e Fix privilege elevation (sudo) for 'os initialize', 'join', 'leave'
* sudo shell arguments required escaping for 'os initialize'
* sudo was not working for standalone zip packages (incorrect
  Node.js path in argv[0])
* Interactive 'join' and 'leave' not working on Windows because
  'windosu' does not capture stderr.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-15 21:47:26 +01:00
Balena CI
43ae9b672c v11.14.4 2019-10-14 19:53:05 +03:00
Balena CI
4280a3cd4a v11.14.3 2019-10-14 16:55:01 +03:00
Paulo Castro
101a4bc209 Chore: replace typings/intercept-stdout with @types/intercept-stdout
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-10 16:02:41 +01:00
Balena CI
449461afae v11.14.2 2019-10-09 16:22:55 +03:00
Paulo Castro
7dd33adfd1 Fix 'balena build --emulated' on Windows (including default docker socket)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-09 13:10:49 +01:00
Balena CI
63fe3d41cc v11.14.1 2019-10-04 16:00:33 +03:00
Paulo Castro
78e627a471 Bump resin-multibuild to 4.3.1 (fix more cases of SecretRemovalError)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-04 12:33:39 +01:00
Balena CI
3adc06d11b v11.14.0 2019-10-03 14:33:52 +03:00
Balena CI
863eae42c5 v11.13.1 2019-09-30 17:36:18 +03:00
Balena CI
3718473f05 v11.13.0 2019-09-30 15:59:02 +03:00
Thodoris Greasidis
408f739e2d Bump balena-sdk to v12.12.0 to stop using image maker endpoints
Resolves: #1453
Depends-on: https://github.com/balena-io/balena-sdk/pull/735
Depends-on: https://github.com/balena-io-modules/balena-image-manager/pull/45
HQ: https://github.com/balena-io/balena/issues/1744
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-09-30 15:36:46 +03:00
Balena CI
f481d5edae v11.12.0 2019-09-25 13:20:45 +03:00
Thodoris Greasidis
f9d6a0ee72 Allow mixing armv7 & aarch64 devices in RPi 1 / zero apps
Resolves: #1448
HQ: https://github.com/balena-io/balena/issues/1905
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-09-24 13:22:13 +03:00
Balena CI
9ea999f15f v11.11.3 2019-09-23 11:47:15 +03:00
Balena CI
32c588db55 v11.11.2 2019-09-19 13:23:45 +03:00
Balena CI
606b6c88ab v11.11.1 2019-09-18 16:12:54 +03:00
Paulo Castro
c07b28e694 Migrate 'envs' and 'env rename' commands to oclif
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-18 12:54:31 +01:00
Paulo Castro
2ff427fb90 Refactor oclif integration and preparser
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-17 17:20:16 +01:00
Balena CI
3d89b0c7a1 v11.11.0 2019-09-16 21:59:27 +03:00
Balena CI
de8089b0bb v11.10.0 2019-09-16 21:13:23 +03:00
Balena CI
db5c473952 v11.9.7 2019-09-16 10:26:12 +03:00
Balena CI
73e9f801e2 v11.9.6 2019-09-12 15:27:34 +03:00
Paulo Castro
f76ca1804a Update balena-sdk from 11.18.0 to 12.10.0 (pre-req for #1153 and #1304)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-11 16:08:30 +01:00
Balena CI
d25ad328f3 v11.9.5 2019-09-11 14:29:15 +03:00
Balena CI
70714b6feb v11.9.4 2019-09-11 13:49:06 +03:00
Paulo Castro
09f20ecc1c Update etcher-sdk to v2.0.14 (pre-requisite to supporting Node 12)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-10 16:08:07 +01:00
Balena CI
b8b0221ce6 v11.9.3 2019-09-02 03:56:54 +03:00
Paulo Castro
fb1dce9dbb Add missing oclif-based commands to mixpanel tracking
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-01 23:42:21 +01:00
Balena CI
fedfb603f6 v11.9.2 2019-08-30 21:00:06 +03:00
Paulo Castro
7bb2741a5a Deploy scripts: edit GitHub release descriptions given semver ranges
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-08-30 18:09:58 +01:00
Balena CI
693a438d42 v11.9.1 2019-08-29 00:59:52 +03:00
Resin CI
192b751e57 v11.9.0 2019-08-22 16:33:03 +03:00
Paulo Castro
516fa90a20 Fix SecretRemovalError (balena build) when docker daemon arch != target arch
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-08-21 22:25:18 +01:00
Resin CI
56aabad8ad v11.8.3 2019-08-20 04:34:24 +03:00
Resin CI
ed084edc48 v11.8.2 2019-08-19 18:29:03 +03:00
Resin CI
2ee2bc8b02 v11.8.1 2019-08-16 09:51:01 +03:00
Lucian
730c09989d Fix incorrect arguments passed to oclif bootstrap function
Adds tests for existing oclif commands to avoid regressions

Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-15 18:26:42 +01:00
Resin CI
9e0733a143 v11.8.0 2019-08-13 11:40:19 +03:00
Lucian
4d389bb6cc Implement full command testing, beginning with "balena version"
This also modifies the core CLI to be fed command programatically, which
is useful for being able to do thing like mock endpoints with tools like
"nock", and provide an easier debugging experience.
The tests utilise a "runCommand" helper that intercepts and captures
stdout/stderr writes and returns them once the command has finished
running. At this point the test implementation can parse the
stdout/stderr logs and assess nock interceptions to determine if the
command ran correctly.
This change also homogenises debug messages to start with `[debug]`,
however this is not strictly enforced by linting rules.

Change-type: minor
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-12 14:50:41 +01:00
Resin CI
6d6b3cb1a3 v11.7.10 2019-08-12 16:38:49 +03:00
Resin CI
2390ddc02d v11.7.9 2019-08-09 17:08:09 +03:00
Lucian
13610ef814 Convert test files to Typescript
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-08 16:50:50 +01:00
Resin CI
9c49890399 v11.7.8 2019-08-08 18:42:41 +03:00
Resin CI
90c4cbf2ae v11.7.7 2019-08-08 15:45:41 +03:00
Lucian
15dfdc2229 Remove mochainon dependency and replace with direct testing dependencies
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-08 10:04:32 +01:00
Resin CI
35110e0610 v11.7.6 2019-08-07 12:31:08 +03:00
Resin CI
9977451b07 v11.7.5 2019-08-06 12:23:48 +03:00
Resin CI
f0bd2f197d v11.7.4 2019-08-02 00:28:38 +03:00
Gergely Imreh
f9fc8fd2e8
Update unzip2 dependency
That dependency has been updated upstream, but not published to npm,
thus we are pulling the latest (0.2.8) version from our own fork.
Fork is created temporarily.

Fixes: #1373
Change-type: patch
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-08-01 18:35:30 +01:00
Resin CI
9ea5198bda v11.7.3 2019-07-22 16:42:50 +03:00
Resin CI
062fadfa49 v11.7.2 2019-07-18 17:46:59 +03:00
Alexis Svinartchouk
18fadf5634 Update balena-preload to ^8.2.1
Change-type: patch
2019-07-18 16:21:33 +02:00
Resin CI
80917b7198 v11.7.1 2019-07-17 23:21:01 +03:00
Resin CI
cd491a7935 v11.7.0 2019-07-15 19:51:36 +03:00
Paulo Castro
225408c57d Add "build secrets" and "build variables" support for push/build/deploy
to/on/via balena devices

Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-15 16:23:35 +01:00
Resin CI
9a270539c6 v11.6.1 2019-07-15 18:17:55 +03:00
Resin CI
e41ea6fb1a v11.6.0 2019-07-09 18:30:13 +03:00
Resin CI
6c26e1235c v11.5.0 2019-07-05 17:54:12 +03:00
Paulo Castro
7c750f9e43 balena CI: Add balena-cli executable signing step
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:08 +01:00
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
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