Commit Graph

1720 Commits

Author SHA1 Message Date
resin-io-versionbot[bot]
37267f62c8
Auto-merge for PR #663 via VersionBot
Add support for changing config.txt on balena fin devices
2018-05-18 18:17:37 +00:00
resin-io-versionbot[bot]
2a05a21a5b v7.7.0 2018-05-18 17:28:38 +00:00
Pablo Carranza Velez
3a815aa972 Add support for changing config.txt on balena fin devices
Change-Type: minor
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-05-18 10:19:28 -07:00
resin-io-versionbot[bot]
ddfa7f3e63
Auto-merge for PR #657 via VersionBot
Change intialConfigReported value to be an api endpoint
2018-05-16 15:34:35 +00:00
resin-io-versionbot[bot]
25cbe2075e v7.6.0 2018-05-16 15:19:34 +00:00
Cameron Diver
73b19a320f
Change intialConfigReported value to be an api endpoint
This api endpoint is the endpoint which the intial config was reported.
Also changed the code to detect if the api endpoint has changed, and
therefore whether we need to re-report the initial config, to avoid
losing hardware specific information.

Change-type: minor
Closes: #649
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-16 14:18:03 +01:00
resin-io-versionbot[bot]
3c1e0d8c8d
Auto-merge for PR #653 via VersionBot
Update gitignore to ignore new test files
2018-05-14 10:03:33 +00:00
resin-io-versionbot[bot]
8ca6b239bb v7.5.6 2018-05-14 09:47:25 +00:00
Cameron Diver
627e40bc32
Update gitignore to ignore new test files
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-14 10:16:09 +01:00
resin-io-versionbot[bot]
57e898d621
Auto-merge for PR #654 via VersionBot
Update docs with multicontainer API breakages
2018-05-11 15:58:08 +00:00
resin-io-versionbot[bot]
7e9cc78ce5 v7.5.5 2018-05-11 15:44:38 +00:00
Tim Perry
2586ab3677 Update docs with multicontainer API breakages
Change-Type: patch
2018-05-11 17:36:12 +02:00
resin-io-versionbot[bot]
066812de55
Auto-merge for PR #612 via VersionBot
Remove support for broken RESIN_HOST_LOG_TO_DISPLAY variable
2018-05-11 13:01:31 +00:00
resin-io-versionbot[bot]
3b2c466327 v7.5.4 2018-05-11 12:47:17 +00:00
Cameron Diver
96d7bbefd0
Fix handling of systemd errors when polling for log to display
Change-type: patch
Closes: #610
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-08 15:12:13 +01:00
resin-io-versionbot[bot]
6229e3ee61
Auto-merge for PR #638 via VersionBot
More typescript conversions
2018-05-02 12:18:19 +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
Cameron Diver
9150c3fdbc
Convert conversions module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
Cameron Diver
367e90d6e4
Move shared types to separate module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
Cameron Diver
273224547c
Convert blink module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
Cameron Diver
c1fbc2dc21
Convert lib/constants module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
Cameron Diver
67b9ec6ca7
Type parameters for validation functions better
They can now be string | null | undefined.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-05-02 09:36:21 +01:00
resin-io-versionbot[bot]
06a5e0986c
Auto-merge for PR #519 via VersionBot
Add some unit tests to the multicontainer supervisor
2018-05-01 16:00:06 +00: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]
4e5f8cabb8
Auto-merge for PR #637 via VersionBot
Remove trailing slashes from working directories of services
2018-04-29 10:33:51 +00:00
resin-io-versionbot[bot]
a70cf858b2 v7.5.1 2018-04-29 10:01:27 +00:00
Cameron Diver
ddbf3418de
Remove trailing slashes from working directories of services
This is to combat when a working directory is in the compose file for a
service with a trailing slash. Docker will strip this slash and that
means service comparisons will fail going forward - even if they are the
same.

Change-type: patch
Closes: #635
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-27 18:03:36 +01:00
resin-io-versionbot[bot]
45cb5b6c07
Auto-merge for PR #636 via VersionBot
Start initial typescript conversion, and add validation debugging
2018-04-27 16:42:54 +00:00
resin-io-versionbot[bot]
26b7c054cc v7.5.0 2018-04-27 16:16:07 +00:00
Cameron Diver
5b8f1ce334
Add tests for validation code
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-27 16:09:50 +01: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]
78107b1199
Auto-merge for PR #630 via VersionBot
Use resinos-in-container for the development dind supervisor
2018-04-23 17:16:11 +00:00
resin-io-versionbot[bot]
12998203f5 v7.4.4 2018-04-23 16:59:51 +00:00
Pablo Carranza Velez
8527f19b70 README: update with the new resinos-in-container for dind, plus remove the Go parts, and add the new npm tests
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-20 15:25:36 -07:00
Pablo Carranza Velez
2f66e71d92 Use resinos-in-container for the development dind supervisor
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-20 15:21:13 -07:00
resin-io-versionbot[bot]
5be3736266
Auto-merge for PR #625 via VersionBot
Do not try attach to containers that aren't running, and clean up dead containers
2018-04-19 22:31:13 +00:00
resin-io-versionbot[bot]
4216785253 v7.4.3 2018-04-19 22:15:10 +00:00
Pablo Carranza Velez
6c4eaff02f On startup, only attach to logs for running containers, and remove any containers marked as dead
Closes #611
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-19 15:04:04 -07:00
Pablo Carranza Velez
2c92a4de02 dind: report a newer resinOS version to allow testing newer features
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-19 15:04:04 -07:00
resin-io-versionbot[bot]
0e6252d60b
Auto-merge for PR #628 via VersionBot
Properly propagate delta failure
2018-04-18 18:40:19 +00:00
resin-io-versionbot[bot]
074eabe72d v7.4.2 2018-04-18 16:08:16 +00:00
Akis Kesoglou
1cde9dd16d Properly propagate delta failure
Change-Type: patch
Closes: #627
2018-04-18 18:34:42 +03:00
resin-io-versionbot[bot]
159aec0360
Auto-merge for PR #622 via VersionBot
Allow services (and their images) to expose udp ports besides tcp
2018-04-11 23:19:10 +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
Pablo Carranza Velez
015d33f8f5 Allow services (and their images) to expose udp ports besides tcp
Closes #621
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-11 15:13:48 -07:00
resin-io-versionbot[bot]
2fdf385c09
Auto-merge for PR #602 via VersionBot
Add ability to use self-signed CAs passed via `config.json`.
2018-04-11 16:38:12 +00:00
resin-io-versionbot[bot]
4685612a3b v7.4.0 2018-04-11 16:13:53 +00:00