Commit Graph

971 Commits

Author SHA1 Message Date
Balena CI
6027556150 v10.3.8 2019-09-23 19:36:18 +03:00
Balena CI
89d9e9d117 v10.3.7 2019-09-20 17:37:24 +03:00
Balena CI
310ecb1afb v10.3.6 2019-09-18 11:47:25 +03:00
Balena CI
7ef4880beb v10.3.5 2019-09-16 15:33:29 +03:00
Balena CI
bae78386a8 v10.3.4 2019-09-11 17:59:14 +03:00
Balena CI
b882239fa7 v10.3.3 2019-09-05 13:10:34 +03:00
Balena CI
b487408a18 v10.3.2 2019-09-02 18:11:13 +03:00
Resin CI
72e739f15e v10.3.1 2019-08-22 14:29:42 +03:00
Resin CI
8677c37670 v10.3.0 2019-08-22 11:38:22 +03:00
Resin CI
5121767766 v10.2.7 2019-08-21 16:31:22 +03:00
Resin CI
9a823475b5 v10.2.6 2019-08-19 23:04:25 +03:00
Resin CI
384e0e37bc v10.2.5 2019-08-19 19:00:24 +03:00
Resin CI
b20e5c567d v10.2.4 2019-08-16 11:20:02 +03:00
Resin CI
587e7fa859 v10.2.3 2019-08-15 17:24:43 +03:00
Resin CI
30da419033 v10.2.2 2019-08-09 20:57:49 +03:00
Resin CI
0cb1d454e8 v10.2.1 2019-08-09 16:15:59 +03:00
Resin CI
9500c3469b v10.2.0 2019-08-09 14:24:43 +03:00
Resin CI
fa26988ca6 v10.1.5 2019-08-05 12:26:43 +03:00
Resin CI
d6d5fecf28 v10.1.4 2019-07-25 16:19:37 +03:00
Resin CI
36f2b36136 v10.1.3 2019-07-25 11:42:36 +03:00
Resin CI
7c18ff2901 v10.1.2 2019-07-24 18:21:15 +03:00
Resin CI
de8a5984a9 v10.1.1 2019-07-24 15:39:31 +03:00
Resin CI
e7652fec52 v10.1.0 2019-07-23 16:35:28 +03:00
Resin CI
7afde2fc0e v10.0.5 2019-07-22 18:32:38 +03:00
Resin CI
430e58c932 v10.0.4 2019-07-22 13:43:26 +03:00
Resin CI
095ec0620f v10.0.3 2019-07-19 15:48:09 +03:00
Resin CI
9ad2a6a343 v10.0.2 2019-07-19 13:29:25 +03:00
Resin CI
93b64406d6 v10.0.1 2019-07-11 19:38:13 +03:00
Resin CI
e4caf100b5 v10.0.0 2019-07-10 17:18:38 +03:00
Resin CI
1690171304 v9.18.8 2019-07-10 12:26:25 +03:00
Resin CI
64a8f5d884 v9.18.7 2019-07-09 20:02:33 +03:00
Cameron Diver
e36ed26883 Upgrade Dockerode types
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:06 +01:00
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
Resin CI
93460d36b9 v9.6.4 2019-02-04 14:55:32 +01:00
Cameron Diver
28d09f2772
Pin terser version to avoid breaking change in minor update
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 11:58:14 +00:00
Resin CI
94b267c199 v9.6.3 2019-02-03 12:54:35 +01:00
Resin CI
e2c159f009 v9.6.2 2019-01-29 17:19:03 +01:00
Resin CI
e4ca8ba7e7 v9.6.1 2019-01-29 13:33:58 +01:00
Resin CI
1bf5eeb046 v9.6.0 2019-01-25 19:58:16 +01:00
Resin CI
adefc10564 v9.5.0 2019-01-25 18:42:31 +01:00
Resin CI
52898b98dd v9.4.2 2019-01-23 19:12:38 +01:00
Resin CI
ffa79926e1 v9.4.1 2019-01-23 18:00:15 +01:00
Resin CI
b978e2769a v9.4.0 2019-01-23 10:27:10 +01:00
Cameron Diver
f10ad00e01
deps: Update docker-toolbelt for typing fixes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 13:26:46 +00:00
Cameron Diver
0505c0f976
config: Properly type the change events from config module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-21 11:13:14 +00:00
Resin CI
acf2a6d6b5 v9.3.1 2019-01-16 14:29:54 +01:00
Resin CI
11fc93af0f v9.3.0 2019-01-12 13:48:47 +01:00
Cameron Diver
db74e748a1
refactor: Fully type and validate config module set and get
We define the type for each config value, and validate the data when
retrieving and setting it.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:37:25 +00:00
Resin CI
e8d5364bf8 v9.2.10 2019-01-08 17:55:10 +01:00
Resin CI
f33a2adf12 v9.2.9 2019-01-08 15:59:41 +01:00
Cameron Diver
9decea1d3b
refactor: Convert supervisor api module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-08 11:59:53 +00:00
Resin CI
6c1f36dd75 v9.2.8 2019-01-02 13:55:32 +01:00
Resin CI
68aa34927b v9.2.7 2018-12-21 18:39:33 +01:00
Cameron Diver
f4f67a5afc
refactor: Convert host-config module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-21 17:18:32 +00:00
Resin CI
59887bad57 v9.2.6 2018-12-21 14:22:15 +01:00
Resin CI
7284863e6c v9.2.5 2018-12-20 19:00:28 +01:00
Resin CI
851db08af0 v9.2.4 2018-12-20 18:04:21 +01:00
Pagan Gazzard
77dd1d0a44 Use fork-ts-checker to speed up the webpack build
Change-type: patch
2018-12-20 16:41:30 +00:00
Resin CI
bc0354cb0e v9.2.3 2018-12-20 11:57:07 +01:00
Resin CI
2d014d2a5d v9.2.2 2018-12-20 11:04:26 +01:00
Cameron Diver
0bae497e4d
deps: Pin event-stream to avoid false audit warning
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-20 09:49:45 +00:00
Resin CI
0598c2e7d5 v9.2.1 2018-12-19 19:47:48 +01:00
Pagan Gazzard
019190646e Update pinejs-client to pinejs-client-request 5.x
Change-type: patch
2018-12-19 17:54:53 +00:00
Resin CI
b48947895c v9.2.0 2018-12-19 18:52:02 +01:00
Pagan Gazzard
655c476ccd Update to webpack 4
Change-type: minor
2018-12-19 17:12:55 +00:00
Resin CI
e74f2fd7da v9.1.0 2018-12-19 16:06:15 +01:00
Cameron Diver
45b322b7e0
device-api: Add morgan to log api requests
Change-type: minor
Closes: #834
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-19 14:30:37 +00:00
Resin CI
e98ec2189d v9.0.3 2018-12-19 15:27:53 +01:00
Cameron Diver
b977b30dfe
refactor: Convert update-lock module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-19 14:07:47 +00:00
Cameron Diver
e00954babd
refactor: Convert request module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-19 14:07:45 +00:00
Resin CI
dc1450d65d v9.0.2 2018-12-19 13:35:59 +01:00
Resin CI
253cc113d8 v9.0.1 2018-12-17 20:34:56 +01:00
Resin CI
53e11436db v9.0.0 2018-12-17 18:59:43 +02:00
Resin CI
edb1f3b1e0 v8.7.1 2018-12-13 16:33:15 +02:00
Resin CI
6840c52b7c v8.7.0 2018-12-13 01:25:44 +02:00
Pablo Carranza Velez
b94921263a Use rimraf package instead of handmade function
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 14:22:15 -03:00
Resin CI
289b2dad4b v8.6.11 2018-12-12 19:10:52 +02:00
Pablo Carranza Velez
b52c92a044 Update lodash to v4.17.5
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:30 -03:00
Pablo Carranza Velez
3c52faea54 Remove the unused register-coffee-coverage
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:30 -03:00
Pablo Carranza Velez
d5b2fcd4dd Update knex to 0.15.2 and sqlite3 to 4.0.4
We also replace a createTableIfNotExists in the migrations with hasTable then createTable, to
avoid a warning message about it being not recommended.

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:29 -03:00
Pablo Carranza Velez
cbcf046d91 sync.js: Switch from resin-sync to balena-sync
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:28 -03:00
Resin CI
2a183e1258 v8.6.10 2018-12-12 18:41:59 +02:00
Resin CI
8a42d0020f v8.6.9 2018-12-11 18:06:49 +02:00
Resin CI
737c85dee4 v8.6.8 2018-12-07 12:48:05 +02:00
Resin CI
2f71b70aaa v8.6.7 2018-12-04 20:15:49 +02:00
Cameron Diver
5c3d7f20bc
Update docker-progress to reduce memory usage when pulling images
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 17:05:23 +00:00
Resin CI
03ff1c3614 v8.6.6 2018-12-04 18:53:14 +02:00
Resin CI
33549aa344 v8.6.5 2018-12-04 12:13:08 +02:00
Cameron Diver
e409ebf27d
Update mixpanel node dependency, to pick up path changes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 09:35:40 +00:00
Resin CI
6af1aa39d5 v8.6.4 2018-11-30 20:48:24 +02:00
Resin CI
fa89b5881f v8.6.3 2018-11-29 13:43:27 +02:00
Resin CI
5015721524 v8.6.2 2018-11-28 20:20:01 +02:00
Cameron Diver
5c04df2cb8
compose: Fix network option field names and update dockerode types
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 17:43:31 +00:00
Resin CI
fd68ee6a1c v8.6.1 2018-11-28 19:41:34 +02:00
Resin CI
d2e68c1d3c v8.6.0 2018-11-28 19:12:51 +02:00
Resin CI
7916876028 v8.5.1 2018-11-28 18:34:25 +02:00
Cameron Diver
4bcdc83850
Update network-checker to pick up typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:05 +00:00
Resin CI
981d232a38 v8.5.0 2018-11-28 17:12:47 +02:00
Resin CI
db24961365 v8.4.3 2018-11-27 22:40:41 +02:00
Resin CI
27efe86bae v8.4.2 2018-11-26 19:53:24 +02:00
Cameron Diver
f97609a8f7
Pin event-stream to avoid picking up vulnerable flatmap-stream
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-26 17:18:01 +00:00
Resin CI
582ac24701 v8.4.1 2018-11-22 14:49:13 +02:00
Resin CI
20d0af1d70 v8.4.0 2018-11-21 15:30:12 +02:00
Cameron Diver
f48e85095b
events: Correctly proxy mixpanel events
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-21 13:09:06 +00:00
Resin CI
135ca9ac8f v8.3.9 2018-11-13 23:28:43 +01:00
Cameron Diver
e82b0103f7
Temporarily pin dockerode types to fix build issue
This depends on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/30343
being merged and released.

Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-07 11:19:37 +00:00
Resin CI
486f3e034d v8.3.8 2018-11-06 23:02:50 +01:00
Resin CI
5084c0c73f v8.3.7 2018-11-06 18:09:27 +01:00
Pagan Gazzard
83a1b24ae2 Update coffee-script to coffee-script 1.12
Change-type: patch
2018-11-06 16:31:58 +00:00
Resin CI
69db355874 v8.3.6 2018-11-06 17:21:26 +01:00
Resin CI
c8bd26bebc v8.3.5 2018-11-06 16:14:52 +01:00
Resin CI
d8a9011d54 v8.3.4 2018-11-06 14:09:58 +01:00
Pagan Gazzard
02d12aebcf Remove unused dependencies
Change-type: patch
2018-11-06 12:31:47 +00:00
Resin CI
2111c645b9 v8.3.3 2018-11-06 13:21:53 +01:00
Cameron Diver
e270652122
Remove ts-node from test process
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-06 12:05:35 +00:00
Resin CI
0820dbca68 v8.3.2 2018-11-06 11:19:43 +01:00
Resin CI
b7dfa73e5b v8.3.1 2018-11-06 00:33:25 +01:00
Resin CI
7957bf544e v8.3.0 2018-11-05 13:20:57 +01:00
Resin CI
88cd9e557e v8.2.4 2018-11-05 11:31:41 +01:00
Pagan Gazzard
f53a47a3cf Remove versionist from package.json, it's handled by versionbot
Change-type: patch
2018-11-02 16:38:59 +00:00
Resin CI
f897c68a28 v8.2.3 2018-11-02 17:31:49 +01:00
Pagan Gazzard
83927f36d8 Update to typescript 3
Change-type: patch
2018-11-02 15:41:14 +00:00
Resin CI
02cd9522e1 v8.2.2 2018-11-02 16:11:56 +01:00
Pagan Gazzard
21738f8fe3 Update to resin-lint 2 and add a precommit hook for prettier
Change-type: patch
2018-11-02 14:50:12 +00:00
Pagan Gazzard
e788c630fb Run resin-lint for both coffee and typescript
Change-type: patch
2018-11-02 14:50:11 +00:00
Resin CI
572cabc9c1 v8.2.1 2018-11-02 15:44:28 +01:00
Resin CI
7e2e5f7ae6 v8.2.0 2018-11-02 01:37:46 +01:00
Pablo Carranza Velez
8298487a88 Rename most of the documentation and variable names from resin to balena
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 17:00:13 -07:00
Resin CI
94ebc67839 v8.1.0 2018-11-02 00:35:43 +01:00
Resin CI
fa29a1b997 v8.0.0 2018-11-01 14:27:23 +01:00
Resin CI
ffd8171b48 v7.25.13 2018-10-31 23:43:57 +01:00
Resin CI
35d3f7e687 v7.25.12 2018-10-31 21:45:52 +01:00
Resin CI
be533a0ef6 v7.25.11 2018-10-31 21:10:19 +01:00
Resin CI
2487ceb25e v7.25.10 2018-10-26 02:13:33 +02:00
Resin CI
66b46cffd7 v7.25.9 2018-10-25 23:45:42 +02:00
Pablo Carranza Velez
a205c3e72b Update docker-delta to v2.2.2
This fixes occasional timeouts in rsync after applying v2 deltas, which
cause unnecessary fallbacks to a regular pull.

