Commit Graph

3322 Commits

Author SHA1 Message Date
Cameron Diver
975129188a Remove superfluous current state reporting code from api-binder
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-10-12 11:53:19 +01:00
Balena CI
17cf330771 v12.0.1 2020-10-12 11:16:26 +03:00
bulldozer-balena[bot]
7cd2950410
Merge pull request #1445 from balena-io/codewithcheese/journalctl-label
Add features label `io.balena.features.journal-logs`
2020-10-12 08:14:27 +00:00
Thomas Manning
1eeff698ac Add features label io.balena.features.journal-logs
Change-type: patch
Signed-off-by: Thomas Manning <thomasm@balena.io>
2020-10-12 15:37:35 +10:00
Balena CI
ced69c8c15 v12.0.0 2020-09-29 19:18:14 +03:00
bulldozer-balena[bot]
ba30c8f1f1
Merge pull request #1469 from balena-io/1447-drop-version-in-env
version: drop SUPERVISOR_VERSION env var
2020-09-29 16:16:29 +00:00
Matthew McGinn
8e65466f2d version: drop SUPERVISOR_VERSION env var
In order to make supervisor upgrades more transparent, lets move away
from this env var since it requires a container restart any time the supervisor
is upgraded. We should ultimately move towards providing the supervisors
set of capabilities, but that can come later

Connects-to: #1447
Change-type: major
Signed-off-by: Matthew McGinn <matthew@balena.io>
2020-09-29 11:22:30 -04:00
Balena CI
a98f6fc403 v11.14.8 2020-09-29 11:08:35 +03:00
bulldozer-balena[bot]
74058b973e
Merge pull request #1474 from balena-io/1468-db-deadlock
Fix supervisor deadlock during migration
2020-09-29 08:06:55 +00:00
Felipe Lalanne
adffde932e Fix supervisor deadlock during migration
Due to the singleton work, when performing migration M00005 and there
are apps with services created in the database, a deadlock occurs
during database initialization due to a circular
dependency for generating scoped keys.

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: #1468
2020-09-28 23:52:36 -03:00
Balena CI
7ca1f837ff v11.14.7 2020-09-25 21:04:28 +03:00
bulldozer-balena[bot]
eaff2ac801
Merge pull request #1466 from balena-io/1428-patch-variable-is-set
Correctly evaluate if scheduledApply.delay is not set
2020-09-25 18:02:21 +00:00
Miguel Casqueira
90981a00be Correctly evaluate if scheduledApply.delay is not set
Closes: #1428
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-09-25 13:14:09 -04:00
Balena CI
a5a1dd7d73 v11.14.6 2020-09-24 23:42:25 +03:00
bulldozer-balena[bot]
fa7e4a1a7c
Merge pull request #1467 from balena-io/1468-hostconfigfs
Fix config checks for ConfigFS backend
2020-09-24 20:40:33 +00:00
Felipe Lalanne
a5f3002e70 Fix config checks for ConfigFS backend
When trying to apply SSDT overlays in Up Board, the supervisor currently
gets stuck in a loop trying to apply target state. See #1465

This was due to a bug in parsing the configuration, which lead to
the method bootConfigChangeRequired returning true when no change was
needed.

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: #1465
2020-09-24 16:45:57 -03:00
Balena CI
1ac71ea552 v11.14.5 2020-09-24 18:25:14 +03:00
bulldozer-balena[bot]
55ca28a090
Merge pull request #1470 from balena-io/mixpanel-typo
mixpanel: superisor_version -> supervisor_version
2020-09-24 15:23:25 +00:00
Matthew McGinn
eebadebb53 mixpanel: superisor_version -> supervisor_version
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2020-09-24 10:43:43 -04:00
Balena CI
fbc2875951 v11.14.4 2020-09-18 16:52:19 +03:00
bulldozer-balena[bot]
c563ee0d31
Merge pull request #1461 from balena-io/add-scoped-api-keys
Implement scoped Supervisor API keys
2020-09-18 13:50:08 +00:00
Balena CI
7d11e29f85 v11.14.3 2020-09-18 02:11:43 +03:00
bulldozer-balena[bot]
17844096e5
Merge pull request #1463 from balena-io/clarify-lock-override-toggle
Clarify location for enabling update lock override
2020-09-17 23:09:53 +00:00
M. Casqueira
1b51db06c1 Clarify docs for toggling update lock override from dashboard
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-09-17 18:22:33 -04:00
Rich Bayliss
c08de8701e api: Implement scoped Supervisor API keys
Each service, when requesting access to the Supervisor API, will
now get an individual key which can be scoped to specific resources.
In this iteration the default scope will be to the application that
the service belongs to.

