Commit Graph

3171 Commits

Author SHA1 Message Date
bulldozer-balena[bot]
54cbfface2
Merge pull request #1373 from balena-io/singleton-managers
Make network-manager, volume-manager and service-manager singletons
2020-06-18 11:56:02 +00:00
Cameron Diver
0e8d92e08a Make service-manager module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-17 14:56:57 +00:00
Cameron Diver
adaad786af Make volume-manager module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-17 14:56:57 +00:00
Cameron Diver
8fc97b9de8 Make network-manager module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-17 14:56:57 +00:00
bulldozer-balena[bot]
3773249790
Merge pull request #1376 from balena-io/doc/upgrading-supervisor
Add supervisor upgrade document
2020-06-16 20:57:10 +00:00
Hugh Brown
989ec83a27 Add supervisor upgrade document
Connects-to: https://github.com/balena-io/balena-io/issues/2157
Change-type: patch
Signed-off-by: Hugh Brown <hugh@balena.io>
2020-06-16 13:05:17 -07:00
Balena CI
20143c1569 v11.8.1 2020-06-16 16:55:51 +03:00
bulldozer-balena[bot]
dfde956da6
Merge pull request #1382 from balena-io/update-webpack-deps
Update webpack dependencies
2020-06-16 13:54:10 +00:00
Pagan Gazzard
e1fb8683f4 Update webpack dependencies
Change-type: patch
2020-06-16 13:05:46 +01:00
Balena CI
c172a70a95 v11.8.0 2020-06-16 12:22:51 +03:00
bulldozer-balena[bot]
557809871c
Merge pull request #1378 from balena-io/use-v6
Use API v6
2020-06-16 09:21:00 +00:00
Akis Kesoglou
1dccbaecd8 Use API v6
See: https://github.com/balena-io/open-balena/issues/80
Change-type: minor
2020-06-15 13:57:32 +03:00
Balena CI
3ef51240af v11.7.3 2020-06-15 13:44:51 +03:00
bulldozer-balena[bot]
b501e3faf4
Merge pull request #1377 from balena-io/db-format-changes
Db-format module code fixups
2020-06-15 10:42:44 +00:00
Cameron Diver
695d91d494 Db-format module code fixups
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-15 10:53:21 +01:00
Balena CI
0b9727c9cb v11.7.2 2020-06-15 12:18:01 +03:00
bulldozer-balena[bot]
d0bcaa6fa2
Merge pull request #1362 from balena-io/rgz/device-request-gpu
Add label to expose gpu to container
2020-06-15 09:16:21 +00:00
Robert Günzler
ae646a07ec Add label to expose gpu to container
In the absence of an upstream implementation of the DeviceRequest API introduced
as part of Docker API v1.40 we roll our own using a feature label.

As per my comment in the code, we fall back to the default behavior of
docker cli's `--gpu` and request single device with the `gpu` capabilty.
The only implementation at the moment is the NVIDIA driver; here:
https://github.com/balena-os/balena-engine/blob/master/daemon/nvidia_linux.go

Background on the composefile implementation:
https://github.com/compose-spec/compose-spec/issues/74
https://github.com/docker/compose/issues/6691

