This commit is contained in:
Balena CI 2022-11-10 01:09:40 +00:00
parent 224eeb86a0
commit d766e3d103
No known key found for this signature in database
GPG Key ID: E2ADEC9754128402
6 changed files with 50 additions and 6 deletions

View File

@ -1,3 +1,42 @@
- commits:
- subject: Convert ensureSupervisorNetwork to native Promises
hash: 1034aa70e6a2e425fb4b5e0fa1155eec97b21ed2
body: >
Also remove system interface check from ensureSupervisorNetwork.
Previously `ensure` was a Bluebird promise which wasn't awaited in
its composition step. This has been here for some time and may contribute
to issues with duplicate networks. The conversion to native Promises
allows `ensure` to be awaited, hopefully reducing instances of duplicate
networks.
Removing the system interface check for /sys/class/net/supervisor0
because it's superfluous given that the Engine creates the interface
with NetworkManager. It also makes testing a lot more difficult to set up
as /sys/class/net isn't a directory that can be written to for emulating
system interface creation / removal.
footer:
Relates-to: https://github.com/balena-os/balena-supervisor/issues/1110
relates-to: https://github.com/balena-os/balena-supervisor/issues/1110
Change-type: minor
change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
signed-off-by: Christina Ying Wang <christina@balena.io>
author: Christina Ying Wang
nested: []
version: 14.3.0
title: ""
date: 2022-11-10T01:09:38.686Z
- commits:
- subject: Allow local target state to be applied in unmanaged mode
hash: fd320f85b53ec83f54cd6ad83cdf685dcc6e0d20

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
# v14.3.0
## (2022-11-10)
* Convert ensureSupervisorNetwork to native Promises [Christina Ying Wang]
# v14.2.21
## (2022-11-07)

View File

@ -1 +1 @@
14.2.21
14.3.0

View File

@ -2,6 +2,6 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false
type: sw.application
version: 14.2.21
version: 14.3.0
provides:
- slug: sw.compose.long-volume-syntax

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "balena-supervisor",
"version": "14.2.21",
"version": "14.3.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "balena-supervisor",
"version": "14.2.21",
"version": "14.3.0",
"license": "Apache-2.0",
"dependencies": {
"@balena/happy-eyeballs": "0.0.6",

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "14.2.21",
"version": "14.3.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
@ -145,6 +145,6 @@
}
},
"versionist": {
"publishedAt": "2022-11-07T21:19:59.089Z"
"publishedAt": "2022-11-10T01:09:39.417Z"
}
}