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
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
c2d3eee7cc
Add deprecation policy checker and --unsupported global flag
...
Change-type: minor
2021-08-19 23:17:31 +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
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
Dan Goodman
973f1a9c40
Add notarization for macOS graphical installer
...
Change-type: patch
2021-04-06 16:56:07 -04: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
68b61e7424
Refactor automation scripts (reduce need for MSYS to build on Windows)
...
Change-type: patch
2021-03-23 00:04:43 +00:00
Paulo Castro
37c2880996
push: Fix docker-compose.dev.yml serialization ("should be object,null" error)
...
Change-type: patch
2021-03-20 22:17:20 +00:00
Paulo Castro
b90c9b0d7e
docs: Fix missing markdown docs for device deactivate
and local-mode
...
Change-type: patch
2021-02-23 22:10:52 +00:00
Paulo Castro
6e0638f3be
Improve build-time checks (automation/test-lock-deduplicated.sh)
...
Change-type: patch
2021-01-21 21:29:10 +00: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
Scott Lowe
1e18096873
Add command app purge
...
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2020-11-05 17:07:06 +01:00
Scott Lowe
47fcffe368
Add command device purge
...
Change-type: minor
Resolves : #1547
Signed-off-by: Scott Lowe <scott@balena.io>
2020-10-29 11:03:37 +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
eddbdfe0dc
Rename actions-oclif/ to commands/
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-10-02 13:42:23 +02:00
Scott Lowe
0a8b3ce4e4
Add new command support
...
Change-type: minor
Resolves : #766 #1546
Signed-off-by: Scott Lowe <scott@balena.io>
2020-09-25 16:20:45 +02: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
238c371ade
Fix typo in docs help section
...
Change-type: patch
Resolves : #2020
Signed-off-by: Scott Lowe <scott@balena.io>
2020-09-08 13:23:39 +02: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
Scott Lowe
d21a18f353
Convert command preload to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-08-27 10:19:54 +02:00
Scott Lowe
8cb413c1c9
Convert deploy command to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-08-22 11:58:10 +02:00
Pagan Gazzard
648a73fd91
Tests: check shrinkwrap is deduped
...
Change-type: patch
2020-08-12 15:34:53 +01:00
Paulo Castro
94f3825119
Tests: add verification of 'pkg' warnings against saved output
...
Change-type: patch
2020-08-07 01:47:31 +01:00
Scott Lowe
09b8cc495c
Convert command build
to typescript, oclif, and refactor
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-30 15:53:55 +02:00
Scott Lowe
0f058a4441
Convert command push
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-29 10:53:17 +00:00
Scott Lowe
56cc70cd50
Convert config
commands to typescript, oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-29 12:11:18 +02: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
b7c74598b2
Convert os initialize
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-16 16:06:41 +02:00
Scott Lowe
1c17572db0
Convert os download
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-14 23:42:39 +02:00
Scott Lowe
41635c746b
Convert os versions
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-14 17:11:30 +02:00
Scott Lowe
4f831ef443
Convert local configure
to oclif, typescript
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-13 13:10:26 +02:00
Scott Lowe
7ebc94c1e5
Convert local flash
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-10 11:55:24 +02:00
Scott Lowe
6f265b24aa
Convert util available-drives
to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-09 13:58:59 +02:00
Scott Lowe
4cdaf29348
Convert logs
command to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-06 11:46:15 +02:00
Scott Lowe
40f643c07f
Convert device init
to async await and oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-02 20:33:58 +02:00
Scott Lowe
9697081d73
Convert command tunnel
to oclif, and fix port map spec issues.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-01 11:25:09 +02:00
Pagan Gazzard
d4f288394b
Switch from Bluebird.map to native version
...
Change-type: patch
2020-06-30 23:59:11 +01:00
Pagan Gazzard
5e94f3f9c9
Add typing info to requires wherever possible
...
Change-type: patch
2020-06-30 23:21:39 +01:00
Scott Lowe
512cfa3da1
Convert command ssh to oclif.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-26 12:46:27 +02:00
Pagan Gazzard
667358b23e
Import just strip-tags from common-tags to reduce startup time
...
This saves ~100ms for me on startup with no fast-boot cache and ~50ms
with a fast-boot cache
Change-type: patch
2020-06-25 22:56:43 +01:00
Pagan Gazzard
b114697cab
Use native fs promises rather than promisify or mz
...
Change-type: patch
2020-06-24 18:13:48 +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
7d2e32777f
Convert commands login, logout, whoami to oclif.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-24 12:44:42 +02:00
Scott Lowe
ebb0ec5287
Convert device os-update command to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-19 10:04:39 +02: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
Scott Lowe
728c4f4296
Convert 'balena device public-url' commands to oclif
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-02 19:00:32 +02:00
Scott Lowe
979284b071
Convert tags
, tag set
, tag rm
to oclif.
...
Change-type: patch
Resolves : #1805
Signed-off-by: Scott Lowe <scott@balena.io>
2020-05-28 19:49:23 +02:00