myarmolinsky
166130c3df
Add balena api-keys
command for listing user/fleet API keys
...
Change-type: minor
2023-05-25 09:11:36 -04:00
Thodoris Greasidis
063e9d40f0
device init: Avoid extra request when not providing the --fleet option
...
Change-type: patch
2023-05-24 14:22:04 +03:00
Thodoris Greasidis
2b58143164
devices: Use a single request when providing the --fleet parameter
...
Reduces the response time when using
--fleet from 1.5s to 1s.
Change-type: patch
2023-05-24 14:22:04 +03:00
Thodoris Greasidis
861d4f33b7
ssh,tunnel: Fetch the fleet & devices in one request
...
Change-type: patch
2023-05-24 14:22:04 +03:00
Thodoris Greasidis
07cb0cbfcd
device init: Stop fetching unnecessary app fields
...
Change-type: patch
2023-05-24 13:37:19 +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
8b3235ab2b
device register: Stop fetching unnecessary app fields
...
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
15dac6f194
config generate: Stop fetching unnecessary app fields
...
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
3c93db8449
devices: Stop fetching unnecessary device fields
...
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
9d8df0b781
fleet rm,restart,rename,purge: Stop fetching unnecessary app fields
...
Halves the amout of application data retrieved.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
bcadbdbed8
push: Stop unnecessarily fetching the application name
...
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
05a96fa60e
ssh,tunnel: Reduce the amount of application fields fetched
...
Halves the amout of application data retrieved.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
2e37536e7a
orgs: Stop fetching unnecessary org fields
...
Halves the amount of org data retrieved to
show the list of orgs to select from.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
025c4ef7f2
fleet create: Reduce the amount of org fields fetched
...
Halves the amount of org data retrieved to
show the list of orgs to select from.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
ecbc660bf5
Fetch only the app slug when resolving an app by name
...
Affects many env & tags commands, as well
as support, releases & preload.
Change-type: patch
2023-05-24 13:37:19 +03:00
Thodoris Greasidis
46aa08c953
Remove extra request when filling the application selection list
...
Saves one request of about 450ms on the
init and move commands.
Change-type: patch
2023-05-23 22:47:10 +03:00
Thodoris Greasidis
1a6fe1f3de
Use stricter typings
...
Change-type: patch
2023-05-23 18:57:54 +03:00
Thodoris Greasidis
50e852acee
env add: Fix accepting fleet names when setting service vars
...
Change-type: patch
2023-05-23 15:59:41 +03:00
Thodoris Greasidis
e371b1e759
Update balena-preload & balena-image-manager
...
Update balena-image-manager from 8.0.1 to 9.0.0
Update balena-preload from 13.0.0 to 14.0.0
Change-type: patch
2023-05-23 13:22:38 +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
83a5e7392a
secureboot: Retrieve the OS release & contract in one request
...
Change-type: patch
2023-05-19 19:22:23 +03:00
Alex Gonzalez
f0c8c37022
os configure, config generate: Add '--secureBoot' option to opt-in secure boot
...
Allow to generate a config file with `installer.secureboot` set so that
a secure boot and disk encrypted system can be installed.
Change-type: minor
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2023-05-19 18:10:00 +02:00
Thodoris Greasidis
5bf95300ee
support: Change the printed support expiry date in ISO 8601 UTC format
...
Change-type: major
2023-05-12 19:00:10 +03:00
Thodoris Greasidis
adb460b270
logs: Change the timestamp format to ISO 8601 UTC
...
Resolves : #2608
Change-type: major
2023-05-12 19:00:10 +03:00
Felipe Lalanne
7dfb7474f5
Update to Node 16
...
This also drops support for Node 14
Change-type: major
2023-05-11 17:49:37 -04:00
Felipe Lalanne
cd19845b6b
Use valid release uuid for local releases
...
On local push, the CLI uses `localrelease` as the `commit` property for
the development application. This is not a valid uuid and will not be
read properly by the supervisor, as seen in
https://github.com/balena-os/balena-supervisor/blob/master/src/compose/service.ts#L652
While this is not a problem right now, the commit is becoming the main
way to identify a service release (replacing `releaseId` and `imageId`),
and the invalid release uuid could cause update issues when pushing a
local release on when using some API endpoints.
Change-type: patch
Relates-to: balena-os/balena-supervisor#2136
2023-05-03 15:08:19 -04:00
Thodoris Greasidis
174312977a
Improve type checking by using the satisfies operator
...
Change-type: patch
2023-03-27 16:39:09 +03:00
Otávio Jacobi
5761a306be
Devices: explicitly fetches only used fields
...
Change-type: patch
2023-03-13 09:35:43 -03:00
JSReds
ecf4b046b5
Fix application isLegacy check for rename and deploy
...
Change-type: patch
2023-03-10 16:33:00 +01:00
Heath Raftery
0b9b65ef88
patch: Clarify update rate of update notifier info
...
If the cli has not been run in a while, it will show old update information. It's not obvious why, and this might lead to confusion. So this commit just adds a comment to clarify that out-of-date update notifier info is expected behaviour, and why.
2023-01-26 14:15:43 +11:00
Pagan Gazzard
234fb6cd39
Use https for the npm deprecation check, avoiding a redirect
...
Change-type: patch
2023-01-18 13:11:31 +00:00
Josh Bowling
ba80d3c38c
Fix push --nolive doc typo
...
Change-type: patch
2023-01-13 13:36:44 +09:00
Felipe Lalanne
a8c0c884d3
Extra linting
2023-01-03 16:08:10 -03:00
Felipe Lalanne
b11c7157d3
Update to node 14
2023-01-03 16:04:24 -03:00
Felipe Lalanne
578de7bcd4
Process livepush build logs inline
...
When using livepush, the CLI parses the build logs to obtain the stage
image ids, which are necessary for properly running livepush.
This process used to store the full log output in memory before parsing
the logs for obtaining the stage ids. We have seen this cause issues
before because of the excessive memory usage and it is one the suspects
of #2165 , which is blocking the update to Node 14
Change-type: patch
2023-01-03 12:29:54 -03:00
Thodoris Greasidis
2fd0ca6a02
Stop using the deprecated balena-sync module
...
Change-type: patch
2022-12-29 01:05:51 +02:00
Thodoris Greasidis
ca97678358
Fix surfacing incompatible device type errors as not recognized
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-11-10 16:52:14 -08: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
1c7d9255ae
Stop waiting for the analytics response
...
Change-type: patch
See: https://balena.zulipchat.com/#narrow/stream/345884-aspect.2Fanalytics/topic/Balena.20CLI.20analytics-performance
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-10-21 19:07:39 +03:00
Otávio Jacobi
4a5d44a0f1
Merge branch 'master' into send-tracking-to-analytics-backend
2022-10-18 08:15:33 -03:00
Thodoris Greasidis
2e115968d5
config generate: Fix the incompatible arch errors showing as not found
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-10-17 23:44:08 +03:00
Thodoris Greasidis
a20d2a04a8
Stop relying on device-type.json for resolving the device type aliases
...
Resolves : #2541
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-10-17 19:09:09 +03: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
Otávio Jacobi
d1e3bdf29a
keeps events loggiging with default message
...
change-type: minor
2022-10-17 10:07:51 -03:00
Otávio Jacobi
bdf7fedd7a
uses amplitude data events format
...
Change-type: minor
2022-10-14 10:50:12 -03:00
Otávio Jacobi
c163662f4a
changes analytics endpoint to analytics-backend
...
change-type: minor
2022-10-13 19:32:55 -03:00
Heath Raftery
e46902e683
balena os initialize: Clarify that the process includes flashing
...
Change-type: patch
2022-10-12 16:45:16 +03:00
Thodoris Greasidis
34b4ac2d9f
device register: Add support for the --deviceType
option
...
Resolves : #2531
Change-type: minor
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-10-12 11:15:00 +03:00
Thodoris Greasidis
a117dc0382
Add unified OS versions in the examples of the device & os commands
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-09-06 13:26:26 +03:00
Matthew Yarmolinsky
934c3ddf38
release: Add validate
command for validating releases
...
Change-type: minor
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-15 19:44:54 +00:00