This change also removes the need for the mkfifo native dependency (since
docker-delta 2.2.2 stops using it).

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-10-25 12:36:20 -07:00
Resin CI
e097a31348 v7.25.8 2018-10-24 01:07:11 +02:00
Resin CI
f96c35d07b v7.25.7 2018-10-24 00:42:50 +02:00
Resin CI
4eef50444a v7.25.6 2018-10-23 20:32:21 +02:00
Resin CI
4b07d539c7 v7.25.5 2018-10-22 22:59:54 +02:00
Resin CI
beae3e03c5 v7.25.4 2018-10-22 12:29:33 +02:00
Resin CI
6cd491c0c9 v7.25.3 2018-10-20 04:52:24 +02:00
Resin CI
cb31474d7a v7.25.2 2018-10-19 18:04:15 +02:00
Resin CI
f89af2d508 v7.25.1 2018-10-19 15:38:17 +02:00
Resin CI
aee6a0db16 v7.25.0 2018-10-18 17:47:08 +02:00
Resin CI
658639ea65 v7.24.1 2018-10-18 16:48:36 +02:00
Resin CI
96c1cea4ab v7.24.0 2018-10-18 15:26:37 +02:00
Resin CI
46535028c1 v7.23.0 2018-10-18 14:58:53 +02:00
Resin CI
3b7bf9a4b7 v7.22.0 2018-10-18 02:36:17 -07:00
Resin CI
03b795b25e v7.21.5 2018-10-16 06:01:45 -07:00
Resin CI
d076d59499 v7.21.4 2018-10-16 02:46:00 -07:00
Resin CI
4e9eae1b77 v7.21.3 2018-10-15 05:22:05 -07:00
Cameron Diver
81c7a2f7a0
deltas: Bump docker-progress to pick up support for balena-engine
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-15 12:09:45 +01:00
Resin CI
0e39b0e24c v7.21.2 2018-10-15 04:06:27 -07:00
Resin CI
853727d7a1 v7.21.1 2018-10-15 03:33:57 -07:00
Resin CI
ccdf0b2075 v7.21.0 2018-10-15 02:51:37 -07:00
Cameron Diver
19cd310da3
Support setting target state in local mode from supervisor API
Change-type: minor
Closes: #689
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-10 13:02:40 +01:00
Resin CI
188e85263f v7.20.0 2018-10-08 03:56:31 -07:00
Cameron Diver
892d227cc2
compose/service: Convert module to typescript and add network config
Stability improvements;
* Printing of unsupported compose fields
* Added a lot of tests
* All compose configuration has a default value, enabling better
comparison

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-21 10:30:27 +01:00
Resin CI
276f9960fc v7.19.7 2018-09-13 07:13:56 -07:00
Resin CI
db490979e8 v7.19.6 2018-09-13 04:22:38 -07:00
Resin CI
71dd2fc72e v7.19.5 2018-09-12 04:43:16 -07:00
Resin CI
1ff94a04b5 v7.19.4 2018-09-05 12:27:24 -07:00
Resin CI
45dd8c6d69 v7.19.3 2018-09-04 16:18:49 -07:00
Cameron Diver
607c722b0b
events: Add rate limiting based on event name when reporting to mixpanel
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-04 13:17:17 -07:00
Resin CI
c7f812b993 v7.19.2 2018-09-04 11:44:27 -07:00
Cameron Diver
d3a18da573
Refactor: Convert logging module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-03 09:39:06 -07:00
Resin CI
524f2580d8 v7.19.1 2018-08-30 11:12:58 -07:00
Resin CI
6f0728ba56 v7.19.0 2018-08-29 13:58:12 -07:00
Cameron Diver
afd544f440
housekeeping: Add private:true to package.json
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 09:05:30 -07:00
resin-io-versionbot[bot]
01db7c448f v7.18.0 2018-08-24 15:35:56 +00:00
resin-io-versionbot[bot]
8003ab830b v7.17.1 2018-08-17 09:07:20 +00:00
resin-io-versionbot[bot]
aa45e9c955 v7.17.0 2018-08-16 16:09:23 +00:00
Cameron Diver
1060e70e82
dev: Add package.json tasks to aid debugging supervisor tests
Running mocha on the coffee and ts sources resulted in unreliable
sourcemaps, and breakpoints not working, among other things. To solve
this, this commit adds package.json tasks which will build both the
coffeescript and typescript files with their sourcemaps and places it
into a build directory. It also copies over other dependent files, such
as test data and migrations.