Change-type: patch
Connects-to: https://github.com/balena-os/balena-jetson/pull/75
Signed-off-by: Robert Günzler <robertg@balena.io>
2020-06-11 14:06:16 +02:00
Balena CI
92e71a95fa v11.7.1 2020-06-11 14:47:33 +03:00
bulldozer-balena[bot]
53658c1c13
Merge pull request #1372 from balena-io/db-format
Move database app processing out to its own module
2020-06-11 11:45:04 +00:00
Cameron Diver
b31d5007fb Move database app processing out to its own module
This is part of the work to make the application-manager module much
less monolithic, in preperation for system apps and more generally
multi-app.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-11 11:55:11 +01:00
Cameron Diver
c0e170c61f Make target-state-cache a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-11 11:55:11 +01:00
Balena CI
5512654d1c v11.7.0 2020-06-11 12:09:32 +03:00
CameronDiver
fad7020b1c
Merge pull request #1208 from balena-io/909-preload-device-name
Respect an initialDeviceName field in the config.json
2020-06-11 05:05:28 -04:00
Cameron Diver
b5918f0d84 Respect an initialDeviceName field in the config.json
Closes: #909
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-10 13:27:03 +01:00
Balena CI
dec79e11f4 v11.6.6 2020-06-10 15:02:04 +03:00
CameronDiver
99e821ab25
Merge pull request #1370 from balena-io/singleton-images
Make images module a singleton
2020-06-10 08:00:27 -04:00
Cameron Diver
2b3dc2fbce Make images module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-10 11:29:28 +01:00
Balena CI
d3fae47c8a v11.6.5 2020-06-09 18:14:30 +03:00
Rich Bayliss
f5c787ede3
Merge pull request #1369 from balena-io/fix-api-auth
fix: API auth missing on state GET/PATCH
2020-06-09 16:12:28 +01:00
Rich Bayliss
b89425c607
fix: API auth missing on state GET/PATCH
When performing a state GET/PATCH the authentication header was being
missed off.

Change-type: patch
Signed-off-by: Rich Bayliss
2020-06-09 15:03:16 +01:00
Balena CI
dde164426f v11.6.4 2020-06-08 21:14:22 +03:00
bulldozer-balena[bot]
89055a800b
Merge pull request #1368 from balena-io/test-file-ts-adjustments
Refactored @ts-ignore to @ts-expect-error in test file
2020-06-08 18:12:15 +00:00
Miguel Casqueira
ffe814e447 Refactored @ts-ignore to @ts-expect-error in test file
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-06-08 13:24:19 -04:00
Balena CI
12a4a113d7 v11.6.3 2020-06-08 19:59:01 +03:00
bulldozer-balena[bot]
431e022b37
Merge pull request #1366 from balena-io/singleton-logger
Make logger module a singleton
2020-06-08 16:57:23 +00:00
Cameron Diver
651e48b1bd Make logger module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-08 17:19:20 +01:00
bulldozer-balena[bot]
507cb33c6a
Merge pull request #1367 from balena-io/fix-state-fetch-backoff
Fix exponential backoff for state polling
2020-06-08 15:17:38 +00:00
Pagan Gazzard
e37b52dd68 Fix exponential backoff for state polling
Change-type: patch
2020-06-08 15:41:11 +01:00
Balena CI
14bda050bd v11.6.2 2020-06-08 15:38:10 +03:00
bulldozer-balena[bot]
f8e48573c7
Merge pull request #1356 from balena-io/singleton-eventtracker
Make the event-tracker module a singleton
2020-06-08 12:36:10 +00:00
Cameron Diver
389e14ec6b Make the event-tracker module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-08 10:13:33 +01:00
Balena CI
138b1b4496 v11.6.1 2020-06-06 02:18:29 +03:00
bulldozer-balena[bot]
400d2f5fe3
Merge pull request #1365 from balena-io/normalize-test-files
Convert all test files to TS and add .spec to all filenames
2020-06-05 23:16:43 +00:00
Miguel Casqueira
9fc2e86322 Convert all test files to TS and add .spec to all filenames
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-06-05 18:34:24 -04:00
bulldozer-balena[bot]
b669380b95
Merge pull request #1364 from balena-io/pin-python-version
fix: Pin alpine python version
2020-06-05 15:57:26 +00:00
Rich Bayliss
846545648b
fix: Pin alpine python version
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-06-05 16:33:22 +01:00
Balena CI
5e61fc3be9 v11.6.0 2020-06-04 10:49:36 +03:00
bulldozer-balena[bot]
b0be6c1925
Merge pull request #1332 from balena-io/isolate-target-state
Isolate target state
2020-06-04 07:47:43 +00:00
Pagan Gazzard
17a5d8dd49 Isolate target state fetching to its own module which emits on update
Change-type: minor
2020-06-03 17:37:38 -04:00