Commit Graph

1271 Commits

Author SHA1 Message Date
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
Cameron Diver
95c93d24da
Update resin-multibuild and add app and release template vars
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-18 10:21:12 +07:00
Paulo Castro
671dca8287 Add project directory validation for balena push / build / deploy commands
Change-type: minor
2020-02-17 15:19:07 +00:00
Paulo Castro
a15060e9fc Refactor 'balena push' error handling
Change-type: patch
2020-02-17 15:19:07 +00:00
Paulo Castro
a1c406a479 Add '--cache-from' option to balena build and deploy commands
It implements the same feature as the "docker build --cache-from" option.

Resolves: #1616
Change-type: minor
2020-02-13 18:43:15 +00:00
Paulo Castro
88a1e413a3 Fix balena push "Segmentation fault" on Windows (replace 'mmmagic' with 'isBinaryFile')
Connects-to: #1611
Change-type: patch
2020-02-13 15:51:45 +00:00
Pagan Gazzard
f9ece2ce7d Convert lib/actions/auth to typescript
Change-type: patch
2020-02-12 14:26:32 +00:00
Pagan Gazzard
2b04763ac0 Convert lib/auth/index to typescript
Change-type: patch
2020-02-12 13:20:36 +00:00
Pagan Gazzard
93ba5832d8 Convert lib/auth/server to typescript
Change-type: patch
2020-02-12 12:10:12 +00:00
Pagan Gazzard
a4b34c109d Convert lib/actions/keys to typescript
Change-type: patch
2020-02-10 22:22:06 +00:00
Pagan Gazzard
f1220c6377 Convert lib/actions/notes to typescript
Change-type: patch
2020-02-10 18:31:40 +00:00
Pagan Gazzard
99f84c2f6a Convert lib/actions/app to typescript
Change-type: patch
2020-02-10 15:02:00 +00:00
Pagan Gazzard
4de41ce3e0 Convert lib/auth/utils to typescript
Change-type: patch
2020-02-10 13:42:50 +00:00