Another task adds a mocha debugging command, which can be connected to
using a node debugger.

Another tasks runs mocha without a debugging interface, but also without
running linters etc first. This enables the tests to be run much faster.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 16:38:40 +01:00
resin-io-versionbot[bot]
e55193151a v7.16.7 2018-08-16 15:02:03 +00:00
Cameron Diver
cb2349dbb6
Update docker-toolbelt to pull in typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:31 +01:00
resin-io-versionbot[bot]
9415d04bc3 v7.16.6 2018-08-13 12:00:10 +00:00
resin-io-versionbot[bot]
840ec03b3e v7.16.5 2018-08-13 09:33:26 +00:00
resin-io-versionbot[bot]
51f008a44f v7.16.4 2018-08-07 12:54:52 +00:00
resin-io-versionbot[bot]
be73be53e1 v7.16.3 2018-08-01 19:41:31 +00:00
resin-io-versionbot[bot]
8cad3a664c v7.16.2 2018-07-25 14:57:58 +00:00
resin-io-versionbot[bot]
fa79c4872f v7.16.1 2018-07-25 10:34:13 +00:00
resin-io-versionbot[bot]
0578840f09 v7.16.0 2018-07-23 18:56:09 +00:00
Petros Angelatos
bba1da370b
logger: Remove pubnub leftovers
Change-type: minor
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2018-07-18 12:31:10 -07:00
resin-io-versionbot[bot]
d9eee69fcd v7.15.0 2018-07-17 20:40:33 +00:00
resin-io-versionbot[bot]
f8ead44b2b v7.14.1 2018-07-16 15:52:46 +00:00
resin-io-versionbot[bot]
b1c3faabb0 v7.14.0 2018-07-12 13:46:47 +00:00
resin-io-versionbot[bot]
4e3070f343 v7.13.3 2018-07-12 11:53:34 +00:00
resin-io-versionbot[bot]
36f95c88bf v7.13.2 2018-07-09 10:31:19 +00:00
resin-io-versionbot[bot]
98486717aa v7.13.1 2018-06-28 14:18:21 +00:00
resin-io-versionbot[bot]
71a2c3c456 v7.13.0 2018-06-27 11:52:58 +00:00
resin-io-versionbot[bot]
9f03d2885d v7.12.0 2018-06-26 08:01:14 +00:00
Cameron Diver
6ca2701b85
Move v2 endpoints to separate module
Change-type: patch
Connects-to: #640
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:47 +01:00
resin-io-versionbot[bot]
d1b7a4c2e4 v7.11.3 2018-06-25 09:54:05 +00:00
resin-io-versionbot[bot]
90ab089ca1 v7.11.2 2018-06-18 12:46:50 +00:00
Cameron Diver
809bc87b88
Convert config module to typescript
Extract config.json handling code out to separate modules too.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:41:18 +01:00
Cameron Diver
1b0fd82f51
Convert db module to typescript
Also had to change config module to bind `.this` value, due to
differences in setup.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:39:08 +01:00
resin-io-versionbot[bot]
f5e2f56da0 v7.11.1 2018-06-14 09:08:22 +00:00
Cameron Diver
31c6db2ccd
Upgrade TypedError and move docker-utils error to error module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-13 16:55:34 +01:00
resin-io-versionbot[bot]
a170d63a6a v7.11.0 2018-06-13 10:52:23 +00:00
resin-io-versionbot[bot]
9c9e5e9e36 v7.10.2 2018-06-11 12:53:33 +00:00
resin-io-versionbot[bot]
bf58808dff v7.10.1 2018-06-11 10:06:15 +00:00
Cameron Diver
ea18462244
Move dependencies out to devDependencies 2018-06-11 10:20:17 +01:00
resin-io-versionbot[bot]
2f97955e6e v7.10.0 2018-06-06 13:57:47 +00:00
Cameron Diver
dc59c83409
Move boot config related code to config-utils module
This commit abstracts all of the boot config code out of the
device-config module, ready to extend with different config backends.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-05 17:00:45 +01:00
resin-io-versionbot[bot]
0cd0ba2b36 v7.9.1 2018-05-29 17:22:51 +00:00
resin-io-versionbot[bot]
410d1cf294 v7.9.0 2018-05-23 18:24:23 +00:00
Akis Kesoglou
8479801674 Add support for Balena deltas
Resin’s delta server supports Balena deltas as version 3 deltas. This commit adds support for triggering delta generation for Balena deltas, and applying them locally to the device via a simple pull.

