Paulo Castro
d1e66bc1a5
v14 preparations: Fix TypeError produced by 'npx oclif manifest'
...
Change-type: patch
2022-01-08 01:16:45 +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
851301a336
local configure: Allow configuring 'developmentMode' in config.json
...
Change-type: minor
2021-12-25 02:26:52 +00:00
Paulo Castro
ec6fd050f6
os build-config: Clarify command purpose in help output
...
Change-type: patch
2021-12-25 02:26:47 +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
Scott Lowe
02d3220f2d
Fix some app/fleet terminology issues
...
Signed-off-by: Scott Lowe <scott@balena.io>
2021-12-23 18:40:05 +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
1164388d78
envs: Print the fleet's slug in 'org/fleetName' format
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
06f6094401
os configure: Remove deprecated '--device-api-key' option
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
8b110a835a
fleet create: Don't print fleet's numeric database ID in confirmation msg
...
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
Scott Lowe
176d731f9e
Move some v13 features behind v14 switch.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
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
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
Paulo Castro
6e07db0813
os download: Improve error message when not logged in (balenaOS ESR versions)
...
Change-type: patch
2021-12-09 18:06: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
Paulo Castro
fcea91bfb6
os configure, local configure: Reuse disk partition scanning logic
...
Change-type: patch
2021-11-27 01:10:53 +00:00
Paulo Castro
09d004423c
Bump 'balena-lint' and fix 'no-floating-promises' warnings
...
Change-type: patch
2021-11-26 15:59:33 +00:00
Scott Lowe
b183d88400
Fix mistake in config generate
examples
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2021-11-25 16:05:37 +00:00
Scott Lowe
2b6a2142eb
Improve UX for offline usage
...
Change-type: minor
Resolves : #2372
Signed-off-by: Scott Lowe <scott@balena.io>
2021-11-25 15:14:39 +00:00
Paulo Castro
b546e4dd97
config read/write/inject: Avoid need for internet access
...
Change-type: minor
2021-11-25 02:05:40 +00:00
Paulo Castro
e4870916e2
config read: Add '--json' option for JSON output
...
Change-type: minor
2021-11-24 23:03:37 +00:00
Paulo Castro
952d782e90
Delete 'doc/automated-init.md' and improve 'balena help device init'
...
Change-type: patch
2021-11-24 18:24:14 +00:00
Paulo Castro
c166ec7597
os versions, os download: Add support for balenaOS ESR versions
...
Change-type: minor
2021-11-20 00:43:15 +00:00
Carlo Miguel F. Cruz
c493c33e38
Error message when renaming a fleet now mentions the target name.
...
Change-type: patch
Signed-off-by: Carlo Miguel F. Cruz <carloc@balena.io>
2021-10-05 17:01:07 +08:00
Paulo Castro
6cfff72c59
Fix help output for 'release finalize' command
...
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
Paulo Castro
09a4e8db2d
config inject: Remove requirement of being logged in
...
Change-type: patch
2021-09-16 12:15:53 +01: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
d6faf060e6
v13 preparations: Add feature switch for removal of '--gitignore' (push, build)
...
Change-type: patch
2021-09-08 18:10:22 +01: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
9c821511b1
device move: Rely on the device type model to get the compatible apps
...
Connects-to: #2318
Change-type: patch
See: https://www.flowdock.com/app/rulemotion/i-cli/threads/s6x4Z_LoH8IG4PC_YeXMC0TP6v-
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-09-07 07:53:02 +00:00
Thodoris Greasidis
6bb8df30dd
preload: Rely on the device type model to get the compatible apps
...
Connects-to: #2318
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-09-07 14:53:17 +03:00
Thodoris Greasidis
d793335287
preload: Replace my_application query with the SDKs application.getAll()
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2021-09-07 02:09:39 +03:00
Paulo Castro
deb3e4c4ac
Improve error handling (remove most occurrences of process.exit())
...
Finally delete the deprecated exitWithExpectedError() function from
'lib/errors.ts'.
Change-type: patch
2021-08-27 00:53:21 +01:00
Paulo Castro
d0cdc900a2
Add contract contents at release creation time
...
Change-type: patch
2021-08-26 16:11:23 +01: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
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
8338e2e933
os download: Improve error message for misspelled device type names
...
Change-type: patch
2021-07-23 15:10:00 +01:00
Paulo Castro
e624726e44
config write: Fix EBUSY error on macOS
...
Change-type: patch
2021-07-21 23:56:57 +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
36f4c1312b
config write: Fix parsing of 'key' argument with numeric components
...
Change-type: patch
2021-07-09 17:29:21 +01:00