Commit Graph

3426 Commits

Author SHA1 Message Date
Balena CI
79b7540d36 v12.3.0 2021-01-06 20:49:20 +02:00
bulldozer-balena[bot]
e5a1561bff
Merge pull request #1566 from balena-io/1360-boot-splash
Add support for `BALENA_HOST_SPLASH_IMAGE` config var
2021-01-06 18:47:18 +00:00
Felipe Lalanne
4aa8090a56 Add support for BALENA_HOST_SPLASH_IMAGE config
Setting this this variable to a base64 encoded string will replace the splash
image on the device by rewriting `/mnt/boot/splash/balena-logo.png`.
This will also make a copy of the default balena logo so the splash can
be restored if the variable is removed.

Change-type: minor
Signed-off-by: Felipe Lalanne <felipe@balena.io>
2021-01-06 15:11:31 -03:00
Felipe Lalanne
e66a775c15 Move required configuration check to Backend
The `ensureRequiredOverlay` function is currently ran for any backend,
at this moment this causes no issue, since most configuration backends
are defined per single device type. However, with the option to modify splash
images, which is available for all device types, the function would add
unwanted configuration vars to the splash image configuration. Moving it
to the config txt backend solves this issue.
2021-01-05 18:30:07 -03:00
Balena CI
0c7cb46d15 v12.2.16 2020-12-21 21:13:59 +02:00
bulldozer-balena[bot]
cd2bf11ed0
Merge pull request #1565 from balena-io/dependabot/npm_and_yarn/systeminformation-4.31.1
Bump systeminformation from 4.30.5 to 4.31.1
2020-12-21 19:12:07 +00:00
dependabot[bot]
7ccbde985e Bump systeminformation from 4.30.5 to 4.31.1
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.30.5 to 4.31.1.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 14:05:09 -05:00
Balena CI
b75c698f78 v12.2.15 2020-12-21 20:09:39 +02:00
bulldozer-balena[bot]
a697517c98
Merge pull request #1564 from balena-io/codeowners-update
Retired CameronDiver from CODEOWNERS
2020-12-21 18:07:08 +00:00
Miguel Casqueira
98fa750903 Retired CameronDiver from CODEOWNERS
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-12-21 12:51:39 -05:00
Balena CI
472110b01d v12.2.14 2020-12-16 20:37:41 +02:00
bulldozer-balena[bot]
ba1e2192a9
Merge pull request #1562 from balena-io/dependabot-only-security
Revert  "Add dependabot configuration"
2020-12-16 18:35:40 +00:00
Felipe Lalanne
8767f145b2 Revert "Add dependabot configuration"
This reverts commit 153655b523.

Dependabot does not allow to limit version updates to just patches or security
updates. Adding this configuration results in excess noise from
major and minor versions. We are reverting this change for the moment
and look for another version managment tool.

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
2020-12-16 15:23:33 -03:00
Balena CI
432ab301d1 v12.2.13 2020-12-16 03:07:59 +02:00
bulldozer-balena[bot]
a9197163fd
Merge pull request #1551 from balena-io/1508-add-dependabot-config
Add dependabot configuration
2020-12-16 01:05:09 +00:00
Miguel Casqueira
153655b523 Add dependabot configuration
Closes: #1508
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-12-15 19:06:06 -05:00
Balena CI
bec98ddf50 v12.2.12 2020-12-15 00:18:50 +02:00
bulldozer-balena[bot]
c33e0aa584
Merge pull request #1548 from balena-io/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2020-12-14 22:16:03 +00:00
dependabot[bot]
b319c678ce Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 17:07:12 -05:00
Balena CI
999ef3b0b7 v12.2.11 2020-12-14 16:34:50 +02:00
bulldozer-balena[bot]
d5f996d217
Merge pull request #1529 from balena-io/1523-start-lock
Improve supervisor API behavior when locks are set
2020-12-14 14:31:51 +00:00
Felipe Lalanne
4cdf26f82f Improve supervisor API behavior when locks are set
This PR adds the following

* Supervisor v1 API application actions now return HTTP status code 423 when locks
  are preventing the action to be performed. Previously this resulted in a
  503 error
* Supervisor API v2 service actions now returns HTTP status code 423 when locks are
  preventing the action to be performed. Previously, this resulted in an
  exception logged by the supervisor and the API query timing out
* Supervisor API `/v2/applications/:appId/start-service` now does not
  check for a lock. Lock handling in v2 actions is now performed by each
  step executor
* `/v1/apps/:appId/start` now queries the target state and uses that
  information to execute the start step (as v2 does). Previously start
  resulted in `cannot get appId from undefined`
