Scott Lowe
d3586696b4
Fix handling of thrown strings
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2021-01-15 16:45:01 +01:00
Scott Lowe
27e2b03702
Update push command for organizations
...
Change-type: patch
Connects-to: #2119
Signed-off-by: Scott Lowe <scott@balena.io>
2020-12-23 16:03:52 +01:00
Scott Lowe
9d2884aab7
Update commands ssh, tunnel to support orgs
...
Change-type: patch
Connects-to: #2119
Signed-off-by: Scott Lowe <scott@balena.io>
2020-12-17 13:01:53 +01:00
Scott Lowe
c898747468
Update various commands to support organizations
...
Change-type: minor
Connects-to: #2119
Signed-off-by: Scott Lowe <scott@balena.io>
2020-12-15 16:06:25 +01:00
Paulo Castro
511d0dbe26
Make balena-cli build on refreshed on-prem workers
...
* Fix 'balena ssh' test cases when using the Windows built-in ssh tool
* Fix Windows installer build in new balena CI workers (qqjs patch)
* Remove hardcoded path
Change-type: patch
2020-12-10 12:30:25 -08:00
Paulo Castro
54731c2d20
Livepush, logs: Automatically reconnect on 'Connection to device lost'
...
Change-type: minor
2020-12-09 20:43:14 +00:00
Scott Lowe
3edf7a038f
Remove remaining v12 switches
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-12-08 11:00:36 +01:00
Paulo Castro
2bf59530c4
docs: Add references to the masterclasses in the CLI help and README
...
Change-type: patch
2020-11-19 18:13:45 +00:00
Paulo Castro
a4fd7d6118
Fix debug message logic (don't suggest --debug if it is already being used)
...
Change-type: patch
2020-11-19 18:13:45 +00:00
Paulo Castro
d6b3249274
Livepush: Refactor dockerignore filtering and add test cases
...
Change-type: patch
2020-11-19 14:24:54 +00:00
Paulo Castro
9d177609f5
devices: Fix "TypeError: Cannot read property 'slug' of undefined"
...
Change-type: patch
2020-10-31 00:29:50 +00:00
Paulo Castro
6b208ec2ab
build/deploy: Add more test cases (--buildArg option)
...
Change-type: patch
2020-10-21 14:25:40 +01:00
Paulo Castro
2b22fb89f1
Convert more code to Typescript (compose.js)
...
Change-type: patch
2020-10-21 13:02:47 +01:00
Paulo Castro
478b5dd363
Revert styling of "balena CLI" as "balenaCLI"
...
Change-type: patch
2020-10-21 00:07:46 +01:00
Scott Lowe
592efd0a2e
Treat authorization errors as expected
...
Change-type: patch
Resolves : #2035
Signed-off-by: Scott Lowe <scott@balena.io>
2020-10-13 10:16:16 +02:00
Paulo Castro
d0e4fa0e59
Refactor initialization code (delete app-oclif.ts and app-common.ts)
...
Change-type: patch
2020-10-11 00:45:53 +01:00
Scott Lowe
0a8b3ce4e4
Add new command support
...
Change-type: minor
Resolves : #766 #1546
Signed-off-by: Scott Lowe <scott@balena.io>
2020-09-25 16:20:45 +02:00
Paulo Castro
b1897a512d
Style "balena CLI" as "balenaCLI" and "balena cloud" as "balenaCloud"
...
Change-type: patch
2020-09-18 23:27:24 +01:00
Paulo Castro
799e0f9dea
scan: Fix "CLI could not be loaded" with the standalone zip installer
...
Change-type: patch
2020-09-17 00:38:00 +01:00
Scott Lowe
d56fec6e36
Convert help to oclif, remove capitano
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-09-07 14:13:32 +02:00
Scott Lowe
88569066b5
Add support for new device metrics to device command
...
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2020-09-03 18:26:53 +02:00
Pagan Gazzard
787966a0b6
Update to typescript 4.0
...
Change-type: patch
2020-08-27 11:50:57 +01:00
Scott Lowe
8cb413c1c9
Convert deploy command to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-08-22 11:58:10 +02:00
Scott Lowe
358a909214
Shorten env add
command summary to prevent wrapping
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-08-21 12:43:12 +02:00
Paulo Castro
af1c4b0d03
build: Fix --buildArg and --cache-from options (broken since v12.9.9)
...
Change-type: patch
2020-08-14 23:12:12 +01:00
Pagan Gazzard
c1a5718364
Avoid trying to refresh token in tests
2020-08-11 17:54:39 +01:00
Pagan Gazzard
e021ad9af6
Update balena-sdk to 15.x
...
Update balena-config-json from 4.0.0 to 4.1.0
Update balena-image-manager from 7.0.1 to 7.0.3
Update balena-preload from 10.2.0 to 10.2.4
Update balena-sdk from 14.8.0 to 15.2.1
Update balena-sync from 11.0.0 to 11.0.2
Change-type: patch
2020-08-11 17:53:33 +01:00
Pagan Gazzard
c35472e94d
Tests: Specify es2018 as preferred, matching normal usage
...
Change-type: patch
2020-08-11 16:07:23 +01:00
Pagan Gazzard
511bb05cb9
Tests: Use a tmp data dir to avoid conflicts/overwriting existing data
...
Change-type: patch
2020-08-11 16:05:28 +01:00
Pagan Gazzard
53b2b54b23
Tests: Use a mocha file helper to always load config-tests first
...
Change-type: patch
2020-08-11 16:04:28 +01:00
Pagan Gazzard
497c8cd49b
Lazy load tar-stream
...
Change-type: patch
2020-08-10 12:01:55 +01:00
Pagan Gazzard
e1c42405a1
Update balena-sdk to 14.x
...
Update balena-sdk from 13.6.0 to 14.8.0
Change-type: patch
2020-08-07 21:06:07 +00:00
Paulo Castro
e8eb031253
Live push: Accept Dockerfile ENV instructions in live push to local device
...
Update livepush, chokidar and @types/dockerode dependencies
Change-type: minor
2020-08-07 21:09:47 +01:00
Paulo Castro
62dfae371c
devices: Add '--json' option to help with scripting
...
Change-type: minor
2020-08-07 15:27:42 +01:00
Paulo Castro
94f3825119
Tests: add verification of 'pkg' warnings against saved output
...
Change-type: patch
2020-08-07 01:47:31 +01:00
Nick Neisen
bab98df87b
env add: Add ability to add env var to multiple locations in one command
...
Change-type: minor
2020-08-04 17:40:26 -06:00
Thodoris Greasidis
a52a623fdf
Update balena-release to v3
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2020-08-04 15:35:29 +00:00
Paulo Castro
cf894d98a5
login: Use any free port number instead of 8989 for web authentication
...
Change-type: minor
2020-08-03 20:26:10 +01:00
Nick Neisen
47e9d39c6f
device rm: Add ability to remove multiple devices in one command
...
Change-type: minor
2020-07-30 10:31:48 -06:00
Scott Lowe
09b8cc495c
Convert command build
to typescript, oclif, and refactor
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-30 15:53:55 +02:00
Pagan Gazzard
5d7d687d6c
Tests: improve reliability of os/configure.spec.ts
...
Change-type: patch
2020-07-30 13:24:41 +01:00
Scott Lowe
0f058a4441
Convert command push
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-29 10:53:17 +00:00
Scott Lowe
56cc70cd50
Convert config
commands to typescript, oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-29 12:11:18 +02:00
Scott Lowe
3fc25cd745
Convert os build-config
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-28 15:33:28 +00:00
Paulo Castro
7eb398c6ef
devices supported: Rename 'BETA' to 'NEW' in verbose output
...
Change-type: patch
2020-07-27 20:23:51 +00:00
Scott Lowe
b7c74598b2
Convert os initialize
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-16 16:06:41 +02:00
Nick
edaf76e329
device move: Add ability to move multiple devices in one command
...
Change-type: minor
2020-07-15 08:26:31 -06:00
Scott Lowe
1c17572db0
Convert os download
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-14 23:42:39 +02:00
Scott Lowe
41635c746b
Convert os versions
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-14 17:11:30 +02:00
Scott Lowe
7ebc94c1e5
Convert local flash
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-10 11:55:24 +02:00