Commit Graph

2859 Commits

Author SHA1 Message Date
Paulo Castro
1bedf937f8 Add Scott (@srlowe) to CODEOWNERS file
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
Paulo Castro
74a521a271 Set the process exit code to 1 (instead of 0) for unknown commands
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
Paulo Castro
6376ac28d5 Fix logged-in check in "logs" and "ssh" commands (async/await usage)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
Paulo Castro
2222a90884 Enable debug-mode "long stack traces" for Bluebird promises (async code)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
Paulo Castro
09f04be77d Fix Node.js download link and improve installation instructions
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
Paulo Castro
636ecaf4e0 Improve help and docs (CLI install dependencies) for the preload command
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-09 14:04:50 +00:00
Balena CI
07fa504c78 v11.17.4 2019-11-06 13:08:49 +02:00
CameronDiver
5f74023bb8
Merge pull request #1496 from balena-io/support-optional-containers
Support optional containers when pushing to local target
2019-11-06 11:07:15 +00:00
Cameron Diver
b31e253fa4
Support optional containers when pushing to local target
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-06 10:30:28 +00:00
Balena CI
f75f00e4d0 v11.17.3 2019-11-04 14:45:54 +02:00
CameronDiver
13deb83517
Merge pull request #1472 from balena-io/fix-cache-usage
Use all available on-device images during local push
2019-11-04 12:43:46 +00:00
Cameron Diver
62b7d2fd1a
Use all available on-device images during local push
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-11-04 10:27:35 +00:00
Balena CI
aa5062ea6f v11.17.2 2019-11-01 18:05:45 +02:00
srlowe
394f2e0999
Merge pull request #1493 from balena-io/1491-bugfix-no-arguments
Fix warnings when executing CLI without arguments.
2019-11-01 17:03:33 +01:00
Scott Lowe
4a967b126b Fix warnings when executing CLI without arguments.
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-01 16:21:36 +01:00
Balena CI
5f780a0947 v11.17.1 2019-10-29 12:50:40 +02:00
CameronDiver
0671ee0bef
Merge pull request #1488 from balena-io/fix-undefined-contract
Fix potentialy undefined build task when livepushing
2019-10-29 10:48:43 +00:00
Cameron Diver
55b2b5a467
Fix potentialy undefined build task when livepushing
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-28 17:50:02 +00:00
Balena CI
f7a4160c3f v11.17.0 2019-10-23 14:03:38 +03:00
CameronDiver
294290908b
Merge pull request #1484 from balena-io/update-livepush-for-build-args
Update livepush to support build arguments
2019-10-23 12:01:47 +01: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
Paulo Castro
7de059b95e
Merge pull request #1480 from balena-io/1479-catalina-warning
Add installation note regarding macOS Catalina (10.15)
2019-10-22 12:47:36 +02:00
Paulo Castro
c2b0091f86 Add installation note regarding macOS Catalina (10.15)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-10-22 12:21:25 +02:00
Balena CI
d96ad93e1e v11.16.5 2019-10-22 13:18:17 +03:00
Paulo Castro
e0373e6f19
Merge pull request #1481 from balena-io/husky-shrinkwrap
Bump livepush and reconcile husky dependency
2019-10-22 12:16:48 +02: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
51d4ffc5d9
Merge pull request #1477 from balena-io/move-check-npm-version
Move npm version check from npm 'preinstall' to git 'pre-commit' hook
2019-10-18 02:38:24 +01: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
353ee4a576
Merge pull request #1476 from balena-io/fix-check-npm-version
Fix npm install (missing automation/check-npm-version.js)
2019-10-17 20:36:54 +01: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
a05b592f00
Merge pull request #1475 from balena-io/check-npm-version
Add npm preinstall check for npm version 6.9.0 or later
2019-10-17 19:34:11 +01: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
f329acc2ec
Merge pull request #1474 from balena-io/re-run-npm-update
Fix shrinkwrap unwanted changes from older npm version
2019-10-17 14:22:05 +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
43f551dd2e
Merge pull request #1473 from balena-io/1471-support-private-device-types
Add support for private device types
2019-10-16 23:32:08 +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
Thodoris Greasidis
96bc8a829e Fix missing code formatting
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-10-16 15:47:05 +03:00
Balena CI
0cdf4d95e5 v11.15.0 2019-10-16 14:13:14 +03:00
Thodoris Greasidis
a6ac0ee17b
Merge pull request #1470 from balena-io/1064-release-tags-by-commit
Support managing tags using release commit hashes
2019-10-16 14:11:40 +03:00
Thodoris Greasidis
1b943bdf7d Support managing tags using release commit hashes
The sdk version in the shrinkwrap already
supports setting tags by commit hashes and as a
result this already works in the cli as of v11.9.6.
This PR just adds some docs and some extra
handling when the commit param prefix is all
numeric.

Resolves: #1064
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-10-16 09:12:17 +03:00
Balena CI
f831bb4645 v11.14.5 2019-10-16 02:19:15 +03:00
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