Commit Graph

2623 Commits

Author SHA1 Message Date
srlowe
0462574d8d
Merge pull request #1501 from balena-io/1485-filter-discontinued-devices
Hide discontinued device types in `balena devices supported`, `balena app create`.
2019-11-15 13:39:41 +01:00
Scott Lowe
1325fb8c9a Use helpers version of cleanOutput in tests.
Simplify expect semantics in tests.

Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:56 +01:00
Scott Lowe
cf42dca777 Hide discontinued device types in balena app create.
Add basic tests for `balena app create`

Connects-to: #1485
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:56 +01:00
Scott Lowe
afd97bd304 Hide discontinued device types in balena devices supported.
Add tests for action.
Convert action to TypeScript.

Connects-to: #1485
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:55 +01:00
Balena CI
45ce442cf2 v11.18.1 2019-11-15 12:18:56 +02:00
Paulo Castro
e8c5c9e9ef
Merge pull request #1514 from balena-io/1511-invalid-containerPort
Fix "Invalid containerPort" error with EXPOSE instructions in local QEMU builds
2019-11-15 10:17:10 +00: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
Paulo Castro
0bc1e7057f
Merge pull request #1507 from balena-io/1504-os-configure
Fix 'os configure --config', and migrate it to oclif + TypeScript
2019-11-12 21:46:07 +00:00
Paulo Castro
d94a74dfee Fix 'os configure --config', and migrate it to oclif + TypeScript
Also add more non-interactive configuration options:
--config-network, --config-wifi-*, --config-app-update-poll-interval

Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-12 21:09:18 +00:00
Paulo Castro
a25a52c21b Error handling: add ExpectedError type as alternative to exitWithExpectedError()
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-12 19:36:43 +00:00
Balena CI
268bc36843 v11.17.5 2019-11-12 21:14:37 +02:00
Paulo Castro
8e7eaaae24
Merge pull request #1506 from balena-io/miscellaneous-fixes
Miscellaneous commits (preload docs, long stack traces, exit code, ExpectedError)
2019-11-12 19:12:58 +00:00
Paulo Castro
b69ba0b617 Improve command usage format consistency in 'balena help' output
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-10 00:54:22 +00:00
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