resin-io-versionbot[bot]
0ec7b829b9
Auto-merge for PR #691 via VersionBot
...
Correctly apply current commit value to applications
2018-07-12 12:06:37 +00:00
resin-io-versionbot[bot]
4e3070f343
v7.13.3
2018-07-12 11:53:34 +00:00
Cameron Diver
9259f231f8
Correctly apply current commit value to applications
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-12 12:42:22 +01:00
resin-io-versionbot[bot]
f9646e0a3a
Auto-merge for PR #688 via VersionBot
...
Fix typo in config method call
2018-07-09 10:44:46 +00:00
resin-io-versionbot[bot]
36f95c88bf
v7.13.2
2018-07-09 10:31:19 +00:00
Cameron Diver
8abfd05718
Fix typo in config method call
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-07-09 11:09:42 +01:00
resin-io-versionbot[bot]
40965b9ad2
Auto-merge for PR #687 via VersionBot
...
Bind db handle to fn variable
2018-06-28 14:57:20 +00:00
resin-io-versionbot[bot]
98486717aa
v7.13.1
2018-06-28 14:18:21 +00:00
Cameron Diver
080fdd3774
Bind db handle to fn variable
...
During the conversion to typescript, the behaviour of the database
handle changed slightly, meaning storing a reference to the models
function also requires a bind to be applied too.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-28 14:25:06 +01:00
resin-io-versionbot[bot]
857165f625
Auto-merge for PR #684 via VersionBot
...
Change config function providers to be mutable
2018-06-27 12:16:06 +00:00
resin-io-versionbot[bot]
71a2c3c456
v7.13.0
2018-06-27 11:52:58 +00:00
Cameron Diver
39d8ac0133
Change config function providers to be mutable
...
Also change logsChannelSecret value to be queried with the api backend,
so that logs are not shared between instances. This has been implemented
as the first config function provider with mutability.
Change-type: minor
Closes : #675
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-26 14:02:25 +01:00
resin-io-versionbot[bot]
f8e5cd8949
Auto-merge for PR #652 via VersionBot
...
V2 device state api and fixes
2018-06-26 08:15:21 +00:00
resin-io-versionbot[bot]
9f03d2885d
v7.12.0
2018-06-26 08:01:14 +00:00
Cameron Diver
380d40f9f8
Fix /v1/device endpoint returning null for commit after an update
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:48 +01:00
Cameron Diver
cf85ae524b
Add applications state v2 endpoint
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:48 +01:00
Cameron Diver
049398eec0
Move compose types to ./types and add partial definitions for compose modules
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:47 +01:00
Cameron Diver
6ca2701b85
Move v2 endpoints to separate module
...
Change-type: patch
Connects-to: #640
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:47 +01:00
Cameron Diver
981c7323ed
Refactor v1 api into seperate modules
...
Change-type: patch
Connects-to: #640
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 17:32:47 +01:00
resin-io-versionbot[bot]
e29f4abb9b
Auto-merge for PR #655 via VersionBot
...
Store port ranges as actual ranges, to reduce ambient memory usage
2018-06-25 10:08:12 +00:00
resin-io-versionbot[bot]
d1b7a4c2e4
v7.11.3
2018-06-25 09:54:05 +00:00
Cameron Diver
bb8be44429
Reuse PortRange object in PortMap class, and other cleanup
...
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 09:46:07 +01:00
Cameron Diver
4027d286d1
Add tests for new port module
...
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 09:46:07 +01:00
Cameron Diver
5b8068794e
Add fromDockerOpts and normalization to PortMap class, and use in fromContainer
...
This function takes the docker output representing ports, and generates
the port map values from them. This means that services can accurately
be compared and next steps can be inferred.
The normalization function ensures that regardless of source, PortMaps
that represent the same port setup will be represented correctly
internally.
Change-type: patch
Closes : #644
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-25 09:46:07 +01:00
Cameron Diver
7b77e45f69
Store port ranges as ranges, to reduce memory usage
...
Before this change, port ranges were iterated and stored as an object
per port mapping. Now the port ranges are stored as ranges until they
need to be converted to objects. The need to convert to objects still
exists as this is the format which the docker remote API expects, but
hopefully this should alleviate bugs like #644 by making the memory more
shorter-lived.
Also added more tests.
Change-type: patch
Closes : #644
Signed-of-by: Cameron Diver <cameron@resin.io>
2018-06-25 09:46:01 +01:00
resin-io-versionbot[bot]
8d235926df
Auto-merge for PR #682 via VersionBot
...
A lot more typescript conversions
2018-06-18 13:03:10 +00:00
resin-io-versionbot[bot]
90ab089ca1
v7.11.2
2018-06-18 12:46:50 +00:00
Cameron Diver
809bc87b88
Convert config module to typescript
...
Extract config.json handling code out to separate modules too.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:41:18 +01:00
Cameron Diver
d656fbb1f5
Convert fs-utils module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:39:08 +01:00
Cameron Diver
c9904d8b5d
Convert os-release module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:39:08 +01:00
Cameron Diver
c5acb2f66d
Convert supervisor_version module to typescript, and add typings for json
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:39:08 +01:00
Cameron Diver
1b0fd82f51
Convert db module to typescript
...
Also had to change config module to bind `.this` value, due to
differences in setup.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-18 13:39:08 +01:00
resin-io-versionbot[bot]
4efc1de789
Auto-merge for PR #680 via VersionBot
...
Change UX for a delta pull which fails becase delta is still processing
2018-06-14 09:22:59 +00:00
resin-io-versionbot[bot]
f5e2f56da0
v7.11.1
2018-06-14 09:08:22 +00:00
Cameron Diver
3c9e3bba42
Show better UX when a delta download fails because the image is processing
...
Change-type: patch
Closes : #679
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-14 09:51:42 +01:00
Cameron Diver
31c6db2ccd
Upgrade TypedError and move docker-utils error to error module
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-13 16:55:34 +01:00
resin-io-versionbot[bot]
b9a16c067b
Auto-merge for PR #669 via VersionBot
...
Pin a device to a commit when preload has a pinDevice field
2018-06-13 11:05:32 +00:00
resin-io-versionbot[bot]
a170d63a6a
v7.11.0
2018-06-13 10:52:23 +00:00
Cameron Diver
089f31cb5d
Pin a device to a commit when preload has a pinDevice field
...
Change-type: minor
Closes : #668
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 20:27:16 +01:00
resin-io-versionbot[bot]
2a6d5557e4
Auto-merge for PR #677 via VersionBot
...
Fix typo in EEXIST error predicate
2018-06-11 13:08:31 +00:00
resin-io-versionbot[bot]
9c9e5e9e36
v7.10.2
2018-06-11 12:53:33 +00:00
Cameron Diver
0eb8b25b64
Fix typo in EEXIST error predicate
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 13:47:24 +01:00
resin-io-versionbot[bot]
dab233f04b
Auto-merge for PR #641 via VersionBot
...
Convert errors and iptables modules to typescript
2018-06-11 10:21:08 +00:00
resin-io-versionbot[bot]
bf58808dff
v7.10.1
2018-06-11 10:06:15 +00:00
Cameron Diver
ea18462244
Move dependencies out to devDependencies
2018-06-11 10:20:17 +01:00
Cameron Diver
5622ddce94
Convert iptables module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-11 10:20:17 +01:00
Cameron Diver
352a5684b3
Convert errors module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-06-06 21:24:08 +01:00
resin-io-versionbot[bot]
1f3a9ca0f0
Auto-merge for PR #672 via VersionBot
...
Add support for extlinux configuration files and isolcpus config option
2018-06-06 14:12:34 +00:00
resin-io-versionbot[bot]
2f97955e6e
v7.10.0
2018-06-06 13:57:47 +00:00
Cameron Diver
fa1d3da438
Use ES6 interpolation for string operations
2018-06-06 14:50:21 +01:00