Commit Graph

4290 Commits

Author SHA1 Message Date
Balena CI
143000795c v12.11.7 2021-11-11 20:03:22 +02:00
bulldozer-balena[bot]
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
Felipe Lalanne
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
Balena CI
43e26e5984 v12.11.6 2021-11-11 18:44:57 +02:00
bulldozer-balena[bot]
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
Felipe Lalanne
a57a5b354f Change repo type in repo.yml to skip concourse build
Change-type: patch
2021-11-11 13:25:04 -03:00
Balena CI
78b0df7e19 v12.11.5 2021-11-10 17:36:27 +02:00
bulldozer-balena[bot]
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
Felipe Lalanne
31dac598a8 Fix livepush to work with Dockerfile.template
Change-type: patch
2021-11-10 12:20:17 -03:00
Miguel Casqueira
201e742805 Fix default value for BALENA_SUPERVISOR_POLL_INTERVAL
The API typically passes its own value and overrides this default. This
old value was the one the API passed not what the Supervisor source code
had.

Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-11-10 04:48:34 +00:00
Balena CI
311f902df4 v12.11.4 2021-11-09 19:08:13 +02:00
bulldozer-balena[bot]
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
Miguel Casqueira
22324885ea Remove .resinci.yml file
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-11-09 01:12:22 -05:00
Miguel Casqueira
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
Balena CI
f073652603 v12.11.3 2021-11-05 17:44:44 +02:00
bulldozer-balena[bot]
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
Miguel Casqueira
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
Balena CI
eb473b7d6b v12.11.2 2021-10-28 19:09:53 +03:00
bulldozer-balena[bot]
98a53767c2
Merge pull request #1802 from balena-os/service-config-helpers
Check config for networks and volumes inside Service
2021-10-28 16:07:52 +00:00
Felipe Lalanne
969f4225e5 Check config for networks and volumes inside Service
This removes the need for the app module to know about the naming
conventions for networks and volumes since those exist now within the
service itself. This also fixes a small bug where the volume would be
removed before the service itself had been successfully stopped.

Change-type: patch
2021-10-28 10:20:53 -03:00
Balena CI
f43248aae8 v12.11.1 2021-10-26 20:47:56 +03:00
bulldozer-balena[bot]
3cf5cc0e5c
Merge pull request #1813 from balena-os/klutchell-patch-1
patch: Fix relative links in docs
2021-10-26 17:44:30 +00:00
Kyle Harding
006acf1e8a
patch: Fix relative links in docs 2021-10-25 13:11:57 -04:00
Balena CI
11df38b26d v12.11.0 2021-10-21 05:50:43 +03:00
bulldozer-balena[bot]
716fcdf23c
Merge pull request #1807 from balena-os/add-balena-ci-action
Use balena-ci action to deploy releases to staging
2021-10-21 02:48:32 +00:00
Miguel Casqueira
f0ac3e1202 Use %%BALENA_ARCH%% in Dockerfile template
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-10-19 19:59:28 -04:00
Miguel Casqueira
caf3c1fd58 Use balena-ci action to deploy releases
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-10-19 19:59:28 -04:00
Balena CI
7713f40927 v12.10.16 2021-10-13 03:39:53 +03:00
bulldozer-balena[bot]
d11cb37190
Merge pull request #1777 from balena-os/extend_custom_dtb_support_to_tx2-nx_devices
backends/extra-uEnv: Extend custom DTB support for Jetson TX2 NX
2021-10-13 00:37:56 +00:00
Balena CI
d86ae94525 v12.10.15 2021-09-30 17:18:40 +03:00
bulldozer-balena[bot]
cb1d5af2f8
Merge pull request #1801 from balena-os/docker-compose
Create supervisor docker-compose
2021-09-30 14:16:36 +00:00
Felipe Lalanne
68d60d8aaa Add supervisor docker-compose
This will allow the supervisor service to be correctly named on the API

Change-type: patch
2021-09-29 22:07:32 -03:00
Balena CI
3237c03f00 v12.10.14 2021-09-29 16:55:38 +03:00
bulldozer-balena[bot]
31a7a473a1
Merge pull request #1799 from balena-os/circle-ci-versionbot
Only deploy on commits from `balena-ci` and versionbot
2021-09-29 13:53:22 +00:00
Felipe Lalanne
f13221bbd8 Only deploy on commits from balena-ci and versionbot
Change-type: patch
2021-09-29 09:42:25 -03:00
Balena CI
7ce488e805 v12.10.13 2021-09-28 22:45:42 +03:00
bulldozer-balena[bot]
c347c2f0ca
Merge pull request #1798 from balena-os/503-backoff
Add backoff to state reporting when 503 is received
2021-09-28 19:43:41 +00:00
Felipe Lalanne
298f7f523e Simplify splash test to verify just correct outcomes
Splash tests are a bit flaky. Simplify to reduce chance of false
positives
2021-09-28 14:53:26 -04:00
Felipe Lalanne
aab000209b Add backoff to state reporting when 503 is received
Current state reporting had a backoff when network or inconsistency
errors were found, but not on API errors. This change adds a backoff
using RetryAfter header if present to reduce load on API

Change-type: patch
2021-09-28 14:53:26 -04:00
Balena CI
7648d075f6 v12.10.12 2021-09-28 18:30:57 +03:00
bulldozer-balena[bot]
1a3bdc2516
Merge pull request #1796 from balena-os/circle-ci-experiments
Use balena CLI for deploying to balenaCloud in CircleCI
2021-09-28 15:29:00 +00:00
Balena CI
191e47344d v12.10.11 2021-09-27 16:18:10 +03:00
bulldozer-balena[bot]
0f6fb1361b
Merge pull request #1797 from balena-os/network_interface_report
Improve network interface filter
2021-09-27 13:15:57 +00:00
Felipe Lalanne
b71709ed48 Set release_version on deploy
Some services stil query release_version so we need to set it for now
2021-09-24 20:05:10 +00:00
Felipe Lalanne
802f26fe71 Improve network interface filter
The supervisor filters out some network interfaces for mac address
reporting, to remove (balena*,lo,tun*,etc). The previous filter was
matching any interface containing in one of the defined filters, making
it stricter than necessary. This commit fixes the issue

Change-type: patch
2021-09-24 13:01:17 -03:00
Felipe Lalanne
326477a59f Enable deploy to production and staging 2021-09-24 14:47:32 +00:00
Felipe Lalanne
271e72bd52 Add supervisor contract 2021-09-24 13:26:20 +00:00
Felipe Lalanne
458e2a16cf Use balena CLI for pushing to balenaCloud
Updates the circle CI configuration to use the balena CLI to build the
supervisor image and deploy directly to the related balenaCloud app on merge
to master. This allows to build the supervisor as any other app,
including the posibility of creating a contract and a docker-compose

Change-type: patch
2021-09-24 13:26:13 +00:00
Balena CI
7191e7a042 v12.10.10 2021-09-07 18:03:20 +03:00
bulldozer-balena[bot]
dbb563a0ea
Merge pull request #1763 from balena-os/alexgg/development-features
Replace OS variant with development mode
2021-09-07 15:01:22 +00:00