Commit Graph

2189 Commits

Author SHA1 Message Date
Cameron Diver
5bb3820d6a
Switch to local mode in unmanaged mode
Change-type: major
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-14 15:01:41 +00:00
Cameron Diver
91a6340563
Move config.json flag back to the database
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-14 15:01:40 +00:00
Cameron Diver
19f8b75766
Revert "localMode: Remove local mode from device-config"
This reverts commit eda477ff86.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-14 11:05:57 +00:00
Resin CI
edb1f3b1e0 v8.7.1 2018-12-13 16:33:15 +02:00
CameronDiver
6011688041
Merge pull request #846 from balena-io/fix-sync
Fix sync.js after move to balena-sync
2018-12-13 14:31:39 +00:00
Cameron Diver
63d9d8df38
Fix sync.js after move to balena-sync
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-13 14:20:14 +00:00
Resin CI
6840c52b7c v8.7.0 2018-12-13 01:25:44 +02:00
Pablo Carranza Vélez
cbdba686f2
Merge pull request #835 from balena-io/os-migration-backup
Add the ability to restore volumes from a backup.tgz in the data part…
2018-12-12 20:24:20 -03:00
Pablo Carranza Velez
b94921263a Use rimraf package instead of handmade function
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 14:22:15 -03:00
Pablo Carranza Velez
af717a3761 Stricter validation for backup file contents
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 14:17:34 -03:00
Pablo Carranza Velez
42c39ed36d dindctl: Allow mounting a backup.tgz to test migration backups
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 14:17:34 -03:00
Pablo Carranza Velez
501272266b Add the ability to restore volumes from a backup.tgz in the data partition
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 14:17:33 -03:00
Resin CI
289b2dad4b v8.6.11 2018-12-12 19:10:52 +02:00
Pablo Carranza Vélez
057f62fcbf
Merge pull request #817 from balena-io/balena-sync
Switch from resin-sync to balena-sync, update knex, sqlite3, lodash, coffee-coverage
2018-12-12 14:08:44 -03:00
Pablo Carranza Velez
35e11de69d Fix webpack loader for knex migrations so it works with knex 0.15.2
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:31 -03:00
Pablo Carranza Velez
7854c48f5a Ignore additional knex mssql dependencies in webpack build
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:31 -03:00
Pablo Carranza Velez
b52c92a044 Update lodash to v4.17.5
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:30 -03:00
Pablo Carranza Velez
3c52faea54 Remove the unused register-coffee-coverage
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:30 -03:00
Pablo Carranza Velez
d5b2fcd4dd Update knex to 0.15.2 and sqlite3 to 4.0.4
We also replace a createTableIfNotExists in the migrations with hasTable then createTable, to
avoid a warning message about it being not recommended.

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:29 -03:00
Pablo Carranza Velez
cbcf046d91 sync.js: Switch from resin-sync to balena-sync
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-12 13:42:28 -03:00
Resin CI
2a183e1258 v8.6.10 2018-12-12 18:41:59 +02:00
Pablo Carranza Vélez
f7fd34d96f
Merge pull request #842 from balena-io/fix-resin-cleanup
Fix typo that prevented deleting old resin/ supervisor images
2018-12-12 13:40:16 -03:00
Pablo Carranza Velez
a52683ade0 Fix typo that prevented deleting old resin/ supervisor images
Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-12-11 13:27:39 -03:00
Resin CI
8a42d0020f v8.6.9 2018-12-11 18:06:49 +02:00
Giovanni Garufi
161645bcbc
Merge pull request #747 from balena-io/nested-changelog
Nested changelog
2018-12-11 17:05:03 +01:00
Giovanni Garufi
3134f0dceb versionbot: Add changelog yml file
This file allows other components to uniquely parse the information that
is contained in the changelog. It will be automatically managed by
versionist by appending the new commits on top. This is needed to
provide nested-changelogs.

