Commit Graph

2281 Commits

Author SHA1 Message Date
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
Resin CI
ffa79926e1 v9.4.1 2019-01-23 18:00:15 +01:00
CameronDiver
8e07790640
Merge pull request #874 from balena-io/typescript-fixup
Clear up various typescript code
2019-01-23 16:58:30 +00:00
Cameron Diver
24ce72a2c3
Clear up images.ts module code for simiplicity
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-23 16:40:15 +00:00
Cameron Diver
6f9d9e5de6
Prefer optional type in ConfigChangeMap
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-23 16:31:33 +00:00
Cameron Diver
6a1e787eee
Use dictionary for db key
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-23 16:30:43 +00:00