Commit Graph

689 Commits

Author SHA1 Message Date
Resin CI
4522d1ad86 v9.18.6 2019-07-09 15:16:38 +03:00
Resin CI
782fd783c1 v9.18.5 2019-07-08 20:36:43 +03:00
Roman Mazur
bea97f47a7
Use resin-lint for mocha tests check
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-07-08 19:07:47 +03:00
Resin CI
a817863aa4 v9.18.4 2019-07-05 12:59:03 +03:00
Cameron Diver
89807c21fa
Fix network composition parsing, and correctly report compose config
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00
Cameron Diver
286ba58069
Add tests for Volume
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00
Resin CI
90e7ec0053 v9.18.3 2019-07-01 11:51:28 +03:00
Roman Mazur
36fa23ab7d
Add mocha tests linter
A simple script that detects presence of .only statements in tests.
The idea is to avoid comitting them, so that all the tests are run with npm test.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-29 16:40:41 +03:00
Resin CI
a87f344607 v9.18.2 2019-06-28 11:59:46 +03:00
Resin CI
fe8ebfc0b0 v9.18.1 2019-06-27 16:33:48 +03:00
Resin CI
064d082836 v9.18.0 2019-06-26 18:27:19 +03:00
Roman Mazur
4974c9200c
Clean up local mode engine objects using snapshots
Snapshot is collected to compare with engine state when local mode is turned off.

