Commit Graph

1759 Commits

Author SHA1 Message Date
resin-io-versionbot[bot]
f5e2f56da0 v7.11.1 2018-06-14 09:08:22 +00:00
Cameron Diver
3c9e3bba42
Show better UX when a delta download fails because the image is processing
Change-type: patch
Closes: #679
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-14 09:51:42 +01:00
Cameron Diver
31c6db2ccd
Upgrade TypedError and move docker-utils error to error module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-13 16:55:34 +01:00
resin-io-versionbot[bot]
b9a16c067b
Auto-merge for PR #669 via VersionBot
Pin a device to a commit when preload has a pinDevice field
2018-06-13 11:05:32 +00:00
resin-io-versionbot[bot]
a170d63a6a v7.11.0 2018-06-13 10:52:23 +00:00
Cameron Diver
089f31cb5d
Pin a device to a commit when preload has a pinDevice field
Change-type: minor
Closes: #668
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 20:27:16 +01:00
resin-io-versionbot[bot]
2a6d5557e4
Auto-merge for PR #677 via VersionBot
Fix typo in EEXIST error predicate
2018-06-11 13:08:31 +00:00
resin-io-versionbot[bot]
9c9e5e9e36 v7.10.2 2018-06-11 12:53:33 +00:00
Cameron Diver
0eb8b25b64
Fix typo in EEXIST error predicate
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 13:47:24 +01:00
resin-io-versionbot[bot]
dab233f04b
Auto-merge for PR #641 via VersionBot
Convert errors and iptables modules to typescript
2018-06-11 10:21:08 +00:00
resin-io-versionbot[bot]
bf58808dff v7.10.1 2018-06-11 10:06:15 +00:00
Cameron Diver
ea18462244
Move dependencies out to devDependencies 2018-06-11 10:20:17 +01:00
Cameron Diver
5622ddce94
Convert iptables module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 10:20:17 +01:00
Cameron Diver
352a5684b3
Convert errors module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-06 21:24:08 +01:00
resin-io-versionbot[bot]
1f3a9ca0f0
Auto-merge for PR #672 via VersionBot
Add support for extlinux configuration files and isolcpus config option
2018-06-06 14:12:34 +00:00
resin-io-versionbot[bot]
2f97955e6e v7.10.0 2018-06-06 13:57:47 +00:00
Cameron Diver
fa1d3da438
Use ES6 interpolation for string operations 2018-06-06 14:50:21 +01:00
Cameron Diver
51b5cff7b0
Rename ExtLinuxFile interface to match the codebase 2018-06-06 14:50:21 +01:00
Cameron Diver
1e48d02781
Move config backend code out to classes which implement a common base
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-06 14:50:21 +01:00
Cameron Diver
89627a3392
Add support for extlinux configuration files
Currently the only supported variable is RESIN_HOST_EXTLINUX_isolcpus

Change-type: minor
Closes: #671
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-05 17:00:45 +01:00
Cameron Diver
dc59c83409
Move boot config related code to config-utils module
This commit abstracts all of the boot config code out of the
device-config module, ready to extend with different config backends.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-05 17:00:45 +01:00
Cameron Diver
2b9d82e731
Add types for fs-utils module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-05 14:27:27 +01:00
resin-io-versionbot[bot]
0ff4900d6d
Auto-merge for PR #667 via VersionBot
Update update-locking documentation
2018-05-29 17:41:32 +00:00
resin-io-versionbot[bot]
0cd0ba2b36 v7.9.1 2018-05-29 17:22:51 +00:00
Cameron Diver
1fbc147c6d
Update update-locking documentation
Change-type: patch
Closes: #656
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-29 18:18:37 +01:00
resin-io-versionbot[bot]
a01309c921
Auto-merge for PR #632 via VersionBot
Add support for Balena deltas
2018-05-23 18:40:09 +00:00
resin-io-versionbot[bot]
410d1cf294 v7.9.0 2018-05-23 18:24:23 +00:00
Akis Kesoglou
8479801674 Add support for Balena deltas
Resin’s delta server supports Balena deltas as version 3 deltas. This commit adds support for triggering delta generation for Balena deltas, and applying them locally to the device via a simple pull.

