Commit Graph

3714 Commits

Author SHA1 Message Date
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
Balena CI
eeefc3abdd v12.10.9 2021-09-02 16:13:03 +03:00
bulldozer-balena[bot]
154b1ce118
Merge pull request #1781 from balena-os/klutchell/update-proxy-source-url
Update URL to balena-proxy-config source code
2021-09-02 13:11:14 +00:00
Kyle Harding
2bcc3aeb56
Update URL to balena-proxy-config source code
Use a GitHub permalink that includes the commit in
case the file changes and the reference becomes out-of-date.

Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-09-02 08:22:26 -04:00
Balena CI
19af36123e v12.10.8 2021-09-02 00:43:34 +03:00
bulldozer-balena[bot]
8a2b282543
Merge pull request #1772 from balena-os/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-09-01 21:41:37 +00:00
dependabot[bot]
2e38356bf4 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 16:48:15 -04:00
Balena CI
f332ba646d v12.10.7 2021-09-01 23:46:44 +03:00
bulldozer-balena[bot]
60d22a49b5
Merge pull request #1779 from balena-os/dependabot/npm_and_yarn/tar-4.4.19
Bump tar from 4.4.13 to 4.4.19
2021-09-01 20:44:54 +00:00
dependabot[bot]
b7cb494602 Bump tar from 4.4.13 to 4.4.19
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 16:36:34 -04:00
Balena CI
79f7f5fb24 v12.10.6 2021-09-01 21:13:03 +03:00
bulldozer-balena[bot]
e1e04c9a74
Merge pull request #1784 from balena-os/edit-config-doc
Remove "variable list" heading in configuration doc
2021-09-01 18:11:29 +00:00
Miguel Casqueira
5205e8ce07 Remove "variable list" heading in configuration doc
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-09-01 14:03:19 -04:00
Balena CI
0ae52edbc8 v12.10.5 2021-09-01 01:59:03 +03:00
bulldozer-balena[bot]
2c9e7bbd3e
Merge pull request #1783 from balena-os/cleanup-configurations.md
Clean up configurations.md
2021-08-31 22:56:52 +00:00
Miguel Casqueira
af51ef8eb5 Clean up configurations.md
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-08-31 18:48:31 -04:00
Balena CI
337e6affcd v12.10.4 2021-08-31 21:57:46 +03:00
bulldozer-balena[bot]
1bc1fc139a
Merge pull request #1782 from balena-os/document-upgrades-in-readme
Include issues with downgrading versions in README
2021-08-31 18:56:12 +00:00
Miguel Casqueira
1280ac3656 Include issues with downgrading versions in README
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-08-31 14:46:24 -04:00
Balena CI
f8cc2bc0ce v12.10.3 2021-08-25 16:53:22 +03:00
bulldozer-balena[bot]
259b81c994
Merge pull request #1776 from balena-os/klutchell/1775-skip-service-restart
Skip restarting services if they are part of conf targets
2021-08-25 13:51:49 +00:00
Kyle Harding
669866b4c2
Skip restarting services if they are part of conf targets
Some recent changes to the OS allowed some services to restart
automatically when the associated config files are changed.

In these cases we want to avoid restarting the same services
manually from the supervisor.

Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-08-24 14:03:55 -04:00
Alexandru Costache
7693f490b4 test: Update extra_uEnv test slugs list
We do this since we added for TX2 NX and
derived device types.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-08-24 07:25:20 +00:00
Alexandru Costache
7d678fa838 backends/extra-uEnv: Extend custom DTB support for Jetson TX2 NX
We just added support for the TX2 NX, which supports u-boot
thus allows for using custom device-trees. Let's allow
for Jetson TX2 NX and future TX2 NX derived
device types to have device-trees configurable from the dashboard.

Change-type: patch
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-08-24 07:24:48 +00:00
Alex Gonzalez
9e0cbe04c6 api-keys: Remove os variant parameter for authentication check
The current code authenticates unmanaged production devices which makes
no sense. Unmanaged devices do not need to authenticate with the API.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2021-08-05 09:30:35 +00:00
Alex Gonzalez
1abd10a129 os-release: Use developmentMode to ascertain OS variant in new releases
Newer BalenaOS releases have replaced OS variants for a developmentMode
configuration setting. This commit uses this variable to set the OS
variant in the absence of `VARIANT_ID` from the os-release file.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2021-08-05 09:30:35 +00:00
Alex Gonzalez
4ad7a3ae91 config: Add developmentMode to schema
Add a `developmentMode` configuration variable to the schema. Do not expose
this on the device target state until local key-based authentication is
sorted.

Relates-to: https://jel.ly.fish/e9525e9e-aa74-478c-b931-52951c679f78
Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2021-08-05 09:30:35 +00:00