Commit Graph

2645 Commits

Author SHA1 Message Date
Resin CI
7afde2fc0e v10.0.5 2019-07-22 18:32:38 +03:00
CameronDiver
4922b7154d
Merge pull request #1047 from balena-io/1037-restart-on-no-network-preload
fix: Always reboot when applying boot config
2019-07-22 08:30:43 -07:00
Cameron Diver
e91fa6e7b3
fix: Always reboot when applying boot config
Change-type: patch
Closes: #1037
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-22 16:07:39 +01:00
Resin CI
430e58c932 v10.0.4 2019-07-22 13:43:26 +03:00
Page-
da3113c1a6
Merge pull request #1045 from balena-io/build
Improve build speed
2019-07-22 11:41:32 +01:00
Pagan Gazzard
565ef27b1b Pre-emptively pull required images in parallel
Change-type: patch
2019-07-19 18:57:19 +01:00
Pagan Gazzard
3945bb3a87 Avoid unnecessary else in Makefile
Change-type: patch
2019-07-19 18:57:18 +01:00
Pagan Gazzard
34983651d0 Fix installing the specified npm version in debug builds
Change-type: patch
2019-07-19 18:57:18 +01:00
Pagan Gazzard
ec816d115e Remove the dummy node-build step for debug images
Change-type: patch
2019-07-19 18:57:17 +01:00
Pagan Gazzard
31257f8f39 Reduce differences between the debug and standard dockerfiles
Change-type: patch
2019-07-19 18:57:16 +01:00
Pagan Gazzard
34af6e9b2a Run image cleanup in parallel
Change-type: patch
2019-07-19 16:57:54 +01:00
Pagan Gazzard
39e8741402 Do intermediate build pushing in parallel
Change-type: patch
2019-07-19 16:55:35 +01:00
Pagan Gazzard
1366abc7b1 Minimise the amount of cache busted by a changed ARG
Change-type: patch
2019-07-19 16:54:06 +01:00
Pagan Gazzard
0ad5d8688c Fix cache usage for builds
Change-type: patch
2019-07-19 16:52:18 +01:00
Resin CI
095ec0620f v10.0.3 2019-07-19 15:48:09 +03:00
CameronDiver
3d7781170c
Merge pull request #1043 from balena-io/1039-fix-volume-on-hup
fix: Don't consider volume supervised labels when comparing
2019-07-19 05:46:13 -07:00
Cameron Diver
cbb079e8dc
fix: Don't consider volume supervised labels when comparing
Change-type: patch
Closes: #1039
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-19 12:17:38 +01:00
Resin CI
9ad2a6a343 v10.0.2 2019-07-19 13:29:25 +03:00
xginn8
15afa0e43d
Merge pull request #1041 from balena-io/device-api-typos
device-api: fix up small typos
2019-07-19 11:28:00 +01:00
Matthew McGinn
2cb6ecc150
device-api: fix up small typos
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-07-18 13:07:53 +01:00
Resin CI
93b64406d6 v10.0.1 2019-07-11 19:38:13 +03:00
CameronDiver
ab921aa1b6
Merge pull request #1035 from balena-io/dont-cleanup-referenced-volumes
Don't attempt to cleanup any target state referenced volumes
2019-07-11 09:36:21 -07:00
Cameron Diver
a796777967 Don't attempt to cleanup any target state referenced volumes
The code before this change could potentially remove a volume which
should not be removed if a container was deleted before the call that
references said volume.

To avoid this, we additionally filter the list of volumes to cleanup by
any that are referenced in the target state. This means that cleanup
will never remove it, as long as it's still supposed to be there,
regardless of if a container references it or not.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-11 16:35:29 +01:00
Resin CI
e4caf100b5 v10.0.0 2019-07-10 17:18:38 +03:00
CameronDiver
9fe1592a28
Merge pull request #1032 from balena-io/1026-dont-delete-volumes-implicitly
Don't delete volumes implicitly
2019-07-10 07:17:11 -07:00
Cameron Diver
e076622fe6 Don't remove volumes when switching into local mode
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:47 +01:00
Cameron Diver
050c10dbb0 Add volume tests and fix test fixture setup for applications
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:46 +01:00
Cameron Diver
3304825216 Add a supervisor endpoint to cleanup orphaned volumes
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:44 +01:00
Cameron Diver
5357d4729d Only remove volumes when we're moving between applications
Change-type: major
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:22 +01:00
Cameron Diver
9fdd1d7427 Reorder debug dockerfile to faster livepushes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:21 +01:00
Cameron Diver
bb549a445b Dont try to set the commit if it's undefined
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-10 14:25:21 +01:00
Resin CI
1690171304 v9.18.8 2019-07-10 12:26:25 +03:00
xginn8
2684fd9fd1
Merge pull request #1027 from balena-io/broken-metabalena-link
docs: fix up broken meta-balena proxy link
2019-07-10 10:24:28 +01:00
Matthew McGinn
baa0e87513 docs: fix up broken meta-balena proxy link
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-07-10 10:11:46 +02:00
Resin CI
64a8f5d884 v9.18.7 2019-07-09 20:02:33 +03:00
CameronDiver
e46fec2118
Merge pull request #1015 from balena-io/1014-delay-logstream
Dont setup a logstream until we're provisioned
2019-07-09 10:00:50 -07:00
Cameron Diver
e36ed26883 Upgrade Dockerode types
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:06 +01:00
Cameron Diver
37945b4aa5 Don't attempt to setup a log stream to the cloud before provision
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:05 +01:00
Cameron Diver
20a83e8e0a Add more typescript conversions and export utilities from existing
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:05 +01:00
Resin CI
4522d1ad86 v9.18.6 2019-07-09 15:16:38 +03:00
CameronDiver
821b5ea071
Merge pull request #1021 from mwohlert/instantly-apply-update-on-api-request
Apply targetState immediately after update request
2019-07-09 05:14:53 -07:00
Michel Wohlert
39c9810bbc Merge remote-tracking branch 'balena/master' into instantly-apply-update-on-api-request 2019-07-09 13:10:15 +02:00
Resin CI
782fd783c1 v9.18.5 2019-07-08 20:36:43 +03:00
Roman Mazur
e1fdafddfc
Merge pull request #1031 from balena-io/roman/use-resin-lint
Use resin-lint for mocha tests check
2019-07-08 20:35:21 +03:00
Roman Mazur
bea97f47a7
Use resin-lint for mocha tests check
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-07-08 19:07:47 +03:00
Michel Wohlert
7a42b6719a Apply targetState immediately after update request
Cancel delayed promise if exists and schedule a new one without delay, when /v1/update is called

Change-type: patch
2019-07-06 00:06:42 +02:00
Resin CI
a817863aa4 v9.18.4 2019-07-05 12:59:03 +03:00
CameronDiver
b47816513b
Merge pull request #1028 from balena-io/seperate-volumes
Use instantiations of compose objects throughout application-manager
2019-07-05 02:57:10 -07:00
Cameron Diver
89807c21fa
Fix network composition parsing, and correctly report compose config
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00
Cameron Diver
286ba58069
Add tests for Volume
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-04 11:47:39 +01:00