* Extra tests for API methods

Change-type: patch
Connects-to: #1523
Signed-off-by: Felipe Lalanne <felipe@balena.io>
2020-12-14 10:43:41 -03:00
Balena CI
c41e9b5e1f v12.2.10 2020-12-12 03:38:28 +02:00
bulldozer-balena[bot]
8388df2392
Merge pull request #1547 from balena-io/add-alliance-rpi
Add config.txt support for Alliance rpi3
2020-12-12 01:35:25 +00:00
Felipe Lalanne
a8c4a6683a Add config.txt support for Alliance rpi3
Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
2020-12-11 09:46:48 -03:00
Balena CI
5e3d68c4dc v12.2.9 2020-12-10 13:59:32 +02:00
bulldozer-balena[bot]
944c04a487
Merge pull request #1545 from balena-io/add-rocktech-rpi
Add config.txt support for Rocktech rpi
2020-12-10 11:56:56 +00:00
Cameron Diver
2c1fb7110e Add config.txt support for Rocktech rpi
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-12-10 11:14:35 +00:00
Balena CI
fab864545a v12.2.8 2020-12-01 17:18:10 +02:00
bulldozer-balena[bot]
9ab68dad69
Merge pull request #1524 from balena-io/1509-failed-state-transition-steps
1509 failed state transition steps
2020-12-01 15:16:02 +00:00
Miguel Casqueira
8b37df492b Patched /v1/restart exception
Change-type: patch
Closes: #1509
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-11-30 15:42:49 -05:00
Miguel Casqueira
7a4473f65b Added test case for /v1/restart API
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-11-30 15:42:49 -05:00
Miguel Casqueira
733a2c5dc0 Consolidated Supervisor API tests into clearer files
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-11-30 15:42:49 -05:00
Balena CI
f6ba69144b v12.2.7 2020-11-30 22:20:40 +02:00
bulldozer-balena[bot]
689915c19a
Merge pull request #1534 from balena-io/dependabot/npm_and_yarn/systeminformation-4.30.5
Bump systeminformation from 4.27.11 to 4.30.5
2020-11-30 20:18:50 +00:00
dependabot[bot]
8036d51479 Bump systeminformation from 4.27.11 to 4.30.5
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.27.11 to 4.30.5.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.27.11...v4.30.5)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 14:30:39 -05:00
Balena CI
7c37faee0f v12.2.6 2020-11-30 21:23:18 +02:00
bulldozer-balena[bot]
1071d24c0d
Merge pull request #1535 from balena-io/update-package-npm
Update npm entry in package.json to match the npm version we use
2020-11-30 19:21:05 +00:00
Pagan Gazzard
cda1e9788d Update npm entry in package.json to match the npm version we use
Change-type: patch
2020-11-30 17:23:55 +00:00
Balena CI
303b7599dc v12.2.5 2020-11-18 00:10:57 +02:00
bulldozer-balena[bot]
6f6b77327b
Merge pull request #1517 from balena-io/dependabot/npm_and_yarn/bl-1.2.3
Bump bl from 1.2.2 to 1.2.3
2020-11-17 22:09:07 +00:00
dependabot[bot]
caae8d0544 Bump bl from 1.2.2 to 1.2.3
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-17 16:18:07 -05:00
Balena CI
412b4b670f v12.2.4 2020-11-17 22:48:06 +02:00
bulldozer-balena[bot]
431234e4b7
Merge pull request #1501 from balena-io/dependabot/npm_and_yarn/systeminformation-4.27.11
Bump systeminformation from 4.27.3 to 4.27.11
2020-11-17 20:46:19 +00:00
dependabot[bot]
00b1bf8a7a Bump systeminformation from 4.27.3 to 4.27.11
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.27.3 to 4.27.11.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-17 15:40:12 -05:00
Balena CI
d771492da6 v12.2.3 2020-11-17 05:15:18 +02:00
bulldozer-balena[bot]
0eb8fd2473
Merge pull request #1520 from balena-io/fix-scoped-keys-breaking-livepush
fix: Scoped keys breaking livepush with existing cloud images on the …
2020-11-17 03:13:11 +00:00
Rich Bayliss
02aeb4fc1c fix: Scoped keys breaking livepush with existing cloud images on the device
Closes: #1512
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-11-16 12:55:40 -05:00
Balena CI
53e7412f75 v12.2.2 2020-11-13 16:13:49 +02:00
bulldozer-balena[bot]
753433dd7c
Merge pull request #1518 from balena-io/1455-custom-config-vars
Ensure the first target state update is applied
2020-11-13 14:11:29 +00:00