CameronDiver
1336e3f91f
Merge pull request #737 from resin-io/736-device-name-at-init-restart-all
...
fix: Dont bind service class methods in declaration
2018-08-30 11:11:20 -07:00
Cameron Diver
16e102b3ba
fix: Dont bind service class methods in declaration
...
This was causing a bug where the applications were cloned when
restarting all of them. These clones did not carry over the binds, so
when starting the containers back up, two different versions of `this`
were being used.
Change-type: patch
Closes : #736
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 15:32:03 -07:00
Resin CI
6f0728ba56
v7.19.0
2018-08-29 13:58:12 -07:00
CameronDiver
69a5f623ee
Merge pull request #735 from resin-io/734-more-array-fields
...
feature(host_config): Support gpio config as an array
2018-08-29 12:44:39 -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
Cameron Diver
0a93b9c18a
feature(host_config): Support gpio field as an array
...
Change-type: minor
Closes : #734
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-29 08:58:05 -07:00
resin-io-versionbot[bot]
d1be931029
Auto-merge for PR #713 via VersionBot
...
network: Add MDNS support for `.local` domains
2018-08-24 15:50:54 +00:00
resin-io-versionbot[bot]
01db7c448f
v7.18.0
2018-08-24 15:35:56 +00:00
Heds Simons
f716624f89
network: Add MDNS support for .local
domains
...
This requires the initialisation of both DBus and
Avahi in the `entry.sh` script to allow resolution
via libc.
Due to issues with Avahi's `init.d` script, the previous
PIDfile is explicitly removed.
Connects-to: #712
Change-type: minor
Signed-off-by: Heds Simons <heds@resin.io>
2018-08-23 18:41:55 +01:00
resin-io-versionbot[bot]
688b5c2a35
Auto-merge for PR #729 via VersionBot
...
ux: Warn on invalid device name when trying to start a service
2018-08-17 09:20:54 +00:00
resin-io-versionbot[bot]
8003ab830b
v7.17.1
2018-08-17 09:07:20 +00:00
Cameron Diver
ae446c01b2
ux: Warn on invalid device name when trying to start a service
...
Device names with newlines cause reboot loops, due to newlines not being
supported by docker. This PR will warn when a device name contains a
newline.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 21:52:49 +01:00
resin-io-versionbot[bot]
88b0e2fc45
Auto-merge for PR #726 via VersionBot
...
dev: Add package.json tasks to aid debugging supervisor tests
2018-08-16 16:25:33 +00:00
resin-io-versionbot[bot]
aa45e9c955
v7.17.0
2018-08-16 16:09:23 +00:00
Cameron Diver
f7240ccce1
fix: Fix importing of service type location
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 16:38:43 +01: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]
a4959f2ac3
Auto-merge for PR #727 via VersionBot
...
Add more typescript support
2018-08-16 15:37:36 +00: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
Cameron Diver
3a4f1594e0
Refactor: Add docker-utils typings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:31 +01:00
Cameron Diver
b504306f28
Refactor: Convert log-types module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 15:35:30 +01:00
resin-io-versionbot[bot]
003cb8af2c
Auto-merge for PR #722 via VersionBot
...
Docs: Add documentation for the v2/applications/state endpoint
2018-08-13 12:17:10 +00:00
resin-io-versionbot[bot]
9415d04bc3
v7.16.6
2018-08-13 12:00:10 +00:00
Cameron Diver
409a582507
Docs: Add documentation for the v2/applications/state endpoint
...
Change-type: patch
Closes : #719
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-13 10:51:32 +01:00
resin-io-versionbot[bot]
233f4af1df
Auto-merge for PR #724 via VersionBot
...
fix: Apply device name before generating container config
2018-08-13 09:49:50 +00:00
resin-io-versionbot[bot]
840ec03b3e
v7.16.5
2018-08-13 09:33:26 +00:00
Cameron Diver
b7d991b98e
fix: Apply device name before generating container config
...
Currently the service has the device name applied after the docker
config is generated. This means that is has no effect until the next
restart.
This commit ensures that the device name is applied before the docker
config is generated, meaning that the env var gets applied to the
upcoming container.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-13 10:02:53 +01:00
resin-io-versionbot[bot]
b8c178d113
Auto-merge for PR #721 via VersionBot
...
Fix: Restart a service when it's memory limit changes
2018-08-07 13:30:19 +00:00
resin-io-versionbot[bot]
51f008a44f
v7.16.4
2018-08-07 12:54:52 +00:00
Cameron Diver
430e45d6fb
Fix: Restart a service when it's memory limit changes
...
Change-type: patch
Closes : #720
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-07 13:15:37 +01:00
resin-io-versionbot[bot]
50e9df08fc
Auto-merge for PR #715 via VersionBot
...
Add a backoff mechanism for state reporting errors.
2018-08-01 19:58:34 +00:00
resin-io-versionbot[bot]
be73be53e1
v7.16.3
2018-08-01 19:41:31 +00:00
Pagan Gazzard
c6b77954a7
Add a backoff mechanism for state reporting errors
...
Change-type: patch
Signed-off-by: Pagan Gazzard <page@resin.io>
2018-08-01 11:56:55 -07:00
resin-io-versionbot[bot]
59d54b92e1
Auto-merge for PR #711 via VersionBot
...
Fix: Fix scoping issue with variables in service-manager
2018-07-25 15:12:24 +00:00
resin-io-versionbot[bot]
8cad3a664c
v7.16.2
2018-07-25 14:57:58 +00:00
Cameron Diver
7ea48683be
Fix: Fix scoping issue with variables in service-manager
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-25 15:45:18 +01:00
resin-io-versionbot[bot]
e85cc6e04f
Auto-merge for PR #704 via VersionBot
...
Dont restart service on device name change
2018-07-25 10:47:07 +00:00
resin-io-versionbot[bot]
fa79c4872f
v7.16.1
2018-07-25 10:34:13 +00:00
Cameron Diver
f7958e6c6b
Dont restart service on device name change
...
Change-type: patch
Closes : #659
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-25 10:45:05 +01:00
resin-io-versionbot[bot]
065f79390f
Auto-merge for PR #701 via VersionBot
...
Implement new log backend
2018-07-23 19:11:16 +00:00
resin-io-versionbot[bot]
0578840f09
v7.16.0
2018-07-23 18:56:09 +00:00
Petros Angelatos
202362241c
logger: Add unit tests
...
Change-type: minor
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2018-07-18 12:31:14 -07: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
Petros Angelatos
6766c23bd9
logger: Only send logs produced after attaching
...
The previous approach had the bad side effect of resending tons of logs
in the case of a supervisor restart.
The approach can be improved by storing the last timestamp per container
and re-attaching at the correct point.
Change-type: minor
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2018-07-18 12:31:06 -07:00
Petros Angelatos
0d812c272c
logger: Use the new logging backend
...
Change-type: minor
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2018-07-18 12:30:59 -07:00
resin-io-versionbot[bot]
9dcf3ed697
Auto-merge for PR #700 via VersionBot
...
Allow persistent logging to be enabled/disabled via env var
2018-07-17 20:54:37 +00:00
resin-io-versionbot[bot]
d9eee69fcd
v7.15.0
2018-07-17 20:40:33 +00:00
Cameron Diver
1604fdf276
Allow the enabling and disabling of persistent logging via env var
...
Closes : #698
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-17 19:43:54 +01:00
Cameron Diver
0e29e5f6f7
Refactor config code to be consistent in location
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-16 17:48:03 +01:00
resin-io-versionbot[bot]
f9a9adf20f
Auto-merge for PR #699 via VersionBot
...
Re-enable majority of tests
2018-07-16 16:08:10 +00:00