From efa400c5a6be29d60e5bd6c4a10ccc15624817bf Mon Sep 17 00:00:00 2001 From: Balena CI <34882892+balena-ci@users.noreply.github.com> Date: Tue, 13 Sep 2022 16:07:08 -0400 Subject: [PATCH] v14.0.20 --- .versionbot/CHANGELOG.yml | 36 ++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +++++ VERSION | 2 +- balena.yml | 2 +- package-lock.json | 2 +- package.json | 4 ++-- 6 files changed, 46 insertions(+), 5 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 35fd483a..24db39e8 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,39 @@ +- commits: + - subject: Fix filtering of the supervisor app on the target state + hash: 5a57647450aa594b7112da01b9d2fc89885b6fae + body: > + Under some conditions, an aarch64 device may get a reference to a + armv7hf + + supervisor on the target state. One of the ways this can happen is if + + an aarch64 device is added to an armv7hf fleet and the target supervisor + + is set before the device fully provisions. + + + If that happens, the previous filtering for the supervisor app (which + + relied on the architecture in device-type.json) would + + fail and the user would end up with two supervisor containers, one + + running correctly and the other crash looping. + + + This fixes the filtering and just checks if the supervisor uuid/service + + name belongs to a group of known uuids. + footer: + Closes: "#2006" + closes: "#2006" + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: 14.0.20 + title: "'Fix filtering of the supervisor app on the target state'" + date: 2022-09-12T19:32:49.204Z - commits: - subject: Update blinking to 0.0.5 hash: 45f71b38d0a69419fae19e9c1a628d023653fad5 diff --git a/CHANGELOG.md b/CHANGELOG.md index f5b8d991..21e2d609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.0.20 +## (2022-09-12) + +* Fix filtering of the supervisor app on the target state [Felipe Lalanne] + # v14.0.19 ## (2022-09-12) diff --git a/VERSION b/VERSION index 6b9febc8..4d9d1891 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -14.0.19 \ No newline at end of file +14.0.20 \ No newline at end of file diff --git a/balena.yml b/balena.yml index 0ea05607..76e2e221 100644 --- a/balena.yml +++ b/balena.yml @@ -2,6 +2,6 @@ name: balena-supervisor description: 'Balena Supervisor: balena''s agent on devices.' joinable: false type: sw.application -version: 14.0.19 +version: 14.0.20 provides: - slug: sw.compose.long-volume-syntax diff --git a/package-lock.json b/package-lock.json index acf57f99..ea046947 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "14.0.19", + "version": "14.0.20", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 83ba4475..b1faf873 100644 --- a/package.json +++ b/package.json @@ -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.0.19", + "version": "14.0.20", "license": "Apache-2.0", "repository": { "type": "git", @@ -141,6 +141,6 @@ } }, "versionist": { - "publishedAt": "2022-09-12T12:04:52.112Z" + "publishedAt": "2022-09-12T19:32:49.651Z" } }