Commit Graph

17 Commits

Author SHA1 Message Date
Cameron Diver
4ff54f45c1
Fix healthcheck on supervisor debug builds
We were relying on wget which was not brought into the image, so we
switch this to curl, which is present.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-18 14:36:05 +00:00
Cameron Diver
93e3bc620a
Pin debug builds to stretch base images to match non-debug builds
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-08-22 09:47:17 +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
1366abc7b1 Minimise the amount of cache busted by a changed ARG
Change-type: patch
2019-07-19 16:54:06 +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
92aa9b40ab Use jessie base images for i386-nlp
This fixes potential SIGILL errors with the supervisor on i386-nlp.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-27 17:09:31 +01:00
Cameron Diver
557f88965a Ensure that all architectures use a node version that supports ci
We do this by using the standalone installer pinned at v6.9.0. We use
the standalone installer because npm itself fails to upgrade on the
i386-nlp build (npm v3). The standalone installer is installed in /tmp,
and then to avoid mysterious CI errors, we use the original npm to run
the tests.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-27 17:09:31 +01:00
Cameron Diver
9dab00d156
Allow writing test files in typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-19 10:55:15 +01:00
Cameron Diver
6c7234f84b Make sync-debug much more reliable with logs
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-06-18 13:32:04 +01:00
Cameron Diver
392c56b4d3
Update and improve debug and development tools
Add a debounce to the livepush invocations, execute on start and also
add a wait on the supervisor CMD line for those rare occassions where
the supervisor enters a restart loop.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-29 14:07:00 +01:00
Cameron Diver
73f207a76f Add livepush capabilities for debug builds
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:47:20 +01:00
Cameron Diver
6bfeaf7ae7 Change install step to not mask errors
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:29 +01:00
Cameron Diver
3ff9c5a9b1 Use balenalib base image for i386 base
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:28 +01:00
Cameron Diver
2e6f030063 Upgrade debug builds to node 10 for supported architectures
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:28 +01:00
Cameron Diver
4e779608a3 Add debug build infrastructure and configuration
Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-05-15 12:41:27 +01:00