Commit Graph

3509 Commits

Author SHA1 Message Date
bulldozer-balena[bot]
9abc4d76ed
Merge pull request #1601 from balena-io/v1-healthcheck-stub-fix
Call restore for each healthcheck stub in v1 tests
2021-02-19 02:53:04 +00:00
Christina Wang
8948bde02a
Merge branch 'master' into v1-healthcheck-stub-fix 2021-02-19 11:07:33 +09:00
Balena CI
dd24662b47 v12.4.1 2021-02-18 20:28:20 +02:00
bulldozer-balena[bot]
923133e2c7
Merge pull request #1598 from balena-io/1595-refactor-truthy-check
Refactor checkTruthy to return more predictable values
2021-02-18 18:26:11 +00:00
Miguel Casqueira
ec23d1d371 Refactor checkTruthy to return more predictable values
Change-type: patch
Closes: #1595
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-02-18 12:36:42 -05:00
Christina Wang
2953f313e6
Call restore for each healthcheck stub in v1 tests
Signed-off-by: Christina Wang <christina@balena.io>
Change-type: patch
2021-02-18 20:22:41 +09:00
Balena CI
19079ae89d v12.4.0 2021-02-18 06:21:13 +02:00
bulldozer-balena[bot]
2ff94e52ba
Merge pull request #1589 from balena-io/v1-unit-tests
Complete V1 unit tests, modify PATCH /v1/device/host-config
2021-02-18 04:19:21 +00:00
Christina Wang
4e206e9c1a
Complete POST /v1/purge unit tests
Connects-to: #1327
Signed-off-by: Christina Wang <christina@balena.io>
2021-02-18 12:25:44 +09:00
Christina Wang
b3b1d47b34
Complete /v1/device/host-config unit tests, modify PATCH route
Change-type: minor
Signed-off-by: Christina Wang <christina@balena.io>
2021-02-18 12:25:44 +09:00
Christina Wang
f748c1a8e7
Add POST /v1/regenerate-api-key unit tests
Signed-off-by: Christina Wang <christina@balena.io>
2021-02-18 12:25:44 +09:00
Christina Wang
6e5c553c3f
Write POST /v1/blink unit test
Signed-off-by: Christina Wang <christina@balena.io>
2021-02-18 12:25:43 +09:00
Balena CI
c96d732131 v12.3.7 2021-02-17 15:01:37 +02:00
bulldozer-balena[bot]
b25e8a5b09
Merge pull request #1596 from balena-io/1594-patch-service-kill-eval
Patch killServicesUsingApi to not get stuck in noop loop
2021-02-17 12:59:44 +00:00
Miguel Casqueira
c602014617 Patch killServicesUsingApi to not get stuck in noop loop
Change-type: patch
Closes: #1594
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-02-16 18:33:50 -05:00
Balena CI
17b6b00778 v12.3.6 2021-02-09 13:19:51 +02:00
bulldozer-balena[bot]
cfc72e673b
Merge pull request #1582 from balena-io/rgz/gpu-label
Fix gpu label support
2021-02-09 11:17:48 +00:00
Robert Günzler
f009d3a3e9
Fix gpu label support
The device request object was created with untouched fields left unset. When
comparing state to determine if a transition is required this would
result in a mismatch between:

    {
      Driver: '',
      Count: 1,
      DeviceIDs: null,
      Capabilities: [Array],
      Options: null
    }

and

    {
      Count: 1,
      Capabilities: [Array],
    }

Which in turn resulted in the target service being continously restarted.
The fix is to instantiate the object in full.

Connects-to: https://github.com/balena-io/balena-supervisor/issues/1449
Connects-to: ae646a07ec
Change-type: patch
Signed-off-by: Robert Günzler <robertg@balena.io>
2021-02-09 11:27:03 +01:00
Balena CI
432b1dbcc5 v12.3.5 2021-02-03 18:26:58 +02:00
bulldozer-balena[bot]
001f544c31
Merge pull request #1584 from balena-io/1581-patch-commit-constraint
Prevent inserting null commit during DB migration
2021-02-03 16:25:07 +00:00
Miguel Casqueira
277d984af2 Prevent inserting null commit during DB migration
Change-type: patch
Closes: #1581
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-02-03 10:44:11 -05:00
Balena CI
1fa8f5f920 v12.3.4 2021-01-25 20:02:10 +02:00
bulldozer-balena[bot]
cf530734ea
Merge pull request #1578 from balena-io/update-codeowners
Removed richbayliss from CODEOWNERS
2021-01-25 17:59:58 +00:00
Miguel Casqueira
908be547e2 Removed richbayliss from CODEOWNERS
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-01-25 12:51:46 -05:00
Balena CI
25de14d7b7 v12.3.3 2021-01-22 22:35:58 +02:00
bulldozer-balena[bot]
f4ec1b0c0d
Merge pull request #1572 from balena-io/1530-reset-pending-target-apply
Reset update delay when request is from API
2021-01-22 20:33:58 +00:00
Miguel Casqueira
ba1c857c4f Cancel pending apply target after /v1/update request
Closes: #1530
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-01-20 22:21:14 -05:00
Balena CI
e6ebfca0b9 v12.3.2 2021-01-12 01:05:38 +02:00
bulldozer-balena[bot]
e167d4d40e
Merge pull request #1558 from balena-io/dependabot/npm_and_yarn/types/yargs-15.0.12
patch: bump @types/yargs from 15.0.5 to 15.0.12
2021-01-11 23:03:38 +00:00
dependabot[bot]
2c61a961c1 patch: bump @types/yargs from 15.0.5 to 15.0.12
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.5 to 15.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 17:18:16 -05:00
Balena CI
c0da65edca v12.3.1 2021-01-11 22:33:07 +02:00
bulldozer-balena[bot]
fe521f86f7
Merge pull request #1554 from balena-io/dependabot/npm_and_yarn/pretty-ms-7.0.1
patch: bump pretty-ms from 7.0.0 to 7.0.1
2021-01-11 20:31:19 +00:00
dependabot[bot]
8a4369f8df patch: bump pretty-ms from 7.0.0 to 7.0.1
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v7.0.0...v7.0.1)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 14:44:20 -05:00
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