Change-type: patch
Signed-off-by: Giovanni Garufi <giovanni@resin.io>
2018-12-11 16:31:06 +01:00
Resin CI
737c85dee4 v8.6.8 2018-12-07 12:48:05 +02:00
Heds Simons
8391ca741a
Merge pull request #837 from balena-io/836-unexposed-ip-address
api: Ensure Supervisor API returns IP addresses
2018-12-07 10:46:19 +00:00
Heds Simons
80203f29ad
api: Ensure Supervisor API returns IP addresses
The move from pure CoffeeScript to TypeScript has brought a
few changes to the way transpiling happens. Previously, through
serendipity, the way `startIPAddressUpdate` was called worked
because of the binding convention pre-transpiling.

However, with the move to TypeScript, this has altered and
the assumption that a lack of parentheses would call the
method before supplying a callback into the returned function
is incorrect. The method must be specifically called first.

Connects-to: #836
Change-type: patch
Signed-off-by: Heds Simons <heds@balena.io>
2018-12-07 10:37:00 +00:00
Resin CI
2f71b70aaa v8.6.7 2018-12-04 20:15:49 +02:00
CameronDiver
cfdba17b1e
Merge pull request #832 from balena-io/reduce-pull-usage
Update docker-progress to reduce memory usage when pulling images
2018-12-04 19:14:21 +01:00
Cameron Diver
5c3d7f20bc
Update docker-progress to reduce memory usage when pulling images
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 17:05:23 +00:00
Resin CI
03ff1c3614 v8.6.6 2018-12-04 18:53:14 +02:00
Heds Simons
a8368104ef
Merge pull request #831 from balena-io/830-api-docs-envvar-label
docs: Clarify Supervisor envvars exposure via label
2018-12-04 16:50:56 +00:00
Heds Simons
79e7fb0b93
docs: Clarify Supervisor envvars exposure via label
Connects-to: #830
Change-type: patch
Signed-off-by: Heds Simons <heds@whaleway.net>
2018-12-04 16:38:26 +00:00
Resin CI
33549aa344 v8.6.5 2018-12-04 12:13:08 +02:00
CameronDiver
836f5d4e6c
Merge pull request #829 from balena-io/update-mixpanle
Update mixpanel node dependency, to pick up path changes
2018-12-04 11:11:29 +01:00
Cameron Diver
e409ebf27d
Update mixpanel node dependency, to pick up path changes
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-12-04 09:35:40 +00:00
Resin CI
6af1aa39d5 v8.6.4 2018-11-30 20:48:24 +02:00
Pablo Carranza Vélez
5b5a3eb85a
Merge pull request #806 from balena-io/docs-legacy-env-vars
docs: Clarify that older supervisors use RESIN_ variables
2018-11-30 13:46:58 -05:00
Pablo Carranza Velez
7fe94ec115 docs: Clarify that older supervisors use RESIN_ variables
We add a note on state endpoint docs to use RESIN_ variables. Since users will likely navigate directly to each endpoint, we add the note on the docs for each endpoint, except for endpoints added in >= 7.21.0 (since that version never made it to production).

We also switch some variables that were still referenced as RESIN_ to now use BALENA_.

Change-type: patch
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-30 14:45:10 -03:00
Resin CI
fa89b5881f v8.6.3 2018-11-29 13:43:27 +02:00
CameronDiver
d2fa9994df
Merge pull request #826 from balena-io/local-mode-unmanaged-fixes
Local mode unmanaged fixes
2018-11-29 12:42:01 +01:00
Cameron Diver
64a8c03eba
unmanged: Don't require a device name when setting a target state
Also set a default device name of 'local', to avoid an undefined value.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-29 11:35:08 +00:00
Cameron Diver
eda477ff86
localMode: Remove local mode from device-config
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-29 11:35:07 +00:00
Resin CI
5015721524 v8.6.2 2018-11-28 20:20:01 +02:00
CameronDiver
6f64920c9a
Merge pull request #825 from balena-io/fix-net-types
compose: Fix network option field names and update dockerode types
2018-11-28 19:17:18 +01:00
Cameron Diver
5c04df2cb8
compose: Fix network option field names and update dockerode types
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-28 17:43:31 +00:00
Resin CI
fd68ee6a1c v8.6.1 2018-11-28 19:41:34 +02:00
CameronDiver
e281b4d5c2
Merge pull request #814 from balena-io/fix-migration-from-legacy-apps
fix: When updating from a legacy supervisor, use updated resource ids…
2018-11-28 18:39:30 +01:00