Commit Graph

2493 Commits

Author SHA1 Message Date
Paulo Castro
04223dbc58 Revert bin/balena (previously renamed bin/run for oclif compatibility)
Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:38 +01:00
Paulo Castro
b5c4348de1 balena CI integration: Patch @oclif/dev-cli to install 7zip on demand
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:38 +01:00
Paulo Castro
751749325f Add warning notices for replaced 'local' commands in v11
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:37 +01:00
Paulo Castro
1e2e48b149 Revert 'balena flash' to 'balena local flash'
Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:37 +01:00
Cameron Diver
01b454351b Fix SSH'ing into a device from application
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:36 +01:00
Cameron Diver
6696b1b5f7 Make livepush the default when pushing to a local device
Change-type: major
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:36 +01:00
Cameron Diver
5da307f02e Make the CommandDefinition option parameter a Partial
This ensures that no code accidentally relies on them being present, and
the types are then correct.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:35 +01:00
Cameron Diver
b391c96e64 Allow multiple services to be tailed with balena logs and push
Also correctly type the input.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:35 +01:00
Cameron Diver
0ee73f5164 Don't require a login for commands operating on local devices
Change-type: patch
Closes: #1195
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:35 +01:00
Cameron Diver
1a1861bfcb Remove or move most local namespaced commands
Change-type: major
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:52:34 +01:00
Paulo Castro
717c43f10b Update the CLI's installation instructions for executable installers
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:34 +01:00
Paulo Castro
dafbdd5f34 Add native installers for Windows and macOS
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:33 +01:00
Paulo Castro
c204dbd6cd Bump denymount version and delete redundant patch (chore task)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:59 +01:00
Paulo Castro
6e7f51758e Add CONTRIBUTING.md and some guidance on commit messages and doc files.
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:59 +01:00
Paulo Castro
ea89a6f221 Update documentation markdown following v11-meta branch rebase
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:58 +01:00
Cameron Diver
94c9e13106 Fix windows straight-to-container SSH
Closes: #1211
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:51:58 +01:00
Cameron Diver
64c2f00d2a Update balena ssh command to support local devices and multicontainer
Change-type: major
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-04 13:51:57 +01:00
Paulo Castro
8f8d6b5f08 Sort 'balena help' primary commands in manually specified order
Connects-to: #1140
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:57 +01:00
Alexis Svinartchouk
c49a1d3fbf Remove --dockerPort's -p alias for balena preload
It was conflicting with --pin-device-to-release -p alias

Changelog-entry: Remove --dockerPort's -p alias for `balena preload`
Change-type: major
2019-06-04 13:51:56 +01:00
Paulo Castro
abf573fa47 Begin the transition to oclif with 'balena env add' (fix dropped leading
zero in device UUID).

This commit is fairly chunky because it adds the oclif dependency for
the first time, and refactors the CLI help and docs generation code to
accommodate both Capitano and oclif.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:56 +01:00
Paulo Castro
13e3e5e8ea Bump min Node.js version to 8.0, ts-node to 8.1 and typescript to 3.4.
Refactor typings folder for use with the tsconfig typeRoots option.

Change-type: major
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:51:55 +01:00
Resin CI
faa558b432 v10.17.5 2019-06-04 09:10:48 +03:00
Thodoris Greasidis
4eea5e822b
Merge pull request #1282 from balena-io/pin-moment-duration-format
Pin moment-duration-format package (ReferenceError: window is not defined)
2019-06-04 09:08:50 +03:00
Paulo Castro
fe3e348128 Pin moment-duration-format package (ReferenceError: window is not defined)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 02:47:45 +01:00
Resin CI
7535b7110d v10.17.4 2019-06-03 14:19:41 +03:00
Thodoris Greasidis
0aaf6dff41
Merge pull request #1277 from balena-io/gitignore-fast-boot
.gitignore: Add fast-boot.json generated by balena-dev command
2019-06-03 14:17:30 +03:00
Thodoris Greasidis
aca58743ea .gitignore: Add fast-boot.json generated by balena-dev command
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-06-03 13:57:12 +03:00
Resin CI
f6a262bcde v10.17.3 2019-05-31 17:23:25 +03:00
Thodoris Greasidis
9cc81866eb
Merge pull request #1276 from balena-io/1275-npmrc
Use an .npmrc to prevent creating a package-lock on each install
2019-05-31 17:21:30 +03:00
Thodoris Greasidis
0607c2f231 Use an .npmrc to prevent creating a package-lock on each install
Resolves: #1275
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2019-05-31 16:52:55 +03:00
Resin CI
fe0ba62026 v10.17.2 2019-05-30 18:05:43 +03:00
Paulo Castro
f2af7b2588
Merge pull request #1269 from balena-io/newline-build-arg
Allow newline characters in build/deploy --buildArg values
2019-05-30 16:03:40 +01:00
Paulo Castro
e145540132 Allow newline characters in build/deploy --buildArg values
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-05-30 15:03:56 +01:00
Resin CI
d21b84956c v10.17.1 2019-05-30 16:02:58 +03:00
Paulo Castro
841ce9fd68
Merge pull request #1270 from balena-io/fix-build-types-mz
Fix CI build error (missing @types/mz)
2019-05-30 14:00:05 +01:00
Paulo Castro
a4efc7c9c4 Fix CI build error (missing @types/mz)
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-05-30 12:57:03 +01:00
Resin CI
e6ecb0ec0b v10.17.0 2019-05-29 18:05:38 +03:00
Alexis Svinartchouk
c420d0f63c
Merge pull request #1262 from balena-io/preload-add-certificate-option
Add preload --add-certificate option
2019-05-29 17:03:24 +02:00
Alexis Svinartchouk
f3ef7f6e18 Add preload --add-certificate option
Change-type: minor
2019-05-28 16:35:29 +02:00
Resin CI
e36435bb4c v10.16.0 2019-05-27 17:38:47 +03:00
xginn8
825964fdc6
Merge pull request #1258 from balena-io/1070-remove-20-image-limit
compose: remove artificial 20 repo limit
2019-05-27 22:36:26 +08:00
Matthew McGinn
5202e137d5 compose: remove artificial 20 repo limit
This issue has now been fixed server-side

Connects-to: #1070
Change-type: minor
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-05-27 22:12:58 +08:00
Resin CI
d23d837b8c v10.15.0 2019-05-27 17:06:11 +03:00
CameronDiver
8c537c112d
Merge pull request #1257 from balena-io/better-livepush-dockerfile-change-restart
Better livepush dockerfile change restart
2019-05-27 07:04:05 -07:00
Cameron Diver
106b971410 Add a much faster container replacement for livepush
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-27 13:48:53 +01:00
Cameron Diver
39cf86ed85 Add a containerId request function to the device api module
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-27 13:48:53 +01:00
Resin CI
5de7a50fc0 v10.14.0 2019-05-27 15:47:25 +03:00
CameronDiver
ba4301487f
Merge pull request #1256 from balena-io/1255-local-push-vars
Add the ability to specify an environment variable when pushing to local mode device
2019-05-27 05:45:41 -07:00
Cameron Diver
f77156772a Add the ability to specify an environment variable when pushing to local
mode device

Closes: #1255
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-27 13:23:55 +01:00
Resin CI
a6d6035725 v10.13.6 2019-05-22 18:51:56 +03:00