The delta version to use when updating has been abstracted away as an env var that is user-defined. The default value is still instructing use of rsync deltas (v2).

Change-Type: minor
2018-05-23 20:59:56 +03:00
resin-io-versionbot[bot]
511549b259 v7.8.0 2018-05-23 12:49:44 +00:00
resin-io-versionbot[bot]
e84a5d8d30 v7.7.2 2018-05-22 10:52:19 +00:00
resin-io-versionbot[bot]
e797046f12 v7.7.1 2018-05-21 14:06:19 +00:00
resin-io-versionbot[bot]
2a05a21a5b v7.7.0 2018-05-18 17:28:38 +00:00
resin-io-versionbot[bot]
25cbe2075e v7.6.0 2018-05-16 15:19:34 +00:00
resin-io-versionbot[bot]
8ca6b239bb v7.5.6 2018-05-14 09:47:25 +00:00
resin-io-versionbot[bot]
7e9cc78ce5 v7.5.5 2018-05-11 15:44:38 +00:00
resin-io-versionbot[bot]
3b2c466327 v7.5.4 2018-05-11 12:47:17 +00:00
resin-io-versionbot[bot]
79c38538a9 v7.5.3 2018-05-02 12:03:57 +00:00
Cameron Diver
022eeaa2b3
Add typescript linting to supervisor tests
This also required updating node-resin-lint to v1.5.7

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
resin-io-versionbot[bot]
8a390e159a v7.5.2 2018-05-01 15:44:42 +00:00
Pablo Carranza Velez
652b596c80 Add some more unit tests to the multicontainer supervisor
We add a bunch of additional unit tests, and also a coverage report using istanbul.

