Commit Graph

1456 Commits

Author SHA1 Message Date
Pablo Carranza Vélez
3a3093efa2 Merge pull request #364 from resin-io/versionist
Start using versionist for versioning and changelog
2016-12-16 21:26:20 +02:00
Pablo Carranza Velez
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
Pablo Carranza Velez
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
Pablo Carranza Vélez
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
Michal Mazurek
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
Pablo Carranza Velez
40675b6f10 2.8.3 2016-12-01 11:20:13 -03:00
Pablo Carranza Velez
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
Pablo Carranza Velez
2b4c674a1a 2.8.2 2016-11-07 03:27:45 -03:00
Pablo Carranza Vélez
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
Page-
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
Pablo Carranza Velez
586f271a30 Update the supervisor base to 20161103 to include the i386 fix 2016-11-04 12:47:09 -03:00
Pablo Carranza Vélez
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
Pagan Gazzard
01cd0cbc5a Fix an error when trying to call logSystemEvent with an undefined app 2016-11-03 19:43:15 +00:00
Theodor Gherzan
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
Theodor Gherzan
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
Theodor Gherzan
e735e8f5d4 CHANGELOG.md: Sign
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:17:19 +01:00
Theodor Gherzan
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
Theodor Gherzan
321a458020 COPYING.Apache-2.0: Add file
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:17:09 +01:00
Theodor Gherzan
93ff0287a7 meta-resin-supervisor: Create new layer
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-11-03 14:16:37 +01:00
Pablo Carranza Vélez
38d69a8182 Merge pull request #339 from resin-io/remove-stuff-from-readme
Update README.md
2016-11-01 18:14:09 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
5bcff712dc Provide a better error message when app is not found for purging 2016-11-01 12:20:51 +00:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
0e2710152b Only iterate through remote apps to set device config 2016-10-31 21:41:35 +00:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
58fb5c0a06 2.8.1 2016-10-31 03:50:09 +00:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
9af4ed0397 Properly delete dependent apps and their corresponding devices 2016-10-31 03:05:45 +00:00
Pablo Carranza Velez
3a86d8ec48 2.8.0 2016-10-30 21:51:25 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Vélez
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
Pablo Carranza Velez
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
Pablo Carranza Velez
c06e047fba Add Promise timeouts to all external requests 2016-10-28 15:12:08 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
3325ff47d4 Stop all apps before rebooting or shutting down 2016-10-27 20:18:30 -03:00
Pablo Carranza Vélez
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
Pablo Carranza Velez
914dedc453 Clean up after build to avoid polluting the Jenkins server 2016-10-27 12:14:34 -03:00
Pablo Carranza Vélez
b0154dedb7 Merge pull request #332 from resin-io/docker-sock-dind
Mount the docker socket in the default path for dind
2016-10-27 11:21:25 -03:00
Pablo Carranza Velez
9e3612fb18 Mount the docker socket in the default path for dind 2016-10-26 09:12:28 -03:00
Pablo Carranza Vélez
88e512a69b Merge pull request #327 from resin-io/request-progress-2.0.1
Update request-progress to v2.0.1
2016-10-25 17:47:50 -03:00
Pablo Carranza Velez
6077f1add4 Update request-progress to v2.0.1 2016-10-25 16:29:53 -03:00
Pablo Carranza Velez
ad1a78cdf4 2.7.1 2016-10-24 16:27:31 -03:00
Pablo Carranza Vélez
6ec98c7a84 Merge pull request #330 from resin-io/gosuper-multiargs
Use multiArgs to promisify gosuper requests
2016-10-24 16:26:28 -03:00
Pablo Carranza Velez
e9e1a0b277 Use multiArgs to promisify gosuper requests
With the bluebird update to v3, all requests to gosuper (most notably, getting the IP addresses) got broken as we use .spread, which requires the Promise to fulfill with an array. So we need to add multiArgs so that getAsync and postAsync return an array.
2016-10-24 16:26:00 -03:00
Pablo Carranza Vélez
248e798e11 Merge pull request #331 from resin-io/also-log-docker-download
Also make it explicit in mixpanel events when it's a full image download
2016-10-24 16:25:14 -03:00
Pablo Carranza Velez
d3761a699b Also make it explicit in mixpanel events when it's a full image download 2016-10-24 16:11:47 -03:00
Pablo Carranza Vélez
3b3d2160b6 Merge pull request #326 from resin-io/log-delta-usage
Log whether deltas are being used when downloading an app
2016-10-24 16:02:36 -03:00
Pablo Carranza Vélez
1e3db9145e Merge pull request #328 from resin-io/package-json-details
Add some missing details to package.json
2016-10-24 15:54:07 -03:00
Pablo Carranza Velez
ec875004d6 Add some missing details to package.json 2016-10-23 21:04:40 -03:00
Pablo Carranza Velez
43c1b2f92c Log whether deltas are being used when downloading an app 2016-10-23 20:18:20 -03:00