Commit Graph

4978 Commits

Author SHA1 Message Date
0820dbca68 v8.3.2 v8.3.2 2018-11-06 11:19:43 +01:00
34ad18910c Merge pull request #794 from balena-io/remove-node-flags
Remove node garbage collection flags
2018-11-06 11:18:28 +01:00
15187a54c0 Remove node garbage collection flags
The introduction of these flags correlates with OOM issues on the
supervisor. More investigation is needed into these features
before adding them back into production.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-06 09:46:51 +00:00
b7dfa73e5b v8.3.1 v8.3.1 2018-11-06 00:33:25 +01:00
975ba5d3f9 Merge pull request #798 from balena-io/fix-resolvers-on-windows
Fix migrations/jsonstream custom resolvers on windows
2018-11-05 23:31:42 +00:00
055648a992 Fix migrations/jsonstream custom resolvers on windows
Change-type: patch
2018-11-05 18:35:33 +00:00
7957bf544e v8.3.0 v8.3.0 2018-11-05 13:20:57 +01:00
00efce1b0b Merge pull request #787 from balena-io/v2-restart-improvement
V2 service device api improvments
2018-11-05 13:18:47 +01:00
dfdc371a9c device-api: Also support serviceName in v2 service endpoints
Now you can either pass a serviceName or imageId to restart a specific
service, which is much easier from a device container.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-05 11:44:29 +00:00
9963d24675 fix: Fix typo in image cleanup code
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-05 11:44:29 +00:00
2bdb34d78d fix: Correctly type bluebird promises in application-manager typings
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-05 11:44:26 +00:00
88cd9e557e v8.2.4 v8.2.4 2018-11-05 11:31:41 +01:00
9ac8666ea4 Merge pull request #791 from balena-io/remove-type-casts
Remove some type casts
2018-11-05 10:29:52 +00:00
235f9f04af Remove some type casts
Change-type: patch
2018-11-02 20:45:13 +00:00
c66e1aab9d Merge pull request #789 from balena-io/remove-versionist
Remove versionist from package.json, it's handled by versionbot
2018-11-02 17:59:52 +00:00
f53a47a3cf Remove versionist from package.json, it's handled by versionbot
Change-type: patch
2018-11-02 16:38:59 +00:00
f897c68a28 v8.2.3 v8.2.3 2018-11-02 17:31:49 +01:00
8767481bab Merge pull request #788 from balena-io/update-typescript
Update to typescript 3
2018-11-02 16:30:06 +00:00
83927f36d8 Update to typescript 3
Change-type: patch
2018-11-02 15:41:14 +00:00
02cd9522e1 v8.2.2 v8.2.2 2018-11-02 16:11:56 +01:00
3db260aa5c Merge pull request #786 from balena-io/update-linting
Update linting
2018-11-02 15:10:41 +00:00
ab6401343b Run prettier on the typescript files 2018-11-02 14:50:13 +00:00
21738f8fe3 Update to resin-lint 2 and add a precommit hook for prettier
Change-type: patch
2018-11-02 14:50:12 +00:00
d6e9283a15 Fix coffee-script lint failures 2018-11-02 14:50:12 +00:00
e788c630fb Run resin-lint for both coffee and typescript
Change-type: patch
2018-11-02 14:50:11 +00:00
572cabc9c1 v8.2.1 v8.2.1 2018-11-02 15:44:28 +01:00
51117e00ec Merge pull request #785 from balena-io/resinci-yml
Add a .resinci.yml to disable regular docker and npm builds
2018-11-02 07:42:43 -07:00
f4882a06d4 Add a .resinci.yml to disable regular docker and npm builds
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 18:44:13 -07:00
7e2e5f7ae6 v8.2.0 v8.2.0 2018-11-02 01:37:46 +01:00
94d26fed33 Merge pull request #769 from balena-io/balena-supervisor
Rename most of the documentation and variable names from resin to balena
2018-11-01 17:36:36 -07:00
4bf6f75a4f Remove unused codepaths that do deltas from resin/scratch
The supervisor has been doing regular pulls instead of deltas
from scratch for a while now. We remove remaining references to
resin/scratch, and add a handler in docker-utils to fall back
to a regular pull with a null deltaSource (which should never be
called anyways, but is left as a precaution).

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 17:00:13 -07:00
8298487a88 Rename most of the documentation and variable names from resin to balena
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 17:00:13 -07:00
94ebc67839 v8.1.0 v8.1.0 2018-11-02 00:35:43 +01:00
2b291cdca8 Merge pull request #770 from balena-io/balena-supervisor-automation
Rename package to balena-supervisor and push to balena repos
2018-11-01 16:30:52 -07:00
fd5ca76752 Remove a deprecated debian repository from the aarch64 node image (used only at build-time)
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 14:59:41 -07:00
007bd168bb When updating from resin-supervisor to balena-supervisor, try to delete old resin-supervisor images
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 14:59:41 -07:00
7ffac14bb3 Rename package to balena-supervisor and push to balena repos in DockerHub
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 14:59:41 -07:00
fa29a1b997 v8.0.0 v8.0.0 2018-11-01 14:27:23 +01:00
40a08ee4e5 Merge pull request #784 from balena-io/api-v5
api-binder: Use API v5
2018-11-01 15:25:44 +02:00
b71c59c002 api-binder: Use API v5
Change-type: major
2018-11-01 13:17:30 +02:00
ffd8171b48 v7.25.13 v7.25.13 2018-10-31 23:43:57 +01:00
7834a5bf82 Merge pull request #781 from balena-io/fix-api-update-forced
fix: When calling the /v1/update endpoint, always trigger a target st…
2018-10-31 15:42:13 -07:00
989a5e2c6a fix: When calling the /v1/update endpoint, always trigger a target state apply
getAndSetTargetState in the APIBinder had a check for whether the target state has changed.
When triggering an update from the API, we want to *always* call triggerApplyTarget, especially
when the update is forced. Otherwise the API endpoint doesn't work for forced updates (and in general,
will rarely trigger an update unless a change in the API's target state has happened)

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-10-31 14:26:56 -07:00
35d3f7e687 v7.25.12 v7.25.12 2018-10-31 21:45:52 +01:00
f29cbe23fe Merge pull request #783 from balena-io/fix-service-balena-apikey
fix: Properly check for the balena-api label to inject the API key env var
2018-10-31 13:44:08 -07:00
d5094d8d3b fix: Properly check for the balena-api label to inject the API key env vars
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-10-31 13:13:09 -07:00
be533a0ef6 v7.25.11 v7.25.11 2018-10-31 21:10:19 +01:00
0d7335bdee Merge pull request #782 from balena-io/fix-delete-old-apps
fix: When setting target state, delete old apps from the same source
2018-10-31 13:08:48 -07:00
d6ee60100d fix: When setting target state, delete old apps from the same source
In commit 19cd310da3 this line was deleted,
probably to avoid deleting local mode apps when setting the API target and
viceversa but we need to delete old apps to avoid problems when moving
the device between apps.

We now filter by source to avoid the problem with local mode too.

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-10-31 11:20:42 -07:00
2487ceb25e v7.25.10 v7.25.10 2018-10-26 02:13:33 +02:00