Cameron Diver
88f19b4147
Set default delta apply timeout of 0
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-11 10:21:04 +00:00
Resin CI
d19e63d38f
v9.7.2
2019-02-11 11:05:10 +01:00
CameronDiver
7c81061898
Merge pull request #898 from balena-io/897-normalise-compose-ports
...
fix: Normalize ports from compose file on instantiation
2019-02-11 10:03:25 +00:00
Cameron Diver
f3264862ca
fix: Normalize ports from compose file on instantiation
...
Adjacent ports are always grouped together by docker when reporting the
container state (from an inspect), so adjacent ports defined in the
compose file would not match as they would not have been normalized.
We make sure to always normalize the input port configuration, so that
it will match the docker output (if it should).
We also don't sort in the fromComposePorts function anymore as that is
handled by the normalize function.
Closes : #897
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-08 15:14:07 +00:00
Resin CI
04a9790e11
v9.7.1
2019-02-06 13:25:17 +01:00
CameronDiver
7d25f79dc6
Merge pull request #893 from balena-io/841-delete-then-download
...
fix: Rework delete-then-download handling in state engine
2019-02-06 12:24:09 +00:00
Cameron Diver
e9b51bbcd7
fix: Rework delete-then-download handling in state engine
...
In the original implementation it was possible that the delete did not
wait for the kill step to be finished, so it would not be deleted.
We seperate this process into two steps, to allow for the container to
have stopped before proceeding.
Change-type: patch
Closes : #841
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-06 11:41:05 +00:00
Resin CI
9d8552ea8d
v9.7.0
2019-02-05 20:55:12 +01:00
CameronDiver
f6bbf6dd50
Merge pull request #888 from balena-io/873-backoff-on-image-failure
...
Backoff on image download error
2019-02-05 19:53:44 +00:00
Cameron Diver
828a0fc345
Make the failure backoff time the same as the appUpdatePollTime
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 18:40:18 +00:00
Cameron Diver
146267b402
Backoff on image download error
...
Change-type: patch
Closes : #873
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 18:40:18 +00:00
CameronDiver
b606332312
Merge pull request #828 from balena-io/add-status-endpoint
...
Add application status endpoint
2019-02-05 18:21:46 +00:00
Cameron Diver
c0e68bb069
Add the release to the status endpoint
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 17:57:58 +00:00
Cameron Diver
769e2f3c51
Add application status endpoint
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 17:57:57 +00:00
Cameron Diver
d863326783
misc: Improve typings
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 17:57:57 +00:00
Resin CI
65f267f793
v9.6.6
2019-02-05 18:54:47 +01:00
CameronDiver
1792eac742
Merge pull request #892 from balena-io/884-fin-overlay
...
Ensure the balena-fin always has it's overlay assigned
2019-02-05 17:53:08 +00:00
Cameron Diver
2e09ed071c
Ensure the balena-fin always has it's overlay assigned
...
Change-type: patch
Closes : #884
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-05 16:19:42 +00:00
Resin CI
d0c9b697da
v9.6.5
2019-02-04 19:16:16 +01:00
CameronDiver
0e39c7239a
Merge pull request #889 from balena-io/879-dont-pull-on-error
...
fix: Don't attempt a pull if the token requests fails
2019-02-04 18:14:58 +00:00
Cameron Diver
d8085a6ef8
fix: Don't attempt a pull if the token requests fails
...
Change-type: patch
Closes : #879
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 17:50:26 +00:00
Resin CI
93460d36b9
v9.6.4
2019-02-04 14:55:32 +01:00
CameronDiver
59bba13348
Merge pull request #886 from balena-io/fix-override-lock
...
Fix override locking from the dashboard
2019-02-04 13:52:54 +00:00
Cameron Diver
28d09f2772
Pin terser version to avoid breaking change in minor update
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 11:58:14 +00:00
Cameron Diver
a92d9cef3d
Build: Respect package-lock when building
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 11:44:58 +00:00
Cameron Diver
d75c58f09d
Move legacy renaming to formatting function
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 11:08:36 +00:00
Cameron Diver
f12f474516
Fix typo in OVERRIDE_LOCK
...
Closes : #885
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-02-04 11:08:26 +00:00
Resin CI
94b267c199
v9.6.3
2019-02-03 12:54:35 +01:00
CameronDiver
652080ae8b
Merge pull request #883 from balena-io/fix-promise-map
...
Wrap services.getAll in a bluebird promise
2019-02-03 11:52:46 +00:00
Cameron Diver
ef7d993db6
Wrap services.getAll in a bluebird promise
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-31 10:09:25 +00:00
Resin CI
e2c159f009
v9.6.2
2019-01-29 17:19:03 +01:00
CameronDiver
a940180bf3
Merge pull request #882 from balena-io/fix-healthcheck
...
Fix healthcheck and container restart
2019-01-29 16:17:27 +00:00
Cameron Diver
6a9ca2a60d
fix: Properly bind context to healthchecks
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-29 14:19:45 +00:00
Cameron Diver
707ddb5f45
fix: Only apply supervisor api authentication after healthcheck entry
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-29 14:19:45 +00:00
Cameron Diver
ec87d26be1
fix: Clear dbus pid file on startup
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-29 14:19:44 +00:00
Resin CI
e4ca8ba7e7
v9.6.1
2019-01-29 13:33:58 +01:00
CameronDiver
f738416242
Merge pull request #881 from balena-io/fix-service-manager
...
Add missing ServiceManager methods
2019-01-29 12:32:25 +00:00
Cameron Diver
8315413046
Add missing ServiceManager methods
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-29 11:47:41 +00:00
Resin CI
1bf5eeb046
v9.6.0
2019-01-25 19:58:16 +01:00
CameronDiver
e9c4b3bb9c
Merge pull request #870 from balena-io/node8
...
Upgrade to node 8 for supported architectures
2019-01-25 18:56:40 +00:00
Cameron Diver
338ba4cdd7
Upgrade to node 8 for supported architectures
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 18:10:06 +00:00
Resin CI
adefc10564
v9.5.0
2019-01-25 18:42:31 +01:00
CameronDiver
2a105723b4
Merge pull request #877 from balena-io/typescript
...
Typescript conversions
2019-01-25 17:40:30 +00:00
Cameron Diver
ba000a73fc
refactor: Convert ServiceManager to typescript
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 13:52:05 +00:00
Cameron Diver
e5893c0ee0
Improve error and logger typings
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 13:52:04 +00:00
Cameron Diver
ecffa12e41
misc: Lint fixes
...
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 13:52:04 +00:00
Cameron Diver
02736113a3
refactor: Convert docker-utils module to typescript
...
Change-type: patch
Closes : #868
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-25 13:52:04 +00:00
Resin CI
52898b98dd
v9.4.2
2019-01-23 19:12:38 +01:00
CameronDiver
2c30b55a5c
Merge pull request #875 from balena-io/fix-initial-config
...
fix: Fix intial config reporting
2019-01-23 18:10:54 +00:00
Cameron Diver
9a97451e7a
fix: Fix intial config reporting
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-23 17:51:52 +00:00