From 86aece8d29ddc065b2aabf1a8f8a930355c747c6 Mon Sep 17 00:00:00 2001 From: Balena CI <34882892+balena-ci@users.noreply.github.com> Date: Wed, 14 Sep 2022 11:19:10 -0400 Subject: [PATCH] v14.0.22 --- .versionbot/CHANGELOG.yml | 23 +++++++++++++++++++++++ CHANGELOG.md | 5 +++++ VERSION | 2 +- balena.yml | 2 +- package-lock.json | 2 +- package.json | 4 ++-- 6 files changed, 33 insertions(+), 5 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 33bc93b2..b6a67716 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,26 @@ +- commits: + - subject: Only install service if running is set to false + hash: c6f911c36b8f9afeff5003db44199c95f5bbd8a2 + body: | + The supervisor supports target state `running: false` for services. + This state indicates that the service should be stopped if already + running, or that the container should just be created and never started + if the container does not exist. This commit fixes the latter behavior. + + Although nothing in our platform currently sends this target state, this + enables some potential use cases, e.g. only starting some services + in manufacturing and starting the rest of the services when the device + actually connects. + footer: + Change-type: patch + change-type: patch + Closes: "#2014" + closes: "#2014" + author: Felipe Lalanne + nested: [] + version: 14.0.22 + title: "'Only install service if running is set to false'" + date: 2022-09-14T13:48:20.421Z - commits: - subject: Fix withDefault type helper to work with boolean hash: 3e45e9561e109186ea038c6d3b67f54071ee8a67 diff --git a/CHANGELOG.md b/CHANGELOG.md index 907dd476..dc39b43a 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.22 +## (2022-09-14) + +* Only install service if running is set to false [Felipe Lalanne] + # v14.0.21 ## (2022-09-13) diff --git a/VERSION b/VERSION index 3b5572a3..48b1e019 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -14.0.21 \ No newline at end of file +14.0.22 \ No newline at end of file diff --git a/balena.yml b/balena.yml index a024d683..8b4b8e69 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.21 +version: 14.0.22 provides: - slug: sw.compose.long-volume-syntax diff --git a/package-lock.json b/package-lock.json index 9a0412fd..77565713 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "14.0.21", + "version": "14.0.22", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 842a2024..b6b82298 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.21", + "version": "14.0.22", "license": "Apache-2.0", "repository": { "type": "git", @@ -141,6 +141,6 @@ } }, "versionist": { - "publishedAt": "2022-09-13T20:13:18.516Z" + "publishedAt": "2022-09-14T13:48:20.871Z" } }