Commit Graph

1118 Commits

Author SHA1 Message Date
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
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
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
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
05d58d8248 Fix CI instability when building Typescript
The error appears to happen when symlinking typing files and manifests
on case sensitive file systems (like windows) with the error:
```
lib/actions-oclif/env/add.ts(73,16): error TS2742: The inferred type of 'flags' cannot be named without a reference to '../../../../../../../../../volumes/live/c64feead-f78e-4bd4-742d-ccd29aef53c4/volume/node_modules/@oclif/parser/lib/flags'. This is likely not portable. A type annotation is necessary.
lib/actions-oclif/version.ts(42,16): error TS2742: The inferred type of 'flags' cannot be named without a reference to '../../../../../../../../volumes/live/c64feead-f78e-4bd4-742d-ccd29aef53c4/volume/node_modules/@oclif/parser/lib/flags.js'. This is likely not portable. A type annotation is necessary.
```

This appears to be reported on the Typescript repo here https://github.com/microsoft/TypeScript/issues/29221
The suggested workaround is to explicitly set the type of the `flags` static
property.

Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-09 12:01:46 +01: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
Resin CI
d485fd00a0 v11.4.4 2019-07-03 02:18:55 +03:00
Resin CI
bcc86fbcb6 v11.4.3 2019-07-01 13:23:47 +03:00
Paulo Castro
5df65f67c3 Fix "Error: Cannot find module 'web-streams-polyfill'"
Fix npm-shrinkwrap.json produced by npm v6.4.1, by using npm v6.9.0

Resolves: #1332
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-01 11:07:36 +01:00
Resin CI
79e65025cb v11.4.2 2019-07-01 12:15:22 +03:00
Resin CI
8bf884d425 v11.4.1 2019-06-28 18:55:39 +03:00
Paulo Castro
7c6bae491f Add npm-shrinkwrap.json file to control dependency updates
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-28 12:29:50 +01:00
Juan Cruz Viotti
d8bc747be9 Remove useless npm-shrinkwrap.json 2015-03-02 12:27:30 -04:00
Juan Cruz Viotti
d520918071 Multi arch builds 2015-02-26 10:12:25 -04:00