The tests are not meant to cover everything, but they're a first attempt at having *some* unit testing
on the supervisor. There's much to improve but hopefully it helps catch obvious errors.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-30 19:39:01 -07:00
resin-io-versionbot[bot]
a70cf858b2 v7.5.1 2018-04-29 10:01:27 +00:00
resin-io-versionbot[bot]
26b7c054cc v7.5.0 2018-04-27 16:16:07 +00:00
Cameron Diver
cfddbf65e4
Start initial typescript conversion, and add validation debugging
Add webpack config and dependencies to have typescript built, and also
convert src/lib/validation.coffee to typescript.

In this conversion I also added a lot of debugging which should help the
upcoming local mode development.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-27 16:09:50 +01:00
resin-io-versionbot[bot]
12998203f5 v7.4.4 2018-04-23 16:59:51 +00:00
resin-io-versionbot[bot]
4216785253 v7.4.3 2018-04-19 22:15:10 +00:00
resin-io-versionbot[bot]
074eabe72d v7.4.2 2018-04-18 16:08:16 +00:00
resin-io-versionbot[bot]
74ff9cf269 v7.4.1 2018-04-11 23:02:42 +00:00
Pablo Carranza Velez
1ce9560427 Add additional tests to compose Service, and add linting to tests
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-11 15:15:30 -07:00
resin-io-versionbot[bot]
4685612a3b v7.4.0 2018-04-11 16:13:53 +00:00
resin-io-versionbot[bot]
608205c612 v7.3.0 2018-04-10 09:31:11 +00:00
Heds Simons
4eb796b9f4 Move to Node 6.13.1.
Connects-to: #623
Change-type: minor
2018-04-09 11:54:55 +01:00
resin-io-versionbot[bot]
0f6f8e5fad v7.2.0 2018-04-04 14:07:30 +00:00
Cameron Diver
f625a1bcb0
Run test suite on CI
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-04 14:47:04 +01:00
Lucian Buzzo
9bca2557ea Add mocha to enable unit testing
Implements a simple test for `parseMemoryNumber`

