Commit Graph

3953 Commits

Author SHA1 Message Date
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
Balena CI
2737c9c53c v12.43.2 2021-03-26 17:31:50 +02:00
bulldozer-balena[bot]
3b8a46f523
Merge pull request #2229 from balena-io/catch-dind-errors
docker: Improve handling of Docker-in-Docker errors
2021-03-26 15:29:46 +00:00
Balena CI
3ac1994941 v12.43.1 2021-03-26 01:15:19 +02:00
bulldozer-balena[bot]
b3a6c6cb0f
Merge pull request #2230 from balena-io/update-install-mac-docker
Improve installation docs regarding Docker Desktop version requirements
2021-03-25 23:12:20 +00:00
Paulo Castro
6d4faa7b2c Improve installation docs regarding Docker Desktop version requirements
Connects-to: #2228
Change-type: patch
2021-03-25 16:07:09 +00:00
Kyle Harding
9036ce9af3 docker: Improve handling of Docker-in-Docker errors
The `local` logging driver captures output from container’s stdout/stderr
and writes them to an internal storage that is optimized for performance and disk use.

We also want to capture these logs on startup to wait for success/failure.

Advise the use of `--privileged` when running Docker-in-Docker to avoid
various permissions issues encountered in testing.

Change-type: patch
Changlelog-entry: docker: Improve handling of Docker-in-Docker errors
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-03-25 14:02:22 +00:00
Balena CI
4911db640f v12.43.0 2021-03-23 03:01:51 +02:00
bulldozer-balena[bot]
e7999f52a9
Merge pull request #2210 from balena-io/oclif-dev-cli-update
Add macOS uninstall script (sudo /usr/local/lib/balena-cli/bin/uninstall)
2021-03-23 00:59:30 +00: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
329b84d01e Add macOS uninstall script (sudo /usr/local/lib/balena-cli/bin/uninstall)
Change-type: minor
2021-03-23 00:04:43 +00:00
Paulo Castro
25b1dff5d8 Bump patch-package dependency and remove its own patch file
Change-type: patch
2021-03-22 16:12:44 +00:00
Balena CI
fb1768b4ca v12.42.2 2021-03-21 01:31:40 +02:00
bulldozer-balena[bot]
cbc1e52256
Merge pull request #2227 from balena-io/2226-yaml-null-volume
push: Fix docker-compose.dev.yml serialization ("should be object,null" error)
2021-03-20 23:29:58 +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
Balena CI
835445be2e v12.42.1 2021-03-19 18:58:58 +02:00
bulldozer-balena[bot]
52fe7481fc
Merge pull request #2225 from balena-io/readme-bullet-spacing
Make README.md bullet point spacing uniform
2021-03-19 16:56:32 +00:00
Genadi Naydenov
88072173d0 Make README.md bullet point spacing uniform
Change-type: patch
Signed-off-by: Genadi Naydenov genadi@balena.com
2021-03-19 18:32:07 +02:00
Balena CI
fdc2bff063 v12.42.0 2021-03-19 15:28:52 +02:00
bulldozer-balena[bot]
4f6f20f469
Merge pull request #2218 from chriswiggins/public-address
Public address
2021-03-19 13:26:48 +00:00
Chris Wiggins
50af0760ce balena device: Display public IP address field
Change-type: minor
2021-03-19 14:41:21 +13:00
Chris Wiggins
43906d22c8 Update balena-sdk from 15.20.0 to 15.29.0
Change-type: patch
2021-03-19 14:41:20 +13:00
Balena CI
43f1188f1d v12.41.3 2021-03-17 18:45:08 +02:00
bulldozer-balena[bot]
2629a01c7f
Merge pull request #2223 from balena-io/engines-npm-v7
Update supported npm version range in package.json (<7.0.0)
2021-03-17 16:42:55 +00:00
Paulo Castro
5fc009a6ae Update supported npm version range in package.json (<7.0.0)
Connects-to: #2221
Change-type: patch
2021-03-17 15:28:39 +00:00
Balena CI
480f84993b v12.41.2 2021-03-17 10:46:32 +02:00
bulldozer-balena[bot]
d1fdbd927e
Merge pull request #2208 from balena-io/linux-install-docs-sudo
Linux installation instructions: Add sudo configuration section
2021-03-17 08:44:22 +00:00
Balena CI
4bfd345b68 v12.41.1 2021-03-15 20:39:53 +02:00
bulldozer-balena[bot]
d4a153d2ee
Merge pull request #2212 from balena-io/klutchell/balenalib-dockerfiles
docker: Fix path to init when workdir is changed
2021-03-15 18:38:01 +00:00
Kyle Harding
3cff091e3a
docker: Fix path to init when workdir is changed
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-03-15 10:32:43 -04:00
Balena CI
b2ad9f1643 v12.41.0 2021-03-15 16:07:04 +02:00
bulldozer-balena[bot]
f7623bef85
Merge pull request #2159 from balena-io/klutchell/balenalib-dockerfiles
dockerfiles: initial commit of balenalib dockerfiles
2021-03-15 14:04:52 +00:00
Kyle Harding
af63794571
docs: Add Docker to Advanced Installation instructions
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-03-15 08:34:34 -04:00
Kyle Harding
65d5bdff08
docker: Add Docker images with the CLI and Docker-in-Docker
Add Dockerfiles for alpine and debian images, based on
balenalib/arch-distro-node images.

Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-03-15 08:34:23 -04:00
Balena CI
23165806aa v12.40.4 2021-03-09 19:36:10 +02:00
bulldozer-balena[bot]
3649bafbb1
Merge pull request #2209 from balena-io/update-apple-certificate-name
macOS GUI installer: Update signing certificate name
2021-03-09 17:34:12 +00:00
Paulo Castro
c62445a399 macOS GUI installer: Update signing certificate name
Change-type: patch
2021-03-09 16:40:38 +00:00
Paulo Castro
b233ea3e3e Linux installation instructions: Add sudo configuration section
Change-type: patch
2021-03-07 23:31:31 +00:00
Balena CI
4fe660b3a5 v12.40.3 2021-03-06 18:51:02 +02:00
bulldozer-balena[bot]
1f07cd1b1c
Merge pull request #2207 from balena-io/fix-qemu-download-error-handling
build, deploy: Fix error handling when QEMU download fails
2021-03-06 16:48:59 +00:00
Paulo Castro
bcea5193a1 build, deploy: Fix error handling when QEMU download fails
Change-type: patch
2021-03-06 16:10:33 +00:00
Balena CI
8b99cd7170 v12.40.2 2021-02-24 00:45:01 +02:00
bulldozer-balena[bot]
1986c9339c
Merge pull request #2197 from balena-io/device-local-mode-markdown
docs: Fix missing markdown docs for device `deactivate` and `local-mode`
2021-02-23 22:43:00 +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
Balena CI
e28c3f9814 v12.40.1 2021-02-23 16:55:03 +02:00
bulldozer-balena[bot]
d054ced541
Merge pull request #2194 from balena-io/klutchell/emulated-docs
docs: emphasize that push emulation is not required in most cases
2021-02-23 14:52:52 +00:00
Kyle Harding
c8e4d2c9a6
docs: emphasize that push emulation is not required in most cases
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-02-23 08:55:25 -05:00
Balena CI
9671372b9e v12.40.0 2021-02-10 03:28:52 +02:00
bulldozer-balena[bot]
2a4ff75203
Merge pull request #2177 from balena-io/livepush-compose-dev-overlay
Add support for docker-compose dev overlay
2021-02-10 01:26:52 +00:00
Scott Lowe
f3d750a024 Add support for docker-compose dev overlay in local pushes
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2021-02-09 13:06:03 +01:00