Change-type: minor
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-26 17:40:01 +03:00
Roman Mazur
bc3c56da4e
Add sinon types
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-26 17:40:00 +03:00
Resin CI
230225b49c v9.17.2 2019-06-25 18:06:51 +03:00
Resin CI
4cc83d5520 v9.17.1 2019-06-21 16:28:07 +03:00
Resin CI
30897ddbba v9.17.0 2019-06-20 23:45:43 +03:00
Resin CI
f662a6be39 v9.16.7 2019-06-20 15:27:13 +03:00
Resin CI
cebf3761d6 v9.16.6 2019-06-20 13:29:23 +03:00
Roman Mazur
3f5239b07f
Remove mochainon dependnecy
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-19 23:31:58 +03:00
Resin CI
fe856f091a v9.16.5 2019-06-19 15:58:17 +03:00
Cameron Diver
9dab00d156
Allow writing test files in typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-19 10:55:15 +01:00
Resin CI
79762c2e08 v9.16.4 2019-06-18 16:30:22 +03:00
Cameron Diver
6c7234f84b Make sync-debug much more reliable with logs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-18 13:32:04 +01:00
Resin CI
e3d9a9e9da v9.16.3 2019-06-11 15:43:58 +03:00
Resin CI
73c405bd63 v9.16.2 2019-06-11 11:00:25 +03:00
Resin CI
6256572815 v9.16.1 2019-06-10 23:51:00 +03:00
Resin CI
24f5c7f7c7 v9.16.0 2019-06-10 22:37:24 +03:00
Cameron Diver
ea64f0b0b3 Upgrade typescript and fix warnings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 15:35:43 +01:00
Cameron Diver
0593aadcac Pin prettier version to avoid changes in non-ci installs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 11:43:51 +01:00
Cameron Diver
2276dd54e1 Standardise all supervisor output logging
Also use the supervisor's own container logging monitoring code when
running livepush on the supervisor container.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-10 11:38:45 +01:00
Resin CI
2c1164cd62 v9.15.9 2019-05-29 17:21:25 +03:00
Cameron Diver
392c56b4d3
Update and improve debug and development tools
Add a debounce to the livepush invocations, execute on start and also
add a wait on the supervisor CMD line for those rare occassions where
the supervisor enters a restart loop.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-29 14:07:00 +01:00
Resin CI
1597aeb895 v9.15.8 2019-05-29 15:00:51 +03:00
Resin CI
47fcafd896 v9.15.7 2019-05-29 13:48:26 +03:00
Resin CI
0a8353da4a v9.15.6 2019-05-28 19:35:29 +03:00
Resin CI
8903ea6b1c v9.15.5 2019-05-27 17:47:33 +03:00
Resin CI
cdcb599585 v9.15.4 2019-05-27 16:24:25 +03:00
Resin CI
9583f1da44 v9.15.3 2019-05-27 12:48:44 +03:00
Cameron Diver
2a27b1d51f Move to resin-lint 3 and fix lint errors
This is a massive commit, but nothing related to runtime has actually
changed, only the lint errors have changed.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-26 18:54:09 +01:00
Resin CI
465bf465d5 v9.15.2 2019-05-18 11:28:21 +03:00
Resin CI
fc40f1a041 v9.15.1 2019-05-17 12:05:37 +03:00
Resin CI
22f69ca181 v9.15.0 2019-05-15 16:25:14 +03:00
Cameron Diver
73f207a76f Add livepush capabilities for debug builds
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:47:20 +01:00
Cameron Diver
0428ca31b0 Update sqlite3 to 4.0.9 to avoid arm build errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:29 +01:00
Cameron Diver
4e779608a3 Add debug build infrastructure and configuration
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:27 +01:00
Cameron Diver
b84f354ded Upgrade to node 8 for supported architectures
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:26 +01:00
Resin CI
b43b639954 v9.14.12 2019-05-15 13:38:58 +03:00
Cameron Diver
50fdee4290 Format update lock logs with pretty-ms
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 10:19:14 +01:00
Resin CI
34397cc045 v9.14.11 2019-05-10 15:28:59 +03:00
Resin CI
86b9d91b82 v9.14.10 2019-05-10 14:23:49 +03:00
Resin CI
ae23732a31 v9.14.9 2019-05-07 18:10:58 +03:00
Resin CI
23039b6513 v9.14.8 2019-05-03 14:39:34 +03:00
Resin CI
ac0bfaaa1f v9.14.7 2019-05-03 13:56:52 +03:00
Resin CI
558424ecee v9.14.6 2019-04-25 19:27:44 +03:00
Resin CI
42aaf81d0b v9.14.5 2019-04-25 18:13:26 +03:00
Resin CI
8b551ebc7b v9.14.4 2019-04-11 13:07:44 +03:00
Resin CI
105d3889af v9.14.3 2019-04-11 00:09:09 +03:00
Resin CI
0b1d2b7702 v9.14.2 2019-04-08 14:17:09 +03:00
Cameron Diver
80031b76e4
types: Upgrade dockerode types, and remove fixes which are superceded
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-04-08 10:46:28 +01:00
Resin CI
3539ad467a v9.14.1 2019-04-05 16:20:12 +03:00
Resin CI
08fe5504ce v9.14.0 2019-04-05 12:29:08 +03:00
Resin CI
b82eb6efd6 v9.13.0 2019-04-03 20:08:09 +03:00
Resin CI
77d5c10aee v9.12.7 2019-04-03 15:39:32 +03:00
Resin CI
4e5d9df717 v9.12.6 2019-03-29 20:04:35 +02:00
Resin CI
32bdd1e397 v9.12.5 2019-03-29 02:13:23 +02:00
Resin CI
e5fee8d277 v9.12.4 2019-03-28 20:39:07 +02:00
Resin CI
efdd3e817b v9.12.3 2019-03-28 16:47:23 +02:00
Resin CI
898312151a v9.12.2 2019-03-28 15:23:17 +02:00
Resin CI
56c79945c3 v9.12.1 2019-03-28 14:10:20 +02:00
Resin CI
f1c6dd46c3 v9.12.0 2019-03-28 11:45:43 +02:00
Resin CI
88a58b683f v9.11.4 2019-03-27 22:36:57 +02:00
Resin CI
3e6a6359a7 v9.11.3 2019-03-21 15:08:31 +02:00
Resin CI
1572640bce v9.11.2 2019-03-20 21:56:37 +02:00
Resin CI
59d2f98166 v9.11.1 2019-03-19 22:59:48 +02:00
Resin CI
000f9ae6c8 v9.11.0 2019-03-18 19:59:34 +02:00
Resin CI
2855295432 v9.10.2 2019-03-13 14:25:03 +02:00
Resin CI
3b475db94c v9.10.1 2019-03-12 15:59:07 +02:00
Cameron Diver
af734ad008
Pin lodash types to avoid compile error
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-03-12 13:36:46 +00:00
Resin CI
16ee0cec60 v9.10.0 2019-03-12 14:58:22 +02:00
Resin CI
92049534f5 v9.9.1 2019-03-08 17:54:16 +02:00
Resin CI
b821d08754 v9.9.0 2019-03-07 20:50:42 +02:00
Resin CI
9c55574533 v9.8.7 2019-02-28 12:53:57 +01:00
Giovanni Garufi
50d2df73a1 v9.8.6 2019-02-25 14:12:08 +01:00
Giovanni Garufi
bdaf1bc41f v9.8.5 2019-02-25 13:21:33 +01:00
Giovanni Garufi
58fa0ac761 v9.8.4 2019-02-25 13:16:22 +01:00
Resin CI
19584c465a v9.8.3 2019-02-19 19:10:49 +01:00
Resin CI
b3f90e94ec v9.8.2 2019-02-19 18:09:32 +01:00
Resin CI
112bc644c4 v9.8.1 2019-02-14 15:06:34 +01:00
Resin CI
adc8ef231e v9.8.0 2019-02-14 10:40:54 +01:00
Resin CI
cff5965d5e v9.7.7 2019-02-13 17:02:02 +01:00
Resin CI
c6d20a598b v9.7.6 2019-02-12 15:29:43 +01:00
Cameron Diver
06580bf437
Don't treat a non-200 status response on patch as report errors
Non-200 errors were causing the watchdog to restart the supervisor,
which in some cases could cause a restart loop. Instead we change the
code to only treat communication failures as an error, and report status
code failures directly.

Change-type: patch
Closes: #843
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-12 13:56:54 +00:00
Resin CI
e2cd757b46 v9.7.5 2019-02-12 13:29:17 +01:00
Resin CI
3b43579da7 v9.7.4 2019-02-11 14:19:11 +01:00
Resin CI
5567682c1c v9.7.3 2019-02-11 11:54:12 +01:00
Resin CI
d19e63d38f v9.7.2 2019-02-11 11:05:10 +01:00
Resin CI
04a9790e11 v9.7.1 2019-02-06 13:25:17 +01:00
Resin CI
9d8552ea8d v9.7.0 2019-02-05 20:55:12 +01:00
Resin CI
65f267f793 v9.6.6 2019-02-05 18:54:47 +01:00
Resin CI
d0c9b697da v9.6.5 2019-02-04 19:16:16 +01:00