Commit Graph

3212 Commits

Author SHA1 Message Date
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
Paulo Castro
290c06074a Add '.nyc_output' folder to '.gitignore' (test coverage reporting)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 16:19:08 +00:00
Balena CI
dd7d9d1570 v11.21.2 2020-01-14 18:05:30 +02:00
Paulo Castro
c4829153fc
Merge pull request #1561 from balena-io/contributing-npm-install
Update CONTRIBUTING.md regarding npm installation and some common gotchas
2020-01-14 11:03:52 -05:00
Paulo Castro
615f24edd3 Update CONTRIBUTING.md regarding npm installation and some common gotchas
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-14 14:47:15 +00:00
Balena CI
a94e6d550e v11.21.1 2020-01-14 02:19:39 +02:00
Paulo Castro
75044030cf
Merge pull request #1555 from balena-io/american-british
meta: Americanize all spellings
2020-01-13 19:18:22 -05: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
Balena CI
4e95cb0cca v11.21.0 2019-12-27 14:32:41 +02:00
Paulo Castro
4666019c84
Merge pull request #1553 from balena-io/467-supported-aliases
Add --verbose and --json options to the 'devices supported' command
2019-12-27 12:31:02 +00: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
Balena CI
024bf2996b v11.20.2 2019-12-17 16:55:00 +02:00
srlowe
5210d474a9
Merge pull request #1538 from balena-io/update-livepush
Update livepush to fix windows path issue.
2019-12-17 15:53:06 +01:00
Scott Lowe
3cce8d822c Update livepush to fix windows path issue.
Change-type: patch
Connects-to: https://github.com/balena-io-modules/livepush/issues/55
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-17 15:24:34 +01:00
Balena CI
65250e431e v11.20.1 2019-12-13 11:01:49 +02:00
srlowe
29cc75598f
Merge pull request #1533 from balena-io/1530-fix-missing-app-issues
Fix issues with devices associated with inaccessible applications.
2019-12-13 10:00:25 +01: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
Balena CI
c88b317143 v11.20.0 2019-12-13 02:54:30 +02:00
Paulo Castro
658b0a5233
Merge pull request #1529 from balena-io/1153-envs-microservices
Add multicontainer (microservices) support for 'balena env(s)'
2019-12-13 00:52:57 +00: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
Balena CI
b1eda160e8 v11.19.1 2019-12-06 17:14:20 +02:00
srlowe
a63c766f04
Merge pull request #1525 from balena-io/1518-workaround-windows-dns-bug
Introduce workaround for windows dns issue on local `balena push`
2019-12-06 16:12:54 +01: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
Balena CI
622c510d65 v11.19.0 2019-12-05 16:37:52 +02:00
srlowe
890bea549f
Merge pull request #1527 from balena-io/mock-balena-api
Introduce balena-mock-api module and use in tests.
2019-12-05 15:36:04 +01:00
Scott Lowe
bb19903826 Update app/create and device/supported tests to use new api-mock.
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-05 15:10:44 +01:00
Scott Lowe
33210b896b Introduce balena-api-mock module to simplify api mocking.
Upgrade nock to latest.

Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2019-12-05 15:10:34 +01:00
Balena CI
c2a0e457c0 v11.18.3 2019-11-21 19:12:40 +02:00
Paulo Castro
f464597069
Merge pull request #1522 from balena-io/1429-device-move-join
Fix 'balena help join' docs re moving devices between apps on the same server
2019-11-21 17:10:57 +00: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
Paulo Castro
2f4539b4d1
Merge pull request #1521 from balena-io/598-git-for-windows-console
Add README note regarding Git for Windows console installation choice
2019-11-21 12:00:08 +00:00
Paulo Castro
6c3429eb0c Add README note regarding Git for Windows console installation choice
Resolves: #598
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-20 23:38:49 +00:00
Balena CI
a8bd5d332a v11.18.2 2019-11-15 14:41:22 +02:00
srlowe
0462574d8d
Merge pull request #1501 from balena-io/1485-filter-discontinued-devices
Hide discontinued device types in `balena devices supported`, `balena app create`.
2019-11-15 13:39:41 +01:00
Scott Lowe
1325fb8c9a Use helpers version of cleanOutput in tests.
Simplify expect semantics in tests.

Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:56 +01: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
Scott Lowe
afd97bd304 Hide discontinued device types in balena devices supported.
Add tests for action.
Convert action to TypeScript.

Connects-to: #1485
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2019-11-15 12:01:55 +01:00
Balena CI
45ce442cf2 v11.18.1 2019-11-15 12:18:56 +02:00
Paulo Castro
e8c5c9e9ef
Merge pull request #1514 from balena-io/1511-invalid-containerPort
Fix "Invalid containerPort" error with EXPOSE instructions in local QEMU builds
2019-11-15 10:17:10 +00:00
Paulo Castro
caac6855da Fix "Invalid containerPort" error with EXPOSE instructions in local QEMU builds
Bump docker-qemu-transpose package to v1.0.2

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-15 09:31:14 +00:00
Balena CI
e379900526 v11.18.0 2019-11-12 23:47:46 +02:00
Paulo Castro
0bc1e7057f
Merge pull request #1507 from balena-io/1504-os-configure
Fix 'os configure --config', and migrate it to oclif + TypeScript
2019-11-12 21:46:07 +00:00
Paulo Castro
d94a74dfee Fix 'os configure --config', and migrate it to oclif + TypeScript
Also add more non-interactive configuration options:
--config-network, --config-wifi-*, --config-app-update-poll-interval

Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-12 21:09:18 +00:00
Paulo Castro
a25a52c21b Error handling: add ExpectedError type as alternative to exitWithExpectedError()
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-11-12 19:36:43 +00:00