From 098494d6f49f9f2cff49eb227bb48393947f0e3a Mon Sep 17 00:00:00 2001 From: "flowzone-app[bot]" <124931076+flowzone-app[bot]@users.noreply.github.com> Date: Fri, 23 Jun 2023 18:46:29 +0000 Subject: [PATCH] v14.11.8 --- .versionbot/CHANGELOG.yml | 35 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +++++ VERSION | 2 +- balena.yml | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 6 files changed, 46 insertions(+), 6 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 97eb7564..e7895fba 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,38 @@ +- commits: + - subject: Parse container exit error message instead of status + hash: 71d24d6e3366b28e1466e99322d58420b5ebbb67 + body: > + The previous implementation in #2170 of parsing the container status was + too general, + + because it relied on the mistaken assumption that a container would have a status of + + `Stopped` if it was manually stopped. This turned out to be untrue, as manually stopped + + containers were also getting restarted by the Supervisor due to their inspect status of + + `exited`. With this, parsing the exit message became unavoidable as there are no other + + clear ways to discern a container that has been manually stopped and shouldn't be started + + from a container experiencing the Engine-host race condition issue (again, see #2170). + + + Since we're just parsing the exit error message, we don't need to worry about different behaviors + + amongst restart policies, as any container with the error message on exit should be started. + footer: + Change-type: patch + change-type: patch + Closes: "#2178" + closes: "#2178" + Signed-off-by: Christina Ying Wang + signed-off-by: Christina Ying Wang + author: Christina W + nested: [] + version: 14.11.8 + title: "" + date: 2023-06-23T18:46:22.881Z - commits: - subject: Fix /v2/applications/state endpoint hash: 12eac04484e3c0a347b6f31783ed7973991046fa diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df6623a..1b6edcf4 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.11.8 +## (2023-06-23) + +* Parse container exit error message instead of status [Christina W] + # v14.11.7 ## (2023-06-19) diff --git a/VERSION b/VERSION index a42e34d5..4cd0f1d0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -14.11.7 \ No newline at end of file +14.11.8 \ No newline at end of file diff --git a/balena.yml b/balena.yml index 88864cbb..b8cea446 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.11.7 +version: 14.11.8 provides: - slug: sw.compose.long-volume-syntax diff --git a/package-lock.json b/package-lock.json index cdcee074..9565ee56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "balena-supervisor", - "version": "14.11.7", + "version": "14.11.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "balena-supervisor", - "version": "14.11.7", + "version": "14.11.8", "license": "Apache-2.0", "dependencies": { "@balena/happy-eyeballs": "0.0.6", diff --git a/package.json b/package.json index fc940fff..8fc06b11 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.11.7", + "version": "14.11.8", "license": "Apache-2.0", "repository": { "type": "git", @@ -146,6 +146,6 @@ } }, "versionist": { - "publishedAt": "2023-06-19T21:54:56.753Z" + "publishedAt": "2023-06-23T18:46:23.741Z" } }