Commit Graph

3179 Commits

Author SHA1 Message Date
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
Cameron Diver
eaaa9c257e check for 409 status code, rather than string matching uuid conflicts
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Balena CI
00a6ce84f3 v11.4.13 2020-05-21 19:32:18 +03:00
CameronDiver
e5f53d1a2d
Merge pull request #1342 from balena-io/fix-call-stack-exceeding
Use safeStateClone to avoid call-stack exceeding errors
2020-05-21 12:30:18 -04:00
Cameron Diver
87278c0d8c Use safeStateClone to avoid call-stack exceeding errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 16:47:09 +01:00
Balena CI
1bf2a7ae29 v11.4.12 2020-05-19 20:07:27 +03:00
M. Casqueira
34fff5ef2d
Merge pull request #1329 from balena-io/1294-returning-app-state
Improved handling of invalid appId in V2 state endpoint
2020-05-19 13:04:27 -04:00
Miguel Casqueira
db7c27037c Improved handling of invalid appId in V2 state endpoint
Closes: #1294
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-19 10:53:19 -04:00
Balena CI
860afa25c7 v11.4.11 2020-05-18 22:39:56 +03:00
Page-
9c25b09696
Merge pull request #1334 from balena-io/patch-balena-api
Switch to balenaApi for the state patch as patching cannot be cached
2020-05-18 20:38:10 +01:00
Pagan Gazzard
fb90042c39 Switch to balenaApi for the state patch as patching cannot be cached
Change-type: patch
2020-05-18 18:17:48 +00:00
Balena CI
5f35331633 v11.4.10 2020-05-18 18:15:16 +03:00
CameronDiver
709c2788cb
Merge pull request #1333 from balena-io/fix-preload-pinning
Fix leftover spurious return from typescript conversion
2020-05-18 11:13:29 -04:00
Cameron Diver
6972dcd92d Fix leftover spurious return from typescript conversion
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-18 15:21:33 +01:00
Balena CI
84b1726681 v11.4.9 2020-05-18 17:04:05 +03:00
Page-
02be46068b
Merge pull request #1331 from balena-io/always-poll
Catch errors in the target state poll so polling will always continue
2020-05-18 15:02:21 +01:00
Pagan Gazzard
dc187f0036 Catch errors in the target state poll so polling will always continue
Change-type: patch
2020-05-18 14:14:52 +01:00