change-type: minor
2018-04-04 13:22:17 +01:00
resin-io-versionbot[bot]
7f4e40b280 v7.1.24 2018-03-29 12:28:53 +00:00
resin-io-versionbot[bot]
b94a19f791 v7.1.23 2018-03-29 11:40:46 +00:00
resin-io-versionbot[bot]
d6d81b7cec v7.1.22 2018-03-29 09:36:03 +00:00
resin-io-versionbot[bot]
fd4ae18468 v7.1.21 2018-03-27 09:30:24 +00:00
resin-io-versionbot[bot]
d1519099f6 v7.1.20 2018-03-22 16:20:29 +00:00
Pablo Carranza Velez
348ff66cee
Replace the gosuper component with a node module that handles communication with systemd, and stop using an init system in the supervisor container
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-22 15:55:15 +00:00
resin-io-versionbot[bot]
822ea1e185 v7.1.19 2018-03-22 14:36:50 +00:00
resin-io-versionbot[bot]
c89174418e v7.1.18 2018-03-19 20:54:55 +00:00
resin-io-versionbot[bot]
11aa504add v7.1.17 2018-03-19 19:55:32 +00:00
resin-io-versionbot[bot]
a5421bd6b4 v7.1.16 2018-03-16 19:02:56 +00:00
resin-io-versionbot[bot]
84e5dbc27d v7.1.15 2018-03-15 17:37:40 +00:00
resin-io-versionbot[bot]
dd15ab5fcc v7.1.14 2018-03-15 02:05:48 +00:00
resin-io-versionbot[bot]
2daadd9544 v7.1.13 2018-03-15 01:24:04 +00:00
resin-io-versionbot[bot]
a6f1d939a8 v7.1.12 2018-03-15 00:25:40 +00:00
resin-io-versionbot[bot]
32880653c1 v7.1.11 2018-03-14 11:54:22 +00:00
resin-io-versionbot[bot]
c01accd208 v7.1.10 2018-03-14 07:28:29 +00:00
resin-io-versionbot[bot]
310cff05a5 v7.1.9 2018-03-13 21:20:41 +00:00