Commit Graph

1170 Commits

Author SHA1 Message Date
e419ea32d2 2.9.0
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
v2.9.0
2016-12-20 21:09:20 -03:00
c553efc1db Merge pull request #371 from resin-io/355-deltas-aufs-mount
Bump docker-delta to v1.0.1 to fix deltas on aufs when there's many layers
2016-12-20 21:07:37 -03:00
dd708ac3f9 Bump docker-delta to v1.0.1 to fix deltas on aufs when there's many layers
Fixes #355
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-20 17:48:38 -03:00
d1e8be2ae3 Merge pull request #288 from resin-io/dependent-apps-docs
document dependent apps feature
2016-12-20 20:46:12 +01:00
68e89fbded 2.8.5
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
v2.8.5
2016-12-20 15:10:19 -03:00
e7388d6338 Merge pull request #354 from resin-io/353-deviceconfig-populate
If there's no entries in deviceConfig table, always create one.
2016-12-20 14:18:43 -03:00
c67977cbed Fix error applying device configuration because deviceConfig table is empty
If there's no entries in deviceConfig table, always create one.

Avoids problems if the supervisor is stopped while running the db initialization
(deviceConfig gets created but not populated).

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-20 03:01:55 -03:00
7006f58267 Merge pull request #366 from resin-io/sort-files-in-base-image-md5
Use find and sort to make the base image hash more deterministic
2016-12-20 03:00:37 -03:00
b10cb20ea4 document dependent apps feature
Signed-off-by: Carlo Maria Curinga <czkzcz.cmc@gmail.com>

Change-Type: minor
2016-12-19 20:33:15 +01:00
9540ed415b Make the base image hash more deterministic
We've been using tar directly on the base image folder, and this makes
the file ordering unpredictable between filesystems, so we use find and
sort so that the files are always tarred in the same order, producing the same
hash in different filesystems.

We also now set the mtime to the specific Unix timestamp 0, to avoid differences
due to timezones.

Also remove the dest folder before calculating the hash.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-17 15:37:22 -03:00
5ca6c30d4d 2.8.4
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
v2.8.4
2016-12-16 19:00:11 -03:00
bb1b93cdf6 Merge pull request #363 from resin-io/362-base-image-build
Build the base image together with the supervisor
2016-12-16 23:58:11 +02:00
7602ff0bdb Merge pull request #365 from resin-io/use-versionist-default
Use versionist's default configuration
2016-12-16 23:56:04 +02:00
2f5df355fa Use versionist's default configuration
I had forgotten to git add versionist.conf in #364 :S
This will be unnecessary if resin-io/versionist#58 is addressed, but
we want it in the meantime.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-16 16:53:53 -03:00
3a3093efa2 Merge pull request #364 from resin-io/versionist
Start using versionist for versioning and changelog
2016-12-16 21:26:20 +02:00
9e327bf7a6 Build the base image together with the supervisor
This commit changes the automation scripts so that the base image
is built together with the rest of the supervisor. We use a hash of
the contents of the base-image folder as tag for the base image so
that unnecessary rebuilds are avoided.

