Commit Graph

3495 Commits

Author SHA1 Message Date
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
Miguel Casqueira
ef83acdaeb Refactor api-binder healthchecks to log reason for failure
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 16:14:58 -04:00
Miguel Casqueira
f494178b2b Added test coverage for GET /v1/healthy
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 16:14:15 -04:00
Balena CI
15f2ac8d69 v11.4.17 2020-05-29 22:15:57 +03:00
bulldozer-balena[bot]
9aefd9ecf1
Merge pull request #1324 from balena-io/update-deps
Update dependencies
2020-05-29 19:13:19 +00:00
Miguel Casqueira
e0c489bb4a Performed npm audit fix on dependencies
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 14:22:31 -04:00
Pagan Gazzard
1decd87c21 Update dependencies
Change-type: patch
2020-05-29 14:22:23 -04:00
Balena CI
e0187090b1 v11.4.16 2020-05-29 17:57:50 +03:00
bulldozer-balena[bot]
7365e5c160
Merge pull request #1345 from balena-io/singleton-database
Make the db module a singleton
2020-05-29 14:54:39 +00:00
Cameron Diver
1d7381327e Make the db module a singleton
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Balena CI
0dc0fc77b6 v11.4.15 2020-05-27 10:51:55 +03:00
bulldozer-balena[bot]
68e2546ddc
Merge pull request #1344 from balena-io/correct-error-matching
Support ResponseErrors from balena-register-device
2020-05-27 07:50:06 +00:00
Cameron Diver
972b896c95 Check for ApiError before using it as such
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-26 14:43:59 +01:00
Balena CI
68b2b1be0b v11.4.14 2020-05-22 01:18:57 +03:00
M. Casqueira
81f6a77855
Merge pull request #1338 from balena-io/detect-unique-uuid-error
Check for 409 status code, rather than string matching uuid conflicts
2020-05-21 18:16:28 -04:00