Commit Graph

3509 Commits

Author SHA1 Message Date
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
Balena CI
0e9f527ff7 v11.5.3 2020-06-02 22:10:42 +03:00
bulldozer-balena[bot]
96e55585ea
Merge pull request #1351 from balena-io/singleton-docker
Make docker module a singleton
2020-06-02 19:08:55 +00:00
Cameron Diver
aad20e2c2f Make docker module a singleton
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-02 17:57:18 +01:00
Balena CI
139c5cdce2 v11.5.2 2020-06-02 18:34:19 +03:00
bulldozer-balena[bot]
2f20e28439
Merge pull request #1349 from balena-io/singleton-config
Make the config module a singleton
2020-06-02 15:31:16 +00:00
Cameron Diver
ff4a31a0e6 Make the config module a singleton
Change-type: patch
Co-authored-by: Pagan Gazzard <page@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-02 14:29:05 +01:00
Balena CI
10a5fb6aaf v11.5.1 2020-06-01 12:42:02 +03:00
bulldozer-balena[bot]
e2f34ac470
Merge pull request #1347 from balena-io/remove-unused-dependencies
Remove unused dependencies and dedupe
2020-06-01 09:40:08 +00:00
Cameron Diver
6290993a79 Remove unused dependencies and dedupe
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-06-01 08:50:17 +00:00
Balena CI
05546070c8 v11.5.0 2020-05-30 01:22:07 +03:00
bulldozer-balena[bot]
cf50a8797e
Merge pull request #1340 from balena-io/1249-log-healthcheck-failure
log healthcheck failure
2020-05-29 22:17:31 +00:00
Miguel Casqueira
5550a3a330 Refactor device-state healthchecks to log reason for failure
Closes: #1292
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 16:24:01 -04:00