Commit Graph

3772 Commits

Author SHA1 Message Date
1a2797fda8 Merge pull request #1845 from balena-os/logs-backoff
Add exponential backoff on errors for logs reporting
2021-12-10 15:18:10 +00:00
6554ff5a64 Add exponential backoff on errors for logs reporting
Change-type: patch
2021-12-09 18:30:04 +00:00
ade787bab8 v12.11.16 v12.11.16 2021-12-02 22:52:51 +02:00
1a5aa49044 Merge pull request #1840 from balena-os/validation-message
Improve validation messages for env vars and labels
2021-12-02 20:50:54 +00:00
f6b2ec9677 Improve validation messages for env vars and labels
Change-type: patch
2021-12-02 17:19:50 -03:00
f00610660f v12.11.15 v12.11.15 2021-12-02 22:16:08 +02:00
5a0b1e9479 Merge pull request #1839 from balena-os/target-state-validation
Improve target state validation
2021-12-02 20:13:57 +00:00
445aefaa29 Ensure target state errors are sent to the log backend
Closes: #1838
2021-12-02 15:29:37 -03:00
f6692ab918 Convert target state types to io-ts for better validation
This simplifies target state validation and improves validation
messages.

Change-type: patch
2021-12-02 15:29:37 -03:00
ca7c22d854 Move lib/types.ts to src/types/basic.ts 2021-12-02 15:29:37 -03:00
a7db9b8c37 v12.11.14 v12.11.14 2021-11-30 20:07:17 +02:00
89e5c40a53 Merge pull request #1805 from balena-os/happy-eyeballs
add happy eyeballs
2021-11-30 18:04:55 +00:00
9ed2685f63 Add happy eyeballs
Change-type: patch
2021-11-30 12:43:18 -05:00
1ece9f8bb0 v12.11.13 v12.11.13 2021-11-29 19:29:30 +02:00
cc02bbf6df Merge pull request #1836 from balena-os/59s-timeout
Increase request timeout to 59s to better align with our backends
2021-11-29 17:26:51 +00:00
2eb00fa0da Increase request timeout to 59s to better align with our backends
Change-type: patch
2021-11-29 17:14:51 +00:00
f81ab2fc06 v12.11.12 v12.11.12 2021-11-17 23:26:09 +02:00
e61a5a26b4 Merge pull request #1830 from balena-os/local-mode-fix
Fix broken local mode after PR #1824
2021-11-17 21:23:37 +00:00
6fd516a930 Fix broken local mode after PR #1824
PR #1824 changed app update behavior to test that all images are there
before moving between releases. This check always fails in local mode
since local mode images are handled differently.

This PR fixes local mode again by skipping the check when `localMode` is
set.

Change-type: patch
2021-11-17 17:54:25 -03:00
f9b2872648 v12.11.11 v12.11.11 2021-11-17 19:05:58 +02:00
d0fccd1bb5 Merge pull request #1822 from balena-os/acostach/add_more_nano_fd_capable_devices
Add more Jetson Nano FDT capable devices
2021-11-17 17:03:46 +00:00
1d1b1aa1bf test: Update extra_uEnv test slugs list
Do so to include the Nano 2GB Devkit device

Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-11-17 13:48:19 +01:00
3b9c68246e backends/extra-uEnv: Extend custom DTB support for Nano 2GB Devkit
Change-type: patch
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-11-17 13:48:19 +01:00
283495cfcd v12.11.10 v12.11.10 2021-11-16 22:05:55 +02:00
811b679073 Merge pull request #1826 from balena-os/delete-then-download
Fix `delete-then-download` strategy
2021-11-16 20:04:13 +00:00
394377e0a1 Fix delete-then-download strategy
The strategy has been broken for a while but it was not clear how to
fix it before the changes to image management. This PR fixes application
manager to remove images before downloading the new image. This will
only have an effect on changing images.

Closes: #1233
Change-type: patch
2021-11-16 16:40:15 -03:00
9846fa64c7 Update tsconfig.json to use es2019 2021-11-16 16:40:15 -03:00
9a820770e8 v12.11.9 v12.11.9 2021-11-15 20:13:52 +02:00
a3b4dc98ac Merge pull request #1828 from balena-os/repo-type
Go back to `docker` repo type to fix versioning
2021-11-15 18:11:48 +00:00
47eae7200e Go back to docker repo type to fix versioning
Previous commit now changed ChangeLog format and skipped update of
VERSION file.

This reverts config back to `docker` and fixes changelog

Change-type: patch
2021-11-15 11:56:29 -03:00
32c2c36035 v12.11.8 v12.11.8 2021-11-15 16:12:10 +02:00
2940ab6e1a Merge pull request #1827 from balena-os/versioning-fix
Re-add .resinci.yml to control node checks
2021-11-15 14:10:09 +00:00
eb09ecd365 Re-add resinci config to control node checks
Change-type: patch
2021-11-12 10:56:29 -03:00
143000795c v12.11.7 v12.11.7 2021-11-11 20:03:22 +02:00
426f23786e Merge pull request #1824 from balena-os/synchronize-kill
Wait for images to be ready before moving between releases
2021-11-11 18:01:03 +00:00
7aedc97ee1 Wait for images to be ready before moving between releases
For download-then-kill strategy, this waits for all changing images on the target
release to be available on device before killing the old services. This
will prevent that multicontainer applications get to a state where some
services of the new release start runnning much before others have been
downloaded.

When adding new services to a multicontainer app, the supervisor will
now wait for other changing services to be downloaded before starting
the new service.

Closes: #1812
Change-type: patch
2021-11-11 14:08:36 -03:00
43e26e5984 v12.11.6 v12.11.6 2021-11-11 18:44:57 +02:00
6ef5d940e5 Merge pull request #1825 from balena-os/ci-checks
Change repo type to skip concourse build
2021-11-11 16:42:23 +00:00
a57a5b354f Change repo type in repo.yml to skip concourse build
Change-type: patch
2021-11-11 13:25:04 -03:00
78b0df7e19 v12.11.5 v12.11.5 2021-11-10 17:36:27 +02:00
f7d597e5f2 Merge pull request #1823 from balena-os/livepush-template
Fix livepush to work with Dockerfile.template
2021-11-10 15:33:45 +00:00
31dac598a8 Fix livepush to work with Dockerfile.template
Change-type: patch
2021-11-10 12:20:17 -03:00
311f902df4 v12.11.4 v12.11.4 2021-11-09 19:08:13 +02:00
81df591e4b Merge pull request #1817 from balena-os/use-balena-ci-action
Move entirely to using balena-ci action for deployments
2021-11-09 17:06:48 +00:00
22324885ea Remove .resinci.yml file
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-11-09 01:12:22 -05:00
959d425a5c Move to balena-ci action for deployments
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-11-09 01:00:06 -05:00
f073652603 v12.11.3 v12.11.3 2021-11-05 17:44:44 +02:00
ef03cde2f6 Merge pull request #1816 from balena-os/remove-staging-circleci
Do not build for staging in circleci job
2021-11-05 15:42:09 +00:00
24eea11709 Do not build for staging in circleci job
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-11-05 10:52:19 -04:00
eb473b7d6b v12.11.2 v12.11.2 2021-10-28 19:09:53 +03:00