Otávio Jacobi
77906c4152
Move to @oclif/core v2
...
Change-type: patch
2023-09-26 09:50:39 -03:00
Thodoris Greasidis
a2392dc580
device move: Stop fetching unnecessary device & app fields
...
Reduces the amount of device data retrieved
by 66%.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
1a6fe1f3de
Use stricter typings
...
Change-type: patch
2023-05-23 18:57:54 +03:00
Thodoris Greasidis
77cf4af166
Update balena-sdk to 17.0.0
...
Update balena-sdk from 16.45.1 to 17.0.0
Change-type: patch
2023-05-23 13:22:38 +03:00
Thodoris Greasidis
174312977a
Improve type checking by using the satisfies operator
...
Change-type: patch
2023-03-27 16:39:09 +03:00
JSReds
ecf4b046b5
Fix application isLegacy check for rename and deploy
...
Change-type: patch
2023-03-10 16:33:00 +01:00
Thodoris Greasidis
4de369ff95
Error when the device type and image parameters do not match
...
Resolves : #2537
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-11-10 09:37:22 -08:00
Thodoris Greasidis
57b0dccc7d
Stop relying on device-type.json for resolving the cpu architecture
...
Resolves : #2542
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-10-17 19:09:09 +03:00
Paulo Castro
c86cdc8f84
balena SDK v16: Ensure all SDK calls use fleet slug rather than name
...
Change-type: patch
2021-12-23 18:40:05 +00:00
Paulo Castro
9145f2fb28
device, devices: Print the fleet's slug in 'org/fleetName' format
...
Change-type: major
2021-12-23 15:34:09 +00:00
Pagan Gazzard
79be06820c
Update dev dependencies
...
Change-type: patch
2021-12-21 18:24:26 +00:00
Paulo Castro
fcea91bfb6
os configure, local configure: Reuse disk partition scanning logic
...
Change-type: patch
2021-11-27 01:10:53 +00:00
Thodoris Greasidis
0327ed766d
device move: Improve types & reduce the number of API requests
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-09-07 11:43:35 +00:00
Thodoris Greasidis
24fe6666e4
balena deploy: Retrieve the cpu arch as part of the device type resource
...
Connects-to: #2318
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-08-30 22:30:16 +00:00
Paulo Castro
64a44e7a5f
Rename applications to fleets (stage 1). See: https://git.io/JRuZr
...
- Add fleet(s) commands and -f, --fleet flags as aliases to the app(s)
commands and -a, --app, --application flags.
- Conditionally rename column/row headers and JSON object properties
from 'application' to 'fleet', with some variations.
- Print warning messages regarding the renaming, provided that stderr
is attached to an interactive terminal.
Change-type: minor
Resolves : #2302
2021-08-09 12:12:03 +01:00
Paulo Castro
f914fa2d8a
chore: Remove 'umount' dependency (as advised by "npm audit")
...
Address security advisory https://www.npmjs.com/advisories/1512
Change-type: patch
2021-07-21 23:56:57 +01:00
Paulo Castro
3a871a0003
chore: Update balena-lint
...
Change-type: patch
2021-07-20 18:02:16 +01:00
Paulo Castro
cfd790a193
Update 'devDependencies' in package.json
...
Change-type: patch
2021-07-09 21:34:09 +01:00
Roland Kajatin
501882fd26
os configure, local configure: Fix "Unsupported filesystem" error
...
When configuring a BalenaOS image with system connections using the CLI,
the function assumed that the boot partition was always 1. This is not
the case for every supported board. Therefore, a new function is added,
which automatically determines the boot partition number and allows
users to configure the image with system connection settings.
This change affects both the `balena local configure` and `balena os configure` commands.
Change-type: patch
2021-05-16 18:08:26 +02:00
Paulo Castro
0f9d78ab50
config inject/read/write: Fix umount errors with OS image files
...
Resolves : #1003
Change-type: patch
2021-04-13 23:30:19 +01:00
Paulo Castro
06f7683837
Refactor dependency import in utils/helpers.ts for performance
...
Change-type: patch
2021-04-13 22:14:13 +01:00
Paulo Castro
07666e953f
Livepush: Extend CTRL-C availability (don't ignore CTRL-C during image build)
...
Change-type: patch
2020-12-09 22:49:47 +00:00
Paulo Castro
54731c2d20
Livepush, logs: Automatically reconnect on 'Connection to device lost'
...
Change-type: minor
2020-12-09 20:43:14 +00:00
Paulo Castro
478b5dd363
Revert styling of "balena CLI" as "balenaCLI"
...
Change-type: patch
2020-10-21 00:07:46 +01: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
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
Pagan Gazzard
787966a0b6
Update to typescript 4.0
...
Change-type: patch
2020-08-27 11:50:57 +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
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
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
Scott Lowe
e20265518d
Modify runCommand to accept args array instead of string
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-06 12:49:37 +02:00
Thodoris Greasidis
497023965f
config generate, os configure: Add support for mixed arch fleets
...
Resolves : #1914
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2020-07-03 22:03:18 +00:00
Scott Lowe
402e48c8f8
Fix cross-framework nested commands
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-02 20:33:05 +02:00
Pagan Gazzard
178c3f9154
Remove all module level bluebird usage from eagerly loaded modules
...
Change-type: patch
2020-07-02 14:00:26 +01:00
Pagan Gazzard
303c3af061
Switch from Bluebird.join to native version
...
Change-type: patch
2020-06-30 23:59:18 +01:00
Pagan Gazzard
5e94f3f9c9
Add typing info to requires wherever possible
...
Change-type: patch
2020-06-30 23:21:39 +01:00
Pagan Gazzard
6dce5c1212
Use import type
where possible to explicitly import only type info
...
Change-type: patch
2020-06-24 13:46:27 +00:00
Scott Lowe
ab673f884a
Convert device commands to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-18 13:59:41 +02:00
Paulo Castro
c619bd4b99
Update 'balena-lint' and apply new prettier rules
...
Change-type: patch
2020-06-15 23:53:07 +01:00
Paulo Castro
1d073af31a
v12 preparations: Add feature switch for '--nogitignore'
...
Connects-to: #1770
Change-type: patch
2020-05-29 01:12:15 +01:00
Scott Lowe
889c7b08cf
v12 preparations: Add version switch, update login message.
...
Change-type: patch
Connects-to: #1770
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-27 18:29:36 +02:00
Scott Lowe
1c354c800b
Replace windows dns workaround with single lookup
...
Change-type: patch
Connects-to: #1518
Resolves : #1727
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-22 12:14:58 +00:00
Pagan Gazzard
2f24e591ef
Avoid unnecessary api calls in balena build
and balena deploy
...
Change-type: patch
2020-05-01 15:58:44 +01:00
Pagan Gazzard
0cfa1a0dfb
Convert lib/actions/device.coffee to javascript
...
Change-type: patch
2020-04-25 14:08:30 +00:00
Paulo Castro
a74f0413df
Handle ssh process exit codes
...
Change-type: patch
2020-03-31 14:27:30 +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
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
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
Scott Lowe
58e7880f1d
Add support for auto-conversion of CRLF line endings.
...
Applies to commands:
balena push
balena build
balena deploy --build
Change-type: minor
Resolves : #1273
Signed-off-by: Scott Lowe <scott@balena.io>
2020-01-31 16:27:22 +01:00