Pagan Gazzard
98152c0b09
Lazy-load chalk
...
Change-type: patch
2020-02-28 18:34:54 +00:00
Pagan Gazzard
7c62e34455
Simplify lazy-loading of resin-cli-visuals with a shared function
...
This also avoids current unnecessary requiring of resin-cli-visuals
for every command
Change-type: patch
2020-02-28 15:29:07 +00:00
Pagan Gazzard
48b281d7c6
Make use of capitano's promise support to simplify the code
...
Change-type: patch
2020-02-28 13:27:07 +00:00
Pagan Gazzard
eac6bb5e5c
Simplify lazy-loading of balena-sdk by utilizing a shared function
...
This also avoids instantiating multiple balena-sdk
Change-type: patch
2020-02-27 17:17:36 +00:00
Paulo Castro
cdfd1d124b
Fix build/deploy commands with QEMU emulation and alternative Dockerfile name
...
Resolves : #1624
Change-type: patch
2020-02-25 16:42:12 -03:00
Pagan Gazzard
4abdd71ce7
Update type deps
...
Change-type: patch
2020-02-24 14:15:48 +00:00
Cameron Diver
95c93d24da
Update resin-multibuild and add app and release template vars
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-18 10:21:12 +07:00
Paulo Castro
671dca8287
Add project directory validation for balena push / build / deploy commands
...
Change-type: minor
2020-02-17 15:19:07 +00:00
Paulo Castro
a15060e9fc
Refactor 'balena push' error handling
...
Change-type: patch
2020-02-17 15:19:07 +00:00
Paulo Castro
a1c406a479
Add '--cache-from' option to balena build and deploy commands
...
It implements the same feature as the "docker build --cache-from" option.
Resolves : #1616
Change-type: minor
2020-02-13 18:43:15 +00:00
Paulo Castro
88a1e413a3
Fix balena push "Segmentation fault" on Windows (replace 'mmmagic' with 'isBinaryFile')
...
Connects-to: #1611
Change-type: patch
2020-02-13 15:51:45 +00:00
Pagan Gazzard
f9ece2ce7d
Convert lib/actions/auth to typescript
...
Change-type: patch
2020-02-12 14:26:32 +00:00
Pagan Gazzard
2b04763ac0
Convert lib/auth/index to typescript
...
Change-type: patch
2020-02-12 13:20:36 +00:00
Pagan Gazzard
93ba5832d8
Convert lib/auth/server to typescript
...
Change-type: patch
2020-02-12 12:10:12 +00:00
Pagan Gazzard
a4b34c109d
Convert lib/actions/keys to typescript
...
Change-type: patch
2020-02-10 22:22:06 +00:00
Pagan Gazzard
f1220c6377
Convert lib/actions/notes to typescript
...
Change-type: patch
2020-02-10 18:31:40 +00:00
Pagan Gazzard
99f84c2f6a
Convert lib/actions/app to typescript
...
Change-type: patch
2020-02-10 15:02:00 +00:00
Pagan Gazzard
4de41ce3e0
Convert lib/auth/utils to typescript
...
Change-type: patch
2020-02-10 13:42:50 +00:00
Paulo Castro
be209f1626
Fix Windows standalone zip installer (missing mmmagic db for CRLF conversion)
...
Change-type: patch
2020-02-07 18:19:10 +00:00
Pagan Gazzard
3f84045127
Switch from opn to its new name of open
...
Change-type: patch
2020-02-06 19:55:22 +00:00
Pagan Gazzard
f4525bc11e
Add debug instructions for powershell
...
Change-type: patch
2020-02-06 18:24:53 +00:00
Paulo Castro
4502f2a203
Avoid loading 'mmmagic' on Linux (fix "could not load any valid magic files")
...
Resolves : #1596
Change-type: patch
2020-02-05 23:59:11 +00:00
Thomas Manning
b3948d538c
Debug mode can now be disabled with DEBUG=0 env var
...
Added assignment to `process.env.DEBUG` if `process.env.DEBUG` is negative string to `lib/app.ts` and `automation/run.ts` entrypoints
Resolves : #1502
Change-type: patch
Signed-off-by: Thomas Manning <thomasm@balena.io>
2020-02-05 11:17:12 +09:00
Pagan Gazzard
27e1f3f7d7
Remove unnecessary code now that typescript understands process.exit
...
Change-type: patch
2020-02-03 13:06:23 +00:00
Paulo Castro
f9743b269a
Add more tests for push/build/deploy commands (--convert-eol)
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-02-02 20:16:57 +00:00
Scott Lowe
58e7880f1d
Add support for auto-conversion of CRLF line endings.
...
Applies to commands:
balena push
balena build
balena deploy --build
Change-type: minor
Resolves : #1273
Signed-off-by: Scott Lowe <scott@balena.io>
2020-01-31 16:27:22 +01:00
Scott Lowe
041823189f
Add support for deferred log messages.
...
eg. so that info can be output at the end of the process.
Change-type: patch
Connects-to: #1273
Signed-off-by: Scott Lowe <scott@balena.io>
2020-01-31 11:26:54 +01:00
Paulo Castro
1e37c97ffb
Fix proxy support and add proxy exclusion feature (Node.js >= 10.16.0 only)
...
See README for more details on proxy configuration and Node.js compatibility.
Resolves : #1579
Resolves : #1335
Connects-to: #1580
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-27 12:11:11 +00:00
Pagan Gazzard
77931b314a
Update dependencies
...
Change-type: minor
2020-01-24 23:28:15 +00:00
Rich Bayliss
8f6902f4cb
configure: Allow passing system-connection files to 'os configure' command
...
Allow passing files to `os configure` via `--system-connection` to allow
pre-configuration of network connections, such as cellular/GSM.
Change-type: minor
Connects-to: #957
Connects-to: #1162
Connects-to: #1498
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-01-21 21:05:23 +00:00
Paulo Castro
b978230f9e
Update resin-lint and prettier, and re-prettify
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-20 22:46:32 +00:00
Scott Lowe
95b5ac1c7f
Prevent file ignorer from ignoring Dockerfile (and variants), docker-compose.yml
...
Change-type: patch
Resolves : #1445
Signed-off-by: Scott Lowe <scott@balena.io>
2020-01-20 11:59:04 +01:00
Graham McCulloch
aca794b267
Add Windows-specific hint to 'balena scan' output
...
An extra Windows-specific message is now appended to the 'Could not find any balenaOS devices' message - if the OS is Windows.
Also updated the INSTALL instructions with details of the dependency on Bonjour.
Change-type: patch
Signed-off-by: Graham McCulloch <graham@balena.io>
2020-01-20 07:21:04 +07:00
Thodoris Greasidis
ef4ee54a00
Change the balena app action to present the slug instead of the git_repository
...
The `git_repository` field was replaced in the v5
endpoint with the `slug` field. As a result the CLI atm
never shows the `git_repository` in the printed
visual.
Change-type: patch
2020-01-15 01:53:48 +02:00
Paulo Castro
95561864a6
Fix 'balena join' when the user is not logged in
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 19:34:53 +00:00
Paulo Castro
51adfeaa3b
Fix join and leave commands on Windows (hanging on stdin and argument escaping)
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 19:34:53 +00:00
Paulo Castro
95843dd816
Fix 'balena push' hanging on Windows (CTRL-C was required after the unicorn)
...
Resolves : #1182
Resolves : #1554
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 16:19:09 +00:00
Paulo Castro
edd755d41c
Add hint about the 'jq' utility in the documentation of the --json option
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 16:19:09 +00:00
Matthew McGinn
046743071d
meta: Americanize all spellings
...
Connects-to: https://github.com/balena-io/docs/issues/1300
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2020-01-03 13:42:34 -05:00
Paulo Castro
323c9191b6
Add --verbose and --json options to the 'devices supported' command
...
The command was also converted to oclif.
Resolves : #467
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-27 11:54:27 +00:00
Scott Lowe
33552724a1
Fix issues with devices associated with inaccessible applications.
...
Change-type: patch
Resolves : #1530
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-13 09:33:59 +01:00
Paulo Castro
7fd436cd91
Add multicontainer (microservices) support for 'balena env rename'
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-12 13:39:26 +00:00
Paulo Castro
7c1faa6de0
Add multicontainer (microservices) support for 'balena env rm'
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-12 13:39:26 +00:00
Paulo Castro
90e184ea1f
Add multicontainer (microservices) support for 'balena env add'
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-11 17:50:08 +00:00
Paulo Castro
38920a1c59
Add multicontainer (microservices) support for 'balena envs'
...
Connects-to: #1153
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-11 17:50:08 +00:00
Paulo Castro
df58ac7673
Add balena envs '-j' option to produce JSON output
...
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-06 15:51:09 +00:00
Paulo Castro
630d53311a
Add logged-in check for balena 'env' commands
...
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-12-06 15:51:09 +00:00
Scott Lowe
53325b7c05
Introduce workaround that fixes windows dns issue on balena push
using .local device names.
...
Improve error handling in deployToDevice so that versionErrors don't mask other errors.
Resolves:#1518
Change-type:patch
Signed-off-by:Scott Lowe <scott@balena.io>
2019-12-06 15:32:08 +01:00
Paulo Castro
02dcff5b67
Fix 'balena help join' docs re moving devices between apps on the same server
...
Resolves : #1429
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-21 15:31:45 +00:00
Scott Lowe
cf42dca777
Hide discontinued device types in balena app create
.
...
Add basic tests for `balena app create`
Connects-to: #1485
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:56 +01:00