Ken Bannister
aa9a148c46
Upgrade dockerode and docker-modem dependencies
...
Includes test fixes due to an interface change in docker-modem.
Change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
2024-04-29 07:56:53 -04:00
Thodoris Greasidis
04b4444fc2
Update expected build warning tests
2024-04-09 17:17:07 +03:00
Thodoris Greasidis
98514cef09
Deduplicate dependencies
2024-04-09 17:17:07 +03:00
Thodoris Greasidis
e7869f4c6d
Update balena-device-init to v7.0.1
...
Change-type: patch
2024-04-09 17:17:07 +03:00
myarmolinsky
634ad156ce
Update @balena/lint to 8.0.0
...
Change-type: patch
2024-03-14 10:00:52 -04:00
Otavio Jacobi
38a2817587
Add support for macos arm64 builds
...
Change-type: minor
2024-03-11 20:49:29 -03:00
Otavio Jacobi
756f6b328b
Update dependencies
...
Change-type: patch
2024-03-11 16:35:32 -03:00
Otávio Jacobi
bf5e61a61c
Update to Node 20
...
Change-type: major
2024-02-05 18:29:02 -03:00
Thodoris Greasidis
4266dc6951
deploy: Add rate-limiting aware retries for failed requests
...
Change-type: patch
2023-12-19 01:16:42 +02:00
Otávio Jacobi
b9722c6796
Bump oclif core & use default missing flag handler
...
Change-type: patch
2023-12-08 12:06:54 -03:00
Otávio Jacobi
72a924f00e
Bump oclif-core to v3
...
Change-type: patch
2023-11-16 15:06:24 -03:00
Brian Bugh
d78045b6ab
device: Add --json
option for JSON output
...
change-type: minor
2023-11-10 12:10:53 -03:00
myarmolinsky
7d13946c3e
Bump balena-lint to 7.2.1
...
Change-type: patch
2023-10-30 07:45:51 -04:00
Otávio Jacobi
04db9c7a91
Update balena-sdk and deduped dependencies
...
Update balena-sdk from 18.0.0 to 19.0.0
Update balena-preload from 14.0.3 to 15.0.1
Update balena-image-manager from 9.0.2 to 10.0.1
Change-type: patch
2023-10-26 16:27:43 -03:00
Brian Bugh
b7e5915c7a
release: Add '--json' option for JSON output
...
change-type: minor
2023-10-20 07:42:39 -05:00
Brian Bugh
0cef6b8f87
releases: Add '--json' option for JSON output
2023-10-20 08:05:36 -03:00
Thodoris Greasidis
66b6eed57c
Add tests for empty & non-provided value for the env add
command
...
Change-type: patch
2023-10-20 13:11:12 +03:00
Thodoris Greasidis
99b0f2c022
Add tests for the tag set
command
...
Change-type: patch
2023-10-20 13:06:39 +03:00
Otávio Jacobi
77906c4152
Move to @oclif/core v2
...
Change-type: patch
2023-09-26 09:50:39 -03:00
myarmolinsky
e46378ec51
Update oclif, improve help command
...
Change-type: minor
2023-09-04 21:07:05 -03:00
Otávio Jacobi
817ce5dc96
Update to Node 18
...
Change-type: major
2023-08-29 07:35:53 -03:00
Otávio Jacobi
14ba287e0d
Accept device & application keys on login as experimental feature
...
Change-type: minor
2023-08-23 11:12:06 -03:00
Otávio Jacobi
8b320d3e9e
Update balena-sdk to v18
...
Update balena-sdk from 17.21.1 to 18.0.0
Update balena-preload from 14.0.0 to 14.0.2
Update balena-image-manager from 9.0.0 to 9.0.2
Change-type: patch
2023-08-22 09:38:39 -03:00
Otávio Jacobi
e79cdb671f
Update balena-settings-storage to 8.1.0
...
Update balena-settings-storage from 7.0.0 to 8.1.0
Change-type: patch
2023-08-21 14:42:28 -03:00
Otávio Jacobi
9cca654bd5
Update balena-sdk to 17.12.1
...
Update balena-sdk from 17.8.0 to 17.12.1
Change-type: patch
2023-08-21 14:39:16 -03:00
balenaCI
d61c300750
build linux/arm packages
...
change-type: minor
2023-05-16 10:39:00 -07:00
Felipe Lalanne
281f8abb9a
Update etcher-sdk to v8.5.3
...
This removes the dependency on our custom fork of [node-usb](https://github.com/balena-io-modules/node-usb )
and uses the maintained building method of the official node-usb repo
Change-type: patch
2023-05-11 18:10:52 -04:00
Felipe Lalanne
2cf2918d73
Update vercel/pkg to v5.8.1
...
This seems to be needed to build the binaries for node v16 since earlier
versions failed with
```
Error: Could not detect abi for version 16.13.0 and runtime node. Updating "node-abi" might help solve this issue if it is a new release of node
```
Change-type: patch
2023-05-11 17:49:49 -04: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
Thodoris Greasidis
c1017e8e27
Add support for device restarts in open-balena
...
Update balena-sdk from 16.28.2 to 16.40.0
Change-type: minor
2023-04-05 12:57:33 +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
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
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
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
Thodoris Greasidis
8235cead07
Drop the needsPasswordReset property from the tests
...
Change-type: patch
See: https://github.com/balena-io/balena-api/pull/3665
2022-05-31 12:46:49 +03:00
Balena CI
0195a3b18c
Add provisioning key expiry date option to config generate options
...
Change-Type: minor
Signed-off-by: Nitish Agarwal <1592163+nitishagar@users.noreply.github.com>
2022-05-22 21:50:48 +05:30
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
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
c0f27a663d
chore: Update @types/node to v12.20.42
...
Change-type: patch
2022-01-19 22:48:46 +00:00
Pagan Gazzard
33f7fa3829
Build: switch from using inline-source via gulp to using it directly
...
Change-type: patch
2022-01-04 15:03:05 +00:00
Pagan Gazzard
008972b3d3
Update pkg
...
Change-type: patch
2022-01-03 17:35:13 +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
1164388d78
envs: Print the fleet's slug in 'org/fleetName' format
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
7564d95f82
devices supported: Remove deprecated '--verbose' and '--discontinued' options
...
Change-type: major
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
73572df7cf
build/deploy/push: Remove deprecated '--[no]gitignore' option
...
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
Scott Lowe
f3fb9b6bdf
v13 preparations: Standardize command data output
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2021-12-08 12:10:08 +01:00
Nitish Agarwal
6ba67eefdb
Add provisioning key name option to config generate options
...
Change-Type: minor
Signed-off-by: Nitish Agarwal 1592163+nitishagar@users.noreply.github.com
2021-11-29 16:15:55 +05:30
Thodoris Greasidis
58b29bf4bb
Stop creating an extra provisioning API key in each config generation
...
Change-type: patch
Changelog-entry: Avoid creating an extra provisioning API key in os configure & config generate
See: https://github.com/balena-io/balena-cli/pull/2294#discussion_r756499196
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-11-25 16:40:53 +02:00
Paulo Castro
d64b6deb81
push/build: Add test cases for .dockerignore filtering corner cases
...
Change-type: patch
2021-11-22 01:50:27 +00:00
Kyle Harding
48053ecefc
preload: Avoid possible ValueError when parsing storage driver
...
Update balena-preload from 10.5.0 to 11.0.0
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-10-15 09:44:27 -04:00
Paulo Castro
be306e6a20
Avoid NockMock warnings during standalone executable testing
...
Change-type: patch
2021-09-30 01:12:17 +01:00
Paul Jonathan Zoulin
a18e182ae4
Add support for releases
...
Signed-off-by: Paul Jonathan <pj@balena.io>
Change-type: minor
2021-09-28 14:28:43 +00:00
toochevere
ffccbfba12
build, deploy: Add support for multiarch base images
...
Bump version of balena-multibuild to the one that supports multiarch
Remove previous hack to avoid sending platform information to multibuild
Change-type: minor
Signed-off-by: Paul Jonathan <pj@balena.io>
See: https://github.com/balena-io/balena-cli/issues/1508
2021-09-23 16:37:45 +00:00
Paulo Castro
305c9045f0
build, deploy: Fix processing of '--tag' option
...
Change-type: patch
Resolves : #825
Resolves : #1018
2021-09-10 23:11:20 +01:00
Paulo Castro
6244af3464
chore: Update net-keepalive dependency (fix CLI packaging errors)
...
Change-type: patch
2021-09-10 00:20:26 +01:00
Paulo Castro
d6faf060e6
v13 preparations: Add feature switch for removal of '--gitignore' (push, build)
...
Change-type: patch
2021-09-08 18:10:22 +01:00
Paulo Castro
352fd197b7
v13 preparations: Adjust test cases for 'balena envs'
...
Change-type: patch
2021-09-08 17:48:16 +01:00
Paulo Castro
afb6f938b7
v13 preparations: Adjust test cases for 'balena devices'
...
Change-type: patch
2021-09-08 17:47:40 +01: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
d0cdc900a2
Add contract contents at release creation time
...
Change-type: patch
2021-08-26 16:11:23 +01:00
toochevere
972c2470c5
Fix env variable to avoid test failures
...
Signed-off-by: Paul Jonathan <pj@balena.io>
Change-type: patch
2021-08-25 17:01:22 +00:00
toochevere
7d568a928b
Add balena.yml handling and --draft
to balena deploy
release creation
...
This change allows use of a contract and release semver when doing a push,
and is part of the larger feature to use the builder as part of a CI/CD pipeline.
Change-type: minor
Signed-off-by: Paul Jonathan <pj@balena.io>
2021-08-25 17:01:17 +00:00
Paulo Castro
c2d3eee7cc
Add deprecation policy checker and --unsupported global flag
...
Change-type: minor
2021-08-19 23:17:31 +01:00
Paulo Castro
318de8f017
Update dependencies (balena-sdk from v15.36.0 to v15.48.0)
...
Update balena-sdk from 15.36.0 to 15.48.0
Change-type: patch
2021-08-16 23:33:44 +01:00
Felipe Lalanne
254ef1c8cf
Add --draft
option to balena push
...
This change will allow to build releases as draft and have them being
set as final at a later stage. This change is part of a larger feature towards
using the builder as part of CI/CD pipelines.
Depends-on: https://github.com/balena-io/balena-builder/pull/868
Change-type: minor
2021-08-15 16:43:01 +00:00
Paulo Castro
58704b08d3
envs, env add: Fix "Application is ambiguous" when using device UUID
...
Change-type: patch
2021-08-11 02:00:35 +01: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
Paulo Castro
36f4c1312b
config write: Fix parsing of 'key' argument with numeric components
...
Change-type: patch
2021-07-09 17:29:21 +01:00
Paulo Castro
a254e46118
devices supported: Use new DeviceType data model as source of truth
...
Change-type: patch
2021-05-16 22:48:22 +00:00
Marios Balamatsias
ac96616e4e
osConfigure/localFlash: Add support for Node.js v14
...
* Replace old resin-image-fs with newer balena-image-fs
* package.json: Remove resin-image-fs package
* package: Install dependencies that work with node14
* Remove resin-image-fs typings
* Fix etcher-sdk related types
* local/flash: Add unmountOnSuccess, write, direct properties on flash
Taken from https://github.com/balena-io-modules/etcher-sdk/blob/master/examples/multi-destination.ts
* tests/utils/eol-conversion: Remove ext2fs sample binary
Specifically ext2fs/build/Release/bindings.node
I removed it because the file doesn't exist
* tests/test-data/pkg: Add new expected warnings darwin/linux/windows
* os/configure: Remove windows check
* local/flash: Check if environment is WSL and show warning message
* Get tests to pass with certain Node v14 warning messages
* INSTALL-WINDOWS: Remove os configure warning
Improve push and logs support for Node.js v14 (bump 'net-keepalive')
Resolves : #2200
Resolves : #1990
Change-type: minor
Signed-off-by: Marios Balamatsias <mbalamatsias@gmail.com>
2021-03-31 01:15:47 +03:00
Paulo Castro
25b1dff5d8
Bump patch-package
dependency and remove its own patch file
...
Change-type: patch
2021-03-22 16:12:44 +00:00
Paulo Castro
bcea5193a1
build, deploy: Fix error handling when QEMU download fails
...
Change-type: patch
2021-03-06 16:10:33 +00:00
Scott Lowe
e6b85c9cf8
Modify push to pass app slug to builder
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2021-02-04 10:41:00 +01:00
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