mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-25 13:29:58 +00:00
v9.12.6
This commit is contained in:
parent
8a430b6b84
commit
4e5d9df717
@ -1,3 +1,33 @@
|
|||||||
|
- commits:
|
||||||
|
- subject: >-
|
||||||
|
Fix migration of legacy apps when there's more than one app in the local
|
||||||
|
DB
|
||||||
|
hash: c90270660000a0043b3f48751ea5186e69904368
|
||||||
|
body: >
|
||||||
|
In an edge case observed in the field, a supervisor's database held two
|
||||||
|
applications
|
||||||
|
|
||||||
|
because the device had been moved and the update lock was set in the old
|
||||||
|
app. This causes
|
||||||
|
|
||||||
|
the updated supervisor to be unable to start, logging "No compatible
|
||||||
|
releases found in API",
|
||||||
|
|
||||||
|
because it can't fetch the release for the app it was moved from.
|
||||||
|
|
||||||
|
|
||||||
|
This commit changes the migration code to iterate through all apps, and
|
||||||
|
remove any for which
|
||||||
|
|
||||||
|
we can't get a release.
|
||||||
|
footer:
|
||||||
|
Change-type: patch
|
||||||
|
change-type: patch
|
||||||
|
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||||
|
signed-off-by: Pablo Carranza Velez <pablo@balena.io>
|
||||||
|
author: Pablo Carranza Velez
|
||||||
|
version: 9.12.6
|
||||||
|
date: 2019-03-29T00:18:13.744Z
|
||||||
- commits:
|
- commits:
|
||||||
- subject: 'test: Add a test case for deviceConfig.getDefaults'
|
- subject: 'test: Add a test case for deviceConfig.getDefaults'
|
||||||
hash: ea6ebf822312665280903424d3f4bff1edd0476c
|
hash: ea6ebf822312665280903424d3f4bff1edd0476c
|
||||||
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
|
|||||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## 9.12.6 - 2019-03-29
|
||||||
|
|
||||||
|
* Fix migration of legacy apps when there's more than one app in the local DB [Pablo Carranza Velez]
|
||||||
|
|
||||||
## 9.12.5 - 2019-03-28
|
## 9.12.5 - 2019-03-28
|
||||||
|
|
||||||
* Test: Add a test case for deviceConfig.getDefaults [Pablo Carranza Velez]
|
* Test: Add a test case for deviceConfig.getDefaults [Pablo Carranza Velez]
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "balena-supervisor",
|
"name": "balena-supervisor",
|
||||||
"version": "9.12.5",
|
"version": "9.12.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "balena-supervisor",
|
"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.",
|
"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": "9.12.5",
|
"version": "9.12.6",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user