The build scripts are also modified to always clean up the resulting base image
and the image used to build it. We use docker pull and push to enable caching.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-16 16:25:49 -03:00
50b865737b Start using versionist for versioning and changelog
We use the default versionist configuration.
Changelog has been edited to match the versionist format as much as possible.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-15 19:14:07 -03:00
b22470a4c8 Merge pull request #357 from resin-io/rsync_limits
Bump the MAX_BASIS_DIRS limit for rsync.
2016-12-15 14:39:28 +02:00
7a0540e0f5 Bump the MAX_BASIS_DIRS limit for rsync.
Signed-off-by: Michal Mazurek <michal@resin.io>
2016-12-09 16:26:08 +01:00
40675b6f10 2.8.3 2016-12-01 11:20:13 -03:00
fefb1e6928 Fallback to DROP when iptables REJECT is not available
Using REJECT allows better feedback for legitimate users while providing the same level
of security than drop (see http://www.chiark.greenend.org.uk/~peterb/network/drop-vs-reject).

But some hosts don't have REJECT support in the kernel config, so in that case we fall back to DROP.
2016-12-01 11:18:06 -03:00
2b4c674a1a 2.8.2 v2.8.2 2016-11-07 03:27:45 -03:00
1dbab76237 Merge pull request #347 from resin-io/supervisor-base-20161103
Update the supervisor base to 20161103 to include the i386 fix
2016-11-07 03:23:53 -03:00
e85bdae265 Merge pull request #346 from resin-io/fix-undefined-app
Fix an error when trying to call logSystemEvent with an undefined app
2016-11-07 08:16:06 +02:00
586f271a30 Update the supervisor base to 20161103 to include the i386 fix 2016-11-04 12:47:09 -03:00
16fd43f3c7 Merge pull request #345 from resin-io/hotfix
nodejs: Restrict package configuration to the x86 arch
2016-11-03 18:24:18 -03:00
01cd0cbc5a Fix an error when trying to call logSystemEvent with an undefined app 2016-11-03 19:43:15 +00:00
3566755a17 nodejs: Restrict package configuration to the x86 arch
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 18:41:59 +01:00
1b8f395230 Merge pull request #340 from resin-io/fix_i387
Configure nodejs correctly to include i387 arch
2016-11-03 14:23:57 +00:00
e735e8f5d4 CHANGELOG.md: Sign
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:17:19 +01:00
82dbfc5e67 nodejs: Fix i387 architecture
Because the i397 architecture has no support for the SSE instruction set
we must make sure we do not issue any of these instructions.

Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:17:19 +01:00
321a458020 COPYING.Apache-2.0: Add file
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:17:09 +01:00
93ff0287a7 meta-resin-supervisor: Create new layer
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:16:37 +01:00
38d69a8182 Merge pull request #339 from resin-io/remove-stuff-from-readme
Update README.md
2016-11-01 18:14:09 -03:00
fb28f1df7f Merge pull request #344 from resin-io/343-purge-error-msg
Provide a better error message when app is not found for purging
2016-11-01 10:28:04 -03:00
5bcff712dc Provide a better error message when app is not found for purging 2016-11-01 12:20:51 +00:00
f38715177f Merge pull request #342 from resin-io/341-fix-device-config
Only iterate through remote apps to set device config
2016-11-01 09:08:08 -03:00
0e2710152b Only iterate through remote apps to set device config 2016-10-31 21:41:35 +00:00
d470af91cd Update README.md
* Remove the jenkins build status badge, as it usually breaks and also doesn't reflect the latest master build but the latest build on any PR.
* Remove the paragraph about the Go rewrite as it might deter PRs, and the rewrite has been delayed and will be re-architected.
2016-10-31 09:55:03 -03:00
58fb5c0a06 2.8.1 v2.8.1 2016-10-31 03:50:09 +00:00
520241c018 Merge pull request #338 from resin-io/dep-app-delete-fix
Properly delete dependent apps and their corresponding devices
2016-10-31 00:49:20 -03:00
9af4ed0397 Properly delete dependent apps and their corresponding devices 2016-10-31 03:05:45 +00:00
3a86d8ec48 2.8.0 v2.8.0 2016-10-30 21:51:25 -03:00
fe68b27acb Merge pull request #336 from resin-io/request-timeout
Add Promise timeouts to all external requests
2016-10-30 21:47:21 -03:00
6829f68839 Merge pull request #335 from resin-io/no-hostconfig-on-start
Improvements in container create/start
2016-10-29 11:01:44 -03:00
ac02d50715 Improvements in container create/start:
* Add HostConfig in container create instead of start
* Make it clear in logs when container was already running
2016-10-29 10:20:44 -03:00
c06e047fba Add Promise timeouts to all external requests 2016-10-28 15:12:08 -03:00
70da009c4e Merge pull request #138 from resin-io/133-stop-app-before-reboot-shutdown
Stop all apps before rebooting or shutting down
2016-10-27 20:32:19 -03:00
3325ff47d4 Stop all apps before rebooting or shutting down 2016-10-27 20:18:30 -03:00
d495e838b4 Merge pull request #333 from resin-io/cleanup-after-build
Clean up after build to avoid polluting the Jenkins server
2016-10-27 18:02:46 -03:00