Commit Graph

2662 Commits

Author SHA1 Message Date
Paulo Castro
82c486b202
Merge pull request #1455 from balena-io/1428-os-initialize
Fix 'os initialize' (auto sudo execution)
2019-10-16 00:17:28 +01:00
Paulo Castro
02b888f7c1 Fix privilege elevation for standalone zip package on Windows (windosu)
* Add pkgExec internal command
* Patch windosu to be aware of process.pkg and use pkgExec

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-15 21:47:26 +01:00
Paulo Castro
69c97fed09 Remove 'internal sudo' command
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-15 21:47:26 +01: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
CameronDiver
27270dd589
Merge pull request #1469 from balena-io/local-contract-support
Support container contracts when pushing to local devices
2019-10-14 17:51:27 +01:00
Cameron Diver
0c5ed7adfb
Support container contracts when pushing to local devices
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-14 17:18:56 +01:00
Balena CI
4280a3cd4a v11.14.3 2019-10-14 16:55:01 +03:00
Paulo Castro
b8944ba65c
Merge pull request #1467 from balena-io/update-windows-dev-install-instructions
Selected chore commits and docs updates
2019-10-14 14:53:19 +01:00
Paulo Castro
a8fcd85f1a Update/improve npm install instructions for Windows
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-14 13:34:02 +01:00
Paulo Castro
cc45d872c7 Update CLI tests to pass with Node 12
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-14 01:27:34 +01:00
Paulo Castro
e0e76a1aa8 Avoid stack trace and Sentry report if user answers No to confirmation prompts
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-10 16:02:41 +01:00
Paulo Castro
d9b417e9e5 Sort the output of balena devices supported alphabetically by slug
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-10 16:02:41 +01: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
1987206b94
Merge pull request #1464 from balena-io/1132-build-windows-docker-qemu
Fix 'balena build --emulated' on Windows (including default docker socket)
2019-10-09 14:21:20 +01: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
59e4eb5143
Merge pull request #1461 from balena-io/1355-SecretRemovalError-multibuild-script
Bump resin-multibuild to 4.3.1 (fix more cases of SecretRemovalError)
2019-10-04 13:58:47 +01: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
Thodoris Greasidis
85fc9daa8b
Merge pull request #1460 from balena-io/1459-env-rm-config-var
Allow deleting config vars with 'env rm'
2019-10-03 14:32:00 +03:00
Thodoris Greasidis
d463a2f0e5 Allow deleting config vars with 'env rm'
Resolves: #1459
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-10-03 13:51:33 +03:00
Balena CI
863eae42c5 v11.13.1 2019-09-30 17:36:18 +03:00
Paulo Castro
4b373d5ed4
Merge pull request #1452 from balena-io/troubleshooting-ssh-line-wrapping
Update TROUBLESHOOTING doc re 'balena ssh' line wrapping / cursor behavior
2019-09-30 15:34:39 +01:00
Paulo Castro
4077da1491 Update TROUBLESHOOTING doc re 'balena ssh' line wrapping / cursor behavior
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-30 14:16:10 +01:00
Balena CI
3718473f05 v11.13.0 2019-09-30 15:59:02 +03:00
Thodoris Greasidis
54bcbb5d91
Merge pull request #1454 from balena-io/1453-api-image-download
Bump balena-sdk to v12.12.0 to stop using image maker endpoints
2019-09-30 15:57:32 +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
cff81ae86d
Merge pull request #1449 from balena-io/1448-mix-rpi-to-armv7-aarch64
Allow mixing armv7 & aarch64 devices in RPi 1 / zero apps
2019-09-25 13:19:08 +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
CameronDiver
eac229ab7c
Merge pull request #1438 from balena-io/debug-to-stderr
Send all debug output to stderr
2019-09-23 09:45:53 +01:00
Cameron Diver
7a865b2e15 Send all debug output to stderr
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-09-19 13:25:40 +01:00
Balena CI
32c588db55 v11.11.2 2019-09-19 13:23:45 +03:00
Roman Mazur
aa670ad6f1
Merge pull request #1439 from balena-io/roman/mixpanel-token
Use balena analytics project name
2019-09-19 13:22:12 +03:00
Roman Mazur
c1ba73a2da
Use balena analytics project name
It's needed to properly integrate CLI with balena
analytics proxy service.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-09-18 18:00:35 +03:00
Balena CI
606b6c88ab v11.11.1 2019-09-18 16:12:54 +03:00
Paulo Castro
a6f329750c
Merge pull request #1414 from balena-io/1391-refactor-oclif
Migrate "env rename" and "envs" to oclif and refactor the preparser
2019-09-18 14:11:14 +01: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
b3bef9e556 Simplify/refactor 'env add' and 'env rm' implementation
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-09-17 17:20:16 +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
Thodoris Greasidis
90db52db47
Merge pull request #1435 from balena-io/1431-balena-join-compatible-arch
Support `balena join` to applications of compatible architectures
2019-09-16 21:57:07 +03:00
Thodoris Greasidis
87004621ce Support balena join to applications of compatible architectures
Resolves: #1431
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-09-16 21:31:07 +03:00
Balena CI
de8089b0bb v11.10.0 2019-09-16 21:13:23 +03:00
Thodoris Greasidis
ae691391b6
Merge pull request #1434 from balena-io/1433-move-same-arch-apps
Support moving devices to applications of a compatible architecture
2019-09-16 21:11:02 +03:00
Thodoris Greasidis
a64b36fdb9 Support moving devices to applications of a compatible architecture
Connects-to: #1433
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-09-16 19:16:51 +03:00
Balena CI
db5c473952 v11.9.7 2019-09-16 10:26:12 +03:00