Commit Graph

1918 Commits

Author SHA1 Message Date
Resin CI
03b795b25e v7.21.5 2018-10-16 06:01:45 -07:00
Page-
ecc2a8f13e
Merge pull request #761 from resin-io/disable-x-powered-by
Disable express' x-powered-by header
2018-10-16 13:59:37 +01:00
Pagan Gazzard
660d9ff6f3 Disable express' x-powered-by header
Change-type: patch
Signed-off-by: Pagan Gazzard <page@resin.io>
2018-10-16 13:26:21 +02:00
Resin CI
d076d59499 v7.21.4 2018-10-16 02:46:00 -07:00
CameronDiver
cdd0ea9fc3
Merge pull request #759 from resin-io/fix-healthcheck
fix: overlay compose fields on image for healthcheck
2018-10-16 10:44:11 +01:00
Cameron Diver
b1434e44ae
fix: overlay compose fields on image for healthcheck
This commit changes a bug where the compose healthcheck would always
overwrite the healthcheck set by the image - even if no compose
healthcheck exists.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-16 10:34:37 +01:00
CameronDiver
11e97702cf
Merge pull request #758 from resin-io/fix-storage-opt
fix: Remove support for broken storageOpt option
2018-10-16 10:20:27 +01:00
Cameron Diver
16e7522a1f
fix: Remove support for broken storageOpt option
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-16 08:22:19 +01:00
Resin CI
4e9eae1b77 v7.21.3 2018-10-15 05:22:05 -07:00
CameronDiver
7986403731
Merge pull request #757 from resin-io/bump-docker-progress
deltas: Bump docker-progress to pick up support for balena-engine
2018-10-15 13:20:03 +01: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
CameronDiver
547174d6ef
Merge pull request #752 from resin-io/zlk_remove_blacklist
backend: Remove a few blacklisted config.txt options
2018-10-15 12:04:04 +01:00
Zubair Lutfullah Kakakhel
73b9895bdf
backend: Remove a few blacklisted config.txt options
These options were discussed in an arch call and the conclusion was
that they don't need to be in the blacklist.

Change-type: patch
Changelog-entry: Remove a few blacklisted config.txt options
Signed-off-by: Zubair Lutfullah Kakakhel <zubair@resin.io>
2018-10-15 11:41:22 +01:00
Resin CI
853727d7a1 v7.21.1 2018-10-15 03:33:57 -07:00
CameronDiver
fc0a26dced
Merge pull request #754 from resin-io/753-legacy-image
fix: Don't assume config is defined for legacy images in logger
2018-10-15 11:31:49 +01:00
Cameron Diver
a143a07aaa
fix: Return void from config setter
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-15 11:12:47 +01:00
Cameron Diver
d7edd3eb63
fix: Don't assume config is defined for legacy images in logger
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-15 10:53:11 +01:00
Resin CI
ccdf0b2075 v7.21.0 2018-10-15 02:51:37 -07:00
CameronDiver
6a89581b2b
Merge pull request #750 from resin-io/689-mc-local-mode
Add support for multicontainer local mode
2018-10-15 10:49:52 +01:00
Cameron Diver
ed73946af5
device-api: Add supervisor version endpoint
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-13 20:24:25 +01:00
Cameron Diver
479e0a8bb8
state: Don't consider local mode when storing state
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-13 20:20:05 +01:00
Cameron Diver
5906e1427c
local mode: Add local mode manager module to handle cleanup
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-13 20:20:05 +01:00
Cameron Diver
3e665c0f4a
logger: Enforce timestamp value to avoid logging server 400 errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-13 20:20:04 +01:00
Cameron Diver
6156825293
Add logging endpoint to supervisor
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-13 20:19:38 +01:00
Cameron Diver
6e2801380b
Support local logging via standard logging interface
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-10 13:02:40 +01: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
Cameron Diver
e0237e826e
Add several local mode enabling endpoints
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-10 13:02:08 +01:00
Cameron Diver
524d185c4c
Correctly type service-manager logger and event tracker fields
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-10 13:02:08 +01:00
Cameron Diver
5c0c880a10
Don't set empty target state in local mode
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-10 13:02:06 +01:00
Resin CI
188e85263f v7.20.0 2018-10-08 03:56:31 -07:00
CameronDiver
5a8191cf79
Merge pull request #710 from resin-io/709-network-improvements
Refactor and improve compose networks support
2018-10-08 11:54:38 +01:00
Cameron Diver
5537ae4e2e
fix: Correctly handle array based network definitions for service
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-08 11:29:32 +01:00
Cameron Diver
367dd876aa
fix: Only join the default network when creating the container
We were joining every network on container creation, which is currently
bugged in Docker. We were also joining networks afterwards, so the
non-default networks are joined post-creation, and only the networkMode
container is joined on creation.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-10-08 11:29:23 +01:00
Cameron Diver
06bbf9751a
compose: Support changing the tty option for compose services
This enables the switch to be added to the compose, and the handling of
docker messages has been changed to ensure that the multiplexed logs
which result are handled properly.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-24 12:04:51 +01:00
Cameron Diver
e8a5edf774
types: Remove temporary Service type in favour of actual compose class
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-24 12:04:51 +01: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
Cameron Diver
e0231f15e9
Compose: Support more network creation options
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-21 10:30:27 +01:00
Cameron Diver
a7551abe93
Refactor: Split Networks class to Network and NetworkManager
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-19 15:41:09 +01:00
Resin CI
276f9960fc v7.19.7 2018-09-13 07:13:56 -07:00
CameronDiver
39651b94f6
Merge pull request #746 from resin-io/fix-apply-reporting
logger: Fix reporting the configuration change variables
2018-09-13 15:12:43 +01:00
Cameron Diver
c5540404af
logger: Fix reporting the configuration change variables
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-13 14:44:20 +01:00
Resin CI
db490979e8 v7.19.6 2018-09-13 04:22:38 -07:00
CameronDiver
a916f69c58
Merge pull request #745 from resin-io/improve-error-typings
lib/errors: Improve typings by extending Error class for predicates
2018-09-13 12:21:21 +01:00
Cameron Diver
d37eb8e8a9
lib/errors: Improve typings by extending Error class for predicates
When using the predicate functions in bluebird `.catch`es from
typescript, the compiler would complain that the predicates do not
accept a function which takes an error. Because these are specific
errors, I've extended the base `Error` class, and added the extra fields
we expect.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-13 12:01:10 +01:00
Resin CI
71dd2fc72e v7.19.5 2018-09-12 04:43:16 -07:00
CameronDiver
5e396e26b9
Merge pull request #744 from resin-io/throttle-not-debounce
fix: Use throttle not debounce when ensuring we don't spam mixpanel
2018-09-12 12:41:49 +01:00
Cameron Diver
68a6b1aef1
fix: Use throttle not debounce when ensuring we don't spam mixpanel
Debounce will mean that in certain cases, the events will never be sent,
whereas with throttle we can be sure that it will be sent a minimum
amount per time slice.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-09-12 12:30:31 +01:00
Resin CI
1ff94a04b5 v7.19.4 2018-09-05 12:27:24 -07:00
CameronDiver
4df981697e
Merge pull request #742 from resin-io/740-spurious-state-reporting
fix: Don't send internal state tracking information to the API
2018-09-05 12:25:58 -07:00