Commit Graph

2505 Commits

Author SHA1 Message Date
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
Resin CI
b978e2769a v9.4.0 2019-01-23 10:27:10 +01:00
CameronDiver
bb46cd521c
Merge pull request #872 from balena-io/typescript
More typescript conversions
2019-01-23 09:25:19 +00:00
Cameron Diver
32acde0a99
refactor: Convert volumes module to typescript
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 20:25:04 +00:00
Cameron Diver
91b553dd32
refactor: Convert compose/images module to typescript
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 20:20:05 +00:00
Cameron Diver
f10ad00e01
deps: Update docker-toolbelt for typing fixes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 13:26:46 +00:00
Cameron Diver
1af13d3373
typings: Improve database typings by allowing unknown dictionary keys
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 13:25:39 +00:00
Cameron Diver
fed01c355c
typings: Improve docker-utils typings
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-22 13:25:01 +00:00
Cameron Diver
d1e1297f6d
misc: Add Nullable<T> helper type
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-21 11:18:41 +00:00
Cameron Diver
0505c0f976
config: Properly type the change events from config module
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-21 11:13:14 +00:00
Resin CI
acf2a6d6b5 v9.3.1 2019-01-16 14:29:54 +01:00
CameronDiver
37725a8e60
Merge pull request #869 from balena-io/seed-initial-logs
Send connection message when streaming local mode logs
2019-01-16 13:28:04 +00:00
Cameron Diver
06cdaddd71
Send connection message when streaming local mode logs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-16 13:14:49 +00:00
Resin CI
11fc93af0f v9.3.0 2019-01-12 13:48:47 +01:00
CameronDiver
7524b3a109
Merge pull request #865 from balena-io/fully-typed-config
Add types to the config module, and remove unnecessary casts and validations
2019-01-12 12:46:53 +00:00
Cameron Diver
ea67e1d819
misc: Update package-lock
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:38:15 +00:00
Cameron Diver
9a98fc4c84
refactor: Small code changes
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:38:05 +00:00
Cameron Diver
6a3148ff80
refactor: Remove unnecessary validations and casts
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:37:25 +00:00
Cameron Diver
db74e748a1
refactor: Fully type and validate config module set and get
We define the type for each config value, and validate the data when
retrieving and setting it.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:37:25 +00:00
Cameron Diver
ac4866170e
refactor: Remove scaffolding for unused mutable config functions
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-11 10:37:24 +00:00
CameronDiver
6b5617be15
Merge pull request #866 from balena-io/861-logind-shutdown
fix: Use logind manager to request reboots and shutdowns
2019-01-09 17:11:11 +00:00
Cameron Diver
81b17faab1
fix: Use logind manager to request reboots and shutdowns
Change-type: patch
Closes: #861
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-09 11:23:43 +00:00
Resin CI
e8d5364bf8 v9.2.10 2019-01-08 17:55:10 +01:00
CameronDiver
5146b53d94
Merge pull request #864 from balena-io/fix-bound-lambda
Fix context bind errors by switching to async/await
2019-01-08 16:53:55 +00:00
Cameron Diver
a970ec5377
Fix context bind errors by switching to async/await
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-08 16:22:47 +00:00
Resin CI
f33a2adf12 v9.2.9 2019-01-08 15:59:41 +01:00
CameronDiver
3ca1163e8d
Merge pull request #860 from balena-io/typescript
More typecript conversions
2019-01-08 14:57:51 +00:00