Commit Graph

2192 Commits

Author SHA1 Message Date
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
Heds Simons
d2442d107a Add ability to use self-signed CAs passed via config.json.
Connects-to: #601
Change-type: minor
2018-04-10 10:53:48 +01:00
resin-io-versionbot[bot]
e61e13b36d
Auto-merge for PR #624 via VersionBot
Move to Node 6.13.1.
2018-04-10 09:50:52 +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]
b91d6500b1
Auto-merge for PR #616 via VersionBot
Fix regex for parsing memory numbers
2018-04-04 14:58:12 +00: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
Cameron Diver
1c27ebc354
Fix parsing of non-unit memory numbers and add tests
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-04 14:03:24 +01:00
Lucian Buzzo
a6dbfb57a1
Merge pull request #617 from resin-io/tests
Add mocha to enable unit testing
2018-04-04 13:42:21 +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
Cameron Diver
7d233ea111
Fix regex for parsing memory numbers
It now allows a trailing `b`, as the docker-compose docs specify.

In addition the regex now specifies a case-insensitive flag, to catch
both upper and lower case memory numbers (the rest of the function
supported these already).

Change-type: patch
Closes: #603
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-04-04 11:25:37 +01:00
resin-io-versionbot[bot]
026501a553
Auto-merge for PR #608 via VersionBot
Respond to reboot and shutdown endpoints with a success object
2018-03-29 12:43:14 +00:00
resin-io-versionbot[bot]
7f4e40b280 v7.1.24 2018-03-29 12:28:53 +00:00
Cameron Diver
393671505c
Respond to reboot and shutdown endpoints with a success object
Change-type: patch
Closes: #607
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-29 13:11:02 +01:00
resin-io-versionbot[bot]
b4fc2edfe2
Auto-merge for PR #606 via VersionBot
Avoid weird cwd errors when dist does not exist with sync
2018-03-29 11:59:22 +00:00
resin-io-versionbot[bot]
b94a19f791 v7.1.23 2018-03-29 11:40:46 +00:00
Cameron Diver
ea6b5ca59f
Avoid weird cwd errors when dist does not exist with sync
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-29 11:52:15 +01:00
resin-io-versionbot[bot]
eeec258d8b
Auto-merge for PR #596 via VersionBot
Back off fetching the target state exponentially, for faster retries …
2018-03-29 09:49:59 +00:00
resin-io-versionbot[bot]
d6d81b7cec v7.1.22 2018-03-29 09:36:03 +00:00
Pablo Carranza Velez
72a5f03b0c
Back off fetching the target state exponentially, for faster retries when there's no connectivity
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-29 10:20:52 +01:00
resin-io-versionbot[bot]
caca29f3a0
Auto-merge for PR #605 via VersionBot
Handle incorrectly parsed env vars from docker inspect
2018-03-27 09:41:59 +00:00
resin-io-versionbot[bot]
fd4ae18468 v7.1.21 2018-03-27 09:30:24 +00:00
Cameron Diver
e458c4103c
Handle incorrectly parsed env vars from docker inspect
Change-type: patch
Closes: #604
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-03-26 16:56:06 +01:00
resin-io-versionbot[bot]
ebbe90fd73
Auto-merge for PR #592 via VersionBot
Remove the last few parts of Go
2018-03-22 16:35:01 +00:00
resin-io-versionbot[bot]
d1519099f6 v7.1.20 2018-03-22 16:20:29 +00:00
Pablo Carranza Velez
ec1b36ab67
Remove the (now unused) gosuper folder
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-22 15:55:18 +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]
11e8899455
Auto-merge for PR #599 via VersionBot
Remove any leftover knex migrations locks before running migrations
2018-03-22 14:56:46 +00:00