Scott Lowe
a2b761ec4b
Convert command scan
to TypeScript, migrate to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-22 11:13:40 +00:00
Pagan Gazzard
88e4009e88
Update to balena-release
...
Change-type: patch
2020-04-21 17:39:25 +01:00
Scott Lowe
be82bcfa63
convert commands key
, keys
, key add
, key rm
to oclif.
...
Also:
- Display keys with `name` instead of `title`.
- Check for empty key before calling API.
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-20 16:07:39 +02:00
Paulo Castro
655534469a
Review 'instanceof' usage with classes of external packages
...
Change-type: patch
2020-04-18 02:50:00 +01:00
Scott Lowe
cff9e50a22
improve input validation for key
, key rm
...
Change-type: patch
Resolves : #1728
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-15 17:08:25 +02:00
Scott Lowe
320b4864d9
device os-update: allow host OS upgrade with development balenaOS images
...
also:
fix `device os-update` incorrectly showing 0% progress
convert `device os-update` to use async/await
Change-type: minor
Resolves : #1725
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-15 15:07:10 +02:00
Scott Lowe
3aa72dde4c
Convert commands join, leave to oclif.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-09 20:50:42 +02:00
Hugh Brown
a50ca78eef
Minor grammar fix in balena ssh documentation
...
Minor grammar fix in balena ssh documentation
Change-type: patch
Signed-off-by: Hugh Brown <hugh@balena.io>
2020-04-07 10:08:24 -07:00
Scott Lowe
bc3fe29624
Convert internal scandevices
, internal osinit
to typescript & oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-03 16:39:39 +02:00
Paulo Castro
96e28f3d45
Fix project directory validation for 'balena deploy' with pre-built image
...
Change-type: patch
2020-04-02 19:44:27 +01:00
Scott Lowe
9aa6b0bc57
Remove unused code from balena note
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-01 15:07:40 +02:00
Scott Lowe
d2fd1ec80a
Check logged in for balena build
if application specified
...
Correct eroneous -f flag in `balena build` help
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-04-01 12:39:30 +02:00
Paulo Castro
159cb752d1
Add '-t' option to 'balena ssh' to bypass TTY autodetection (force allocation)
...
Change-type: patch
2020-03-31 14:50:09 +01:00
Paulo Castro
a74f0413df
Handle ssh process exit codes
...
Change-type: patch
2020-03-31 14:27:30 +01:00
Pagan Gazzard
1a71bad8bb
Convert lib/actions/local/common.coffee to javascript
...
Change-type: patch
2020-03-31 11:57:47 +01:00
Paulo Castro
30738d93b0
Fix "the input device is not a TTY" when piping to 'balena ssh' (local device)
...
Change-type: patch
2020-03-30 14:45:16 +01:00
Paulo Castro
be76b8adbd
Fix 'balena ssh' on MSYS Windows shell ("unexpected end of file")
...
Resolves : #1681
Change-type: patch
2020-03-30 14:45:16 +01:00
Paulo Castro
d6a065a230
Delete unused code (ssh.coffee)
...
Change-type: patch
2020-03-30 14:45:15 +01:00
Scott Lowe
fcad35402a
Convert command note
to oclif
...
Add oclif support for piped input
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-30 14:47:43 +02:00
Scott Lowe
49b00e18ae
Convert command settings
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-30 14:47:43 +02:00
Scott Lowe
e5d2661c96
Clarify balena device os-update
help re balenaCloud
...
Change-type: patch
Resolves : #1679
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-26 13:59:12 +01:00
Pagan Gazzard
b3b22d6399
Use balena-lint for javascript linting and add javascript type-checking
...
Change-type: patch
2020-03-25 12:12:03 +00:00
Pagan Gazzard
47e85da789
Deduplicate balenaUrl
fetching in events
...
Change-type: patch
2020-03-24 17:35:44 +00:00
Scott Lowe
8658104647
Add support for authentication checking to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-24 10:19:18 +01:00
Scott Lowe
f24c4a036c
Add support for root
property on oclif commands
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-19 19:50:17 +01:00
Scott Lowe
46b695cf22
Add support for primary/secondary oclif commands
...
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2020-03-19 15:45:04 +01:00
Pagan Gazzard
809a5fae25
Switch to native number check
...
Change-type: patch
2020-03-13 16:15:07 +00:00
Pagan Gazzard
eccb1bd9ad
Switch to native string check
...
Change-type: patch
2020-03-13 16:13:21 +00:00
Pagan Gazzard
f859d5025a
Switch to native Array.isArray
instead of aliases
...
Change-type: patch
2020-03-13 16:09:43 +00:00
Pagan Gazzard
2860535c45
Fix balena local flash
...
Change-type: patch
2020-03-12 21:34:40 +00:00
Pagan Gazzard
09a59ab03f
Remove dependency on inquirer-dynamic-list
2020-03-12 18:03:10 +00:00
Pagan Gazzard
3d2e109e7f
Update dependencies
...
Update balena-sdk from 12.26.7 to 12.29.1
Change-type: minor
2020-03-12 18:03:10 +00:00
Paulo Castro
5a80654305
Avoid Sentry reporting of selected common "expected" errors
...
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
d2df2c7b60
Fix occasional "CLI prints 'null' and exits" (replace old Raven/Sentry SDK)
...
Resolves : #1523
Connects-to: #1333
Connects-to: #1193
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
36d3d1256e
Don't send the full command line to Sentry.io
...
Resolves : #703
Change-type: patch
2020-03-09 12:51:56 +00:00
Paulo Castro
b77cb56cd0
Fix occasionally missed command tracking request (oclif commands)
...
Change-type: patch
2020-03-09 12:51:56 +00:00
Cameron Diver
b83431c2e0
Improve the UX by only printing effective file changes in livepush
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-03-06 15:17:02 +00:00
Paulo Castro
ca8272b477
Fix build --emulated
on Linux ("exec format error")
...
Resolves : #1649
Change-type: patch
2020-03-06 01:51:36 +00:00
Paulo Castro
9470e804c0
Don't ignore BALENARC_NO_PROXY env var if HTTP(S)_PROXY env vars are defined
...
Change-type: patch
2020-03-02 15:11:02 +00:00
Pagan Gazzard
00943463a4
Use types for global-agent and global-tunnel-ng
...
Change-type: patch
2020-03-02 15:10:58 +00:00
Pagan Gazzard
3f6d770233
Remove lodash usage in proxy setup
...
Change-type: patch
2020-03-02 15:05:15 +00:00
Pagan Gazzard
c4a6086e9c
Don't try to setup a proxy agent when there's no proxy configured
...
Change-type: patch
2020-03-02 15:04:52 +00:00
Pagan Gazzard
fe4e1d09d7
Update dependencies
...
Update balena-sdk from 12.21.1 to 12.26.7
Change-type: patch
2020-03-02 11:20:20 +00:00
Pagan Gazzard
235c13bea9
Switch to object spreading in favor of _.assign
...
Change-type: patch
2020-02-29 22:08:10 +00:00
Pagan Gazzard
98152c0b09
Lazy-load chalk
...
Change-type: patch
2020-02-28 18:34:54 +00:00
Pagan Gazzard
7c62e34455
Simplify lazy-loading of resin-cli-visuals with a shared function
...
This also avoids current unnecessary requiring of resin-cli-visuals
for every command
Change-type: patch
2020-02-28 15:29:07 +00:00
Pagan Gazzard
48b281d7c6
Make use of capitano's promise support to simplify the code
...
Change-type: patch
2020-02-28 13:27:07 +00:00
Pagan Gazzard
eac6bb5e5c
Simplify lazy-loading of balena-sdk by utilizing a shared function
...
This also avoids instantiating multiple balena-sdk
Change-type: patch
2020-02-27 17:17:36 +00:00
Paulo Castro
cdfd1d124b
Fix build/deploy commands with QEMU emulation and alternative Dockerfile name
...
Resolves : #1624
Change-type: patch
2020-02-25 16:42:12 -03:00
Pagan Gazzard
4abdd71ce7
Update type deps
...
Change-type: patch
2020-02-24 14:15:48 +00:00