The delta version to use when updating has been abstracted away as an env var that is user-defined. The default value is still instructing use of rsync deltas (v2).

Change-Type: minor
2018-05-23 20:59:56 +03:00
Akis Kesoglou
56ecd845f7 Log delta debugging information
Change-Type: minor
2018-05-23 20:59:56 +03:00
resin-io-versionbot[bot]
53bc50d848
Auto-merge for PR #662 via VersionBot
Don't start applications at startup unless the apiEndpoint fields match the current environment
2018-05-23 13:05:04 +00:00
resin-io-versionbot[bot]
511549b259 v7.8.0 2018-05-23 12:49:44 +00:00
Cameron Diver
bc37ee56e4
Check against application source for target applications
The supervisor will now check that a source of an application matches
the current source, and only start it if so.

Change-type: patch
Closes: #658
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-22 12:11:57 +01:00
Cameron Diver
343989f487
Add migration for source field to be added to app table
This field will represent the apiEndpoint that the application came
from, (or an empty string for local apps). This means that when
configuring an application to work on a different environment, as long
as the endpoint is different, the supervisor can know not to start the
old application.

Change-type: minor
Connects-to: #658
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-22 12:11:54 +01:00
resin-io-versionbot[bot]
8018b960aa
Auto-merge for PR #665 via VersionBot
Ignore leading and trailing whitespace when parsing env vars
2018-05-22 11:07:52 +00:00
resin-io-versionbot[bot]
e84a5d8d30 v7.7.2 2018-05-22 10:52:19 +00:00
Cameron Diver
bea0b00804
Ignore leading and trailing whitespace when parsing env vars
Change-type: patch
Closes: #644
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-22 11:32:31 +01:00
resin-io-versionbot[bot]
82123d3591
Auto-merge for PR #651 via VersionBot
Don't generate config fields in offline mode
2018-05-21 14:20:40 +00:00
resin-io-versionbot[bot]
e797046f12 v7.7.1 2018-05-21 14:06:19 +00:00
Cameron Diver
ea8e8d2f5f
Don't generate config fields in offline mode
Change-type: patch
Closes: #648
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-21 14:45:32 +01:00
resin-io-versionbot[bot]
37267f62c8
Auto-merge for PR #663 via VersionBot
Add support for changing config.txt on balena fin devices
2018-05-18 18:17:37 +00:00
resin-io-versionbot[bot]
2a05a21a5b v7.7.0 2018-05-18 17:28:38 +00:00
Pablo Carranza Velez
3a815aa972 Add support for changing config.txt on balena fin devices
Change-Type: minor
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-05-18 10:19:28 -07:00
resin-io-versionbot[bot]
ddfa7f3e63
Auto-merge for PR #657 via VersionBot
Change intialConfigReported value to be an api endpoint
2018-05-16 15:34:35 +00:00
resin-io-versionbot[bot]
25cbe2075e v7.6.0 2018-05-16 15:19:34 +00:00
Cameron Diver
73b19a320f
Change intialConfigReported value to be an api endpoint
This api endpoint is the endpoint which the intial config was reported.
Also changed the code to detect if the api endpoint has changed, and
therefore whether we need to re-report the initial config, to avoid
losing hardware specific information.

Change-type: minor
Closes: #649
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-16 14:18:03 +01:00
resin-io-versionbot[bot]
3c1e0d8c8d
Auto-merge for PR #653 via VersionBot
Update gitignore to ignore new test files
2018-05-14 10:03:33 +00:00
resin-io-versionbot[bot]
8ca6b239bb v7.5.6 2018-05-14 09:47:25 +00:00
Cameron Diver
627e40bc32
Update gitignore to ignore new test files
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-14 10:16:09 +01:00
resin-io-versionbot[bot]
57e898d621
Auto-merge for PR #654 via VersionBot
Update docs with multicontainer API breakages
2018-05-11 15:58:08 +00:00
resin-io-versionbot[bot]
7e9cc78ce5 v7.5.5 2018-05-11 15:44:38 +00:00