Commit Graph

246 Commits

Author SHA1 Message Date
dependabot[bot]
d0f35359b3 Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-29 17:03:13 +00:00
Balena CI
0e229eb13b v10.5.2 2019-10-29 17:14:22 +02:00
dependabot[bot]
d767bada4e Bump handlebars from 4.0.12 to 4.5.1
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.5.1.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.5.1/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.5.1)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-29 11:28:57 +00:00
Balena CI
35e3cd8f39 v10.5.1 2019-10-29 13:13:18 +02:00
Balena CI
424e1f69ca v10.5.0 2019-10-07 18:20:35 +03:00
Balena CI
47d39b70d8 v10.4.1 2019-10-02 21:33:17 +03:00
Balena CI
5b48f791d9 v10.4.0 2019-10-01 19:45:32 +03:00
Cameron Diver
14e442f943 Add support for container contracts
These contracts can specify an OS version and supervisor version that
they require. If any of the containers in a release have requirements
that are not met, the release is rejected, and the previous release
continues to run.

Change-type: minor
Closes: #1086
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-01 16:17:44 +01:00
Cameron Diver
9843f62e24 Upgrade io-ts and fp-ts to 2.0.0
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-01 16:17:44 +01:00
Cameron Diver
5ce8ba8acf Add contract resolution code, which checks release requirements
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-01 16:17:43 +01:00
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
Cameron Diver
3304825216 Add a supervisor endpoint to cleanup orphaned volumes
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:44 +01: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
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
Pagan Gazzard
f5aedffa05 Update the resinos version for the dind supervisor
Change-type: patch
2019-06-21 13:32:53 +01: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
56bac3a7ea Upgrade to node 10 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
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
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
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
ea67e1d819
misc: Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:38:15 +00:00
Cameron Diver
07bc25400f
misc: Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-08 12:03:07 +00:00
Cameron Diver
95031e6e8a
misc: Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-21 17:18:49 +00: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
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
Pagan Gazzard
019190646e Update pinejs-client to pinejs-client-request 5.x
Change-type: patch
2018-12-19 17:54:53 +00:00
Pagan Gazzard
655c476ccd Update to webpack 4
Change-type: minor
2018-12-19 17:12:55 +00: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
Cameron Diver
0b14af69dd
misc: Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-19 14:08:03 +00: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
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
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
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
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
Cameron Diver
27706f2aee
Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 15:15:07 +00: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
Cameron Diver
920c3818bd
Add package.lock file
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-21 13:09:14 +00:00