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
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
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
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
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
Matthew Yarmolinsky
9ec37975f3
Drop support for numeric fleet id parameters from all commands
...
Resolves : #2500
Change-type: major
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 18:52:25 +00:00
Matthew Yarmolinsky
3cb35ea318
fleet: Add --filter
, --no-header
, --no-truncate
, and --sort
options
...
Resolves : #2503
Change-type: minor
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 15:35:13 +00:00
Matthew Yarmolinsky
c735f13636
config: Drop optional and ignored --type
flag
...
Change-type: patch
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 15:35:13 +00:00
Matthew Yarmolinsky
edb0fdc3c1
Drop deprecated --logs
flag
...
Resolves : #2499
Change-type: major
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 15:35:13 +00:00
Matthew Yarmolinsky
14a07ac7f7
Drop support for open-balena-api < v0.131.0
...
Resolves : #2502
Change-type: major
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 15:35:13 +00:00
Akis Kesoglou
c7f56d92dd
Switch to balena-compose
...
Removes a bunch of individual dependencies by switching to `@balena/compose` which (currently) groups and manages those dependencies together in one package.
Change-type: minor
2022-07-14 13:05:21 +00:00
Kyle Harding
3d88f0144a
Update QEMU to v7.0.0
...
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2022-06-06 14:56:10 -04:00
Taro Murao
c667ffa8eb
leave: Update log message to advise that device still needs deleting
...
Change-type: patch
2022-04-11 17:04:45 +01:00
Thodoris Greasidis
d2c77760b3
deploy: Support all valid semver versions in balena.yml
...
Resolves : #2337
Change-type: minor
Depends-on: https://github.com/balena-io/open-balena-api/pull/982
Depends-on: https://github.com/balena-io/balena-api/pull/3584
See: https://jel.ly.fish/product-improvement-draft-releases-and-release-versioning-d0391f45-c2f9-4f4e-b964-1a7e9023a3f4
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-04-08 18:16:45 +03:00
Paulo Castro
9185eaa2b7
build: Ensure HTTPS is used with dockerPort 2376 or with ca/cert/key
...
Change-type: patch
2022-04-07 00:14:03 +01:00
Paulo Castro
e946178953
Include link to Wiki release notes in version update notifications
...
Change-type: patch
2022-03-08 18:25:08 +00:00
Paulo Castro
915f7e3763
ssh: Allow ssh to service with IP address and production balenaOS image
...
Also remove 'balena ssh' dependency on the device supervisor (that may
be down because of device issues or a supervisor bug) when opening a
ssh shell on a container (#1560 ).
Resolves : #2458
Resolves : #1560
Change-type: minor
2022-02-28 21:39:49 +00:00
Paulo Castro
cd17d79067
ssh: Advise use of 'balena login' if root authentication fails
...
Change-type: patch
2022-02-24 21:48:40 +00:00
Paulo Castro
eeb2be2912
ssh: Attempt cloud username if 'root' authentication fails
...
Also refactor several files to avoid code duplication.
Change-type: minor
2022-02-12 02:40:35 +00:00
Paulo Castro
3bf8befb1d
Replace occurrence of through2 dependency with standard stream module
...
Change-type: patch
2022-02-11 17:04:32 +00:00
Paulo Castro
948095ce4d
Refactor cached username logic from events.ts to bootstrap.ts for reuse
...
Change-type: patch
2022-02-11 15:23:36 +00:00
Lucian Buzzo
eccadbdcb9
Drop unused awaitDevice utility function
...
Change-type: patch
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
2022-02-01 17:43:28 +00:00
Paulo Castro
c0f27a663d
chore: Update @types/node to v12.20.42
...
Change-type: patch
2022-01-19 22:48:46 +00:00
Paulo Castro
d1e66bc1a5
v14 preparations: Fix TypeError produced by 'npx oclif manifest'
...
Change-type: patch
2022-01-08 01:16:45 +00:00
Pagan Gazzard
c4e317a290
Automation: enforce noImplicitAny for the type-checked javascript
...
Change-type: patch
2022-01-04 16:27:06 +00:00
Pagan Gazzard
1d4b949cf3
Convert lib/utils/deploy-legacy to typescript
...
Change-type: patch
2022-01-03 16:10:17 +00:00
Pagan Gazzard
bd021c0a2d
Convert lib/utils/compose to typescript
...
Change-type: patch
2022-01-03 15:26:19 +00:00
Paulo Castro
7d58b8c120
os configure, config generate: Add '--dev' option for OS developmentMode
...
Change-type: minor
2021-12-29 00:28:04 +00:00
Paulo Castro
b2d932afab
os versions, os download: Replace deprecated version fields
...
Replace deprecated `rawVersion` and `formattedVersion` fields and use
alternative overload of `getAvailableOsVersions`. As a result, the word
'recommended' is no longer printed next to any OS versions.
Change-type: patch
2021-12-24 16:01:51 +00: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
Paulo Castro
67e11467f7
Clean up unused v13 feature switch code
...
Change-type: patch
2021-12-23 15:34:08 +00:00
Paulo Castro
c8dfd0ca65
config read/write/inject/reconfigure: Place '--type' option behind v14 switch
...
Change-type: patch
2021-12-23 15:34:08 +00:00
Paulo Castro
f12f2b79ef
build/deploy/push: Remove deprecated '--convert-eol' option
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
1ed39d1d37
Remove deprecated '--app' and '--application' options (renamed to '--fleet')
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
580ca0d584
Remove deprecated commands 'app' and 'apps' (renamed to 'fleet' and 'fleets')
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
73572df7cf
build/deploy/push: Remove deprecated '--[no]gitignore' option
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
23b42b1a2b
v13 release: Flip the v13 feature switch
...
Change-type: major
2021-12-23 15:34:08 +00:00
Pagan Gazzard
79be06820c
Update dev dependencies
...
Change-type: patch
2021-12-21 18:24:26 +00:00
Paulo Castro
c04e63ab7d
os download: Future-proof '--version' format for unified dev/prod variants
...
Do not append the '.prod' suffix by default to balenaOS versions.
Change-type: patch
2021-12-22 15:37:24 +00:00
Pranav Peshwe
e7ddd07b7b
push: Remove hardcoded 'balenaCloud' in console message
...
Change-type: patch
Signed-off-by: Pranav Peshwe <pranav@balena.io>
2021-12-14 19:54:30 +05:30
Thodoris Greasidis
3def4d0e4a
Fix symbolic link regression in push & deploy
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-12-14 02:30:08 +02:00