Commit Graph

3393 Commits

Author SHA1 Message Date
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
Felipe Lalanne
e4e895630f Ensure the first target state request is applied
During first time run of the supervisor, the target state is queried
by `reportInitialEnv`. Since this happens early on the initialization
process, this target state report is missed by any listeners and this
can lead to the initial target state not beeing applied (see #1455).

This PR ensures that target state is re-emitted if there were no
listeners setup on call to update.

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: #1455
2020-11-13 10:19:27 -03:00
Balena CI
50751b7716 v12.2.1 2020-11-11 13:44:27 +02:00
bulldozer-balena[bot]
31b8a6d757
Merge pull request #1516 from balena-io/fix-scoped-keys-breaking-livepush
Fix scoped keys breaking livepush
2020-11-11 11:42:16 +00:00
Rich Bayliss
bc9bdd1094
validation: Ensure commit lookup has a bound value
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-11-11 11:01:20 +00:00
Rich Bayliss
591598e102
fix: Scoped keys not working in LocalMode
Some endpoints filter data based on the scope of the API key
used to make the request. When in LocalMode the check was not
being made correctly and all apps were considered out of scope.

Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
2020-11-11 10:58:58 +00:00
Balena CI
9a21f49a6a v12.2.0 2020-11-10 14:12:58 +02:00
bulldozer-balena[bot]
d25b24097f
Merge pull request #1511 from balena-io/commit-per-app
Allow storing commits against their appIds
2020-11-10 12:10:48 +00:00
Cameron Diver
f08316dc57 Allow storing commits against their appIds
This paves the way for running multiple applications and storing
information related to the application against the application itself. A
couple of hacks have been added to v1 and v2 endpoints to maintain
compatability but these should eventually be removed with the addition
of a v3 api.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-11-10 10:50:08 +00:00
Balena CI
f951323322 v12.1.5 2020-11-03 20:57:08 +02:00
bulldozer-balena[bot]
064d8f1562
Merge pull request #1505 from balena-io/1492-compose-image-tests
Add more test coverage for compose/images
2020-11-03 18:55:17 +00:00
Miguel Casqueira
cd0d53c39d Add more test coverage for compose/images
Closes: #1492
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-11-03 13:08:41 -05:00
Balena CI
d1380e15ca v12.1.4 2020-11-02 11:32:28 +02:00
bulldozer-balena[bot]
7ba98472b7
Merge pull request #1507 from balena-io/clarify-update-pending-docs
Clarify when `update_pending` in /v1/device is true
2020-11-02 09:30:23 +00:00
Miguel Casqueira
c64d3cb216 Clarify when update_pending in /v1/device is true
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-10-30 18:46:22 -04:00
Balena CI
4d911c6a3b v12.1.3 2020-10-30 23:59:18 +02:00
bulldozer-balena[bot]
902bfcda50
Merge pull request #1506 from balena-io/add-pipex-to-codeowners
Add pipex to codeowners
2020-10-30 21:57:11 +00:00
Miguel Casqueira
d016f7a13c Add pipex to codeowners
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-10-30 17:49:28 -04:00
Balena CI
7bdc9c4b84 v12.1.2 2020-10-29 22:12:56 +02:00
bulldozer-balena[bot]
fb9a73b3d6
Merge pull request #1497 from balena-io/1494-balena-socket
Mount docker socket under `/host/run` for services
2020-10-29 20:11:06 +00:00
Felipe Lalanne
01477e41b8 Mount docker socket under /host/run for services
Currently, when the label `io.balena.features.balena-socket` is set,
the balena engine socket is mounted under `/run/balena-engine.sock`.

This causes a problem when using systemd inside the container, since
this service remounts `/run` and `/run/lock` as tmpfs, causing the
socket to become unavailable.

Making a mount of the socket into `/host/run` solves this issue. This is
the same approach taken with DBUS.

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: #1494
2020-10-29 15:54:31 -03:00
Balena CI
4e380136c2 v12.1.1 2020-10-28 15:37:10 +02:00
bulldozer-balena[bot]
097e8bec8a
Merge pull request #1502 from balena-io/fix-device-type-json-file
Use root mount point to find device-type.json
2020-10-28 13:35:12 +00:00
Cameron Diver
9d19a45701 Use root mount point to find device-type.json
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-10-28 13:03:40 +00:00
Balena CI
8ae2b4a5cd v12.1.0 2020-10-28 09:06:54 +02:00
bulldozer-balena[bot]
0c0211aa70
Merge pull request #1489 from balena-io/codewithcheese/read-logs-from-journalctl
Change log source from docker to journalctl
2020-10-28 07:05:03 +00:00
Thomas Manning
2c83864f22 Change log source from docker to journalctl
Change-type: minor
Signed-off-by: Thomas Manning <thomasm@balena.io>
2020-10-28 16:09:42 +10:00
Balena CI
622e8edec1 v12.0.9 2020-10-27 15:29:06 +02:00
bulldozer-balena[bot]
22402dbb93
Merge pull request #1490 from balena-io/1472-device-type
Change source of deviceType to device-type.json
2020-10-27 13:26:56 +00:00
Felipe Lalanne
f5183df356 Change source of deviceType to device-type.json
The source of truth for the device-type should be
device-type.json instead of config.json

Change-type: patch
Signed-off-by: Felipe Lalanne <felipe@balena.io>
Connects-to: #1472
2020-10-27 09:40:18 -03:00
Balena CI
aa8f5df3a4 v12.0.8 2020-10-26 21:45:14 +02:00
bulldozer-balena[bot]
ae1d7185c8
Merge pull request #1498 from balena-io/1476-patch-update-needed
Fixed evaluating if updates are needed to reach target state
2020-10-26 19:43:16 +00:00
Miguel Casqueira
77333f1e11 Fixed evaluating if updates are needed to reach target state
Closes: #1476
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-10-26 14:54:04 -04:00
Balena CI
30c352f4f6 v12.0.7 2020-10-19 19:57:16 +03:00