We also have a `global` scope which is used by the cloud API when in
managed mode.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-09-17 11:25:56 +00:00
Balena CI
4ebba7cbfb v11.14.2 2020-09-15 22:13:26 +03:00
bulldozer-balena[bot]
69af7f4f10
Merge pull request #1423 from balena-io/refactor-extra-uenv-match
Refactor extra_uEnv backend to match with more devices
2020-09-15 19:11:41 +00:00
Miguel Casqueira
07e644d0b6 Refactor extra_uEnv backend to match with more devices
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-09-15 14:19:59 -04:00
Balena CI
b656aa7304 v11.14.1 2020-09-14 15:03:58 +03:00
bulldozer-balena[bot]
4a5874c510
Merge pull request #1408 from balena-io/refactor-to-singletons
Refactor to singletons
2020-09-14 12:01:31 +00:00
Rich Bayliss
96c68166a1
application-manager: Convert to a singleton
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 11:23:36 +01:00
Rich Bayliss
e3864915bc
device-state: Convert to a singleton
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 09:31:12 +01:00
Rich Bayliss
d50f7791e1
api-binder: Convert to a singleton
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 09:31:12 +01:00
Balena CI
13241bf6e7 v11.14.0 2020-09-03 17:36:15 +03:00
bulldozer-balena[bot]
ef7bb8f92e
Merge pull request #1451 from balena-io/device-metadata
Add device system information to state endpoint patch
2020-09-03 14:34:27 +00:00
Cameron Diver
f305a333ba Add device system information to state endpoint patch
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-03 14:40:29 +01:00
Balena CI
f918910067 v11.13.0 2020-09-02 12:07:12 +03:00
bulldozer-balena[bot]
0334669e1f
Merge pull request #1436 from balena-io/1206-odmdata-confugration
added support for configuring ODMDATA
2020-09-02 09:05:08 +00:00
Miguel Casqueira
662826d349 added support for configuring ODMDATA
Closes: 1206
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-08-29 09:05:27 -04:00
Balena CI
5121aea153 v11.12.11 2020-08-27 14:45:59 +03:00
bulldozer-balena[bot]
9d86b81a1c
Merge pull request #1448 from balena-io/support-mdns-api-urls
bug: Resolve mDNS API URLs
2020-08-27 11:44:08 +00:00
Rich Bayliss
f0c2a3cba7
bug: Resolve mDNS API URLs
Due to switching to Alpine the ability to resolve mDNS
hostnames was lost. This patch overrides the lookup and
manually resolves the names.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-08-27 11:34:18 +01:00
Balena CI
274130784e v11.12.10 2020-08-24 21:31:53 +03:00
bulldozer-balena[bot]
ac69f04c10
Merge pull request #1440 from balena-io/1437-patch-empty-config
Preventing removing all configurations if device has no backends
2020-08-24 18:30:04 +00:00
Miguel Casqueira
7ea49bf4fb Preventing removing all configurations if device has no backends
Closes: #1437
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-08-24 13:41:17 -04:00
Balena CI
4263f9ab88 v11.12.9 2020-08-20 13:10:36 +03:00
bulldozer-balena[bot]
70b1e6240f
Merge pull request #1441 from balena-io/1404-no-vc4-fkms-v3d
Don't enforce the vc4-fkms-v3d dtoverlay on rpi4
2020-08-20 10:08:36 +00:00
Cameron Diver
de4c1b2538 Don't enforce the vc4-fkms-v3d dtoverlay on rpi4
Change-type: patch
Closes: #1404
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-08-20 10:21:02 +01:00
Balena CI
455784dce6 v11.12.8 2020-08-20 00:42:54 +03:00
bulldozer-balena[bot]
eb7c6faf25
Merge pull request #1442 from balena-io/update-deps
Update dependencies
2020-08-19 21:40:29 +00:00