Commit Graph

1098 Commits

Author SHA1 Message Date
Pablo Carranza Vélez
719df9adfe Merge pull request #271 from resin-io/239-fix-disable-logs-to-display
Fix disabling logs to display on newer OS with different service name
2016-10-05 16:07:43 -03:00
Pablo Carranza Velez
3cbe56c978 Fix disabling logs to display on newer OS with different service name 2016-10-05 19:04:47 +00:00
Pablo Carranza Vélez
60bf1170e0 Merge pull request #280 from resin-io/cache-intermediate-images
Cache intermediate images in the build to allow faster builds
2016-10-05 13:11:19 -03:00
Pablo Carranza Vélez
1b2543937a Merge pull request #294 from resin-io/use-getregistryandname-from-docker-toolbelt
Use getRegistryAndName from docker-toolbelt 1.2.0
2016-10-04 19:25:46 -03:00
Pablo Carranza Velez
d2f2622660 Cache intermediate images in the build to allow faster builds 2016-10-04 18:54:06 -03:00
Pablo Carranza Velez
503e043c4c In cleanup, normalize all image tags for comparison 2016-10-04 17:48:11 -03:00
Pablo Carranza Velez
ddaa9f12db Use getRegistryAndName from docker-toolbelt 1.2.0 2016-10-04 14:43:45 -03:00
Pablo Carranza Velez
8ff8d0a7c0 2.5.0 2016-10-01 00:29:57 -03:00
Pablo Carranza Vélez
17e36f9045 Merge pull request #238 from resin-io/235-dependent-apps
Dependent apps and devices
2016-10-01 00:28:43 -03:00
Pablo Carranza Velez
a38e2e3a4a Changelog for the several dependent devices changes 2016-09-30 23:40:03 -03:00
Pagan Gazzard
19db0e78e0 Switch to v2 api to be able to set is_online 2016-09-30 23:40:03 -03:00
Pablo Carranza Velez
a6f2ff074c Dependent devices, state endpoint, extra env vars and deviceConfig:
* Implement proxyvisor API with dependent device handling
* Use the state endpoint from the API to get the full device state
* Add a deviceConfig db table to store host config separately, and allow deleting config.txt entries
* Expose RESIN_APP_NAME, RESIN_APP_RELEASE, RESIN_DEVICE_NAME_AT_INIT, RESIN_DEVICE_TYPE and RESIN_HOST_OS_VERSION env vars
* Add missing error handler on a stream in docker-utils
2016-09-30 23:40:03 -03:00
Pablo Carranza Velez
2968e84135 2.4.0 2016-09-30 19:23:55 -03:00
Pablo Carranza Vélez
117c87d6ab Merge pull request #279 from resin-io/278-cleanup-volumes-and-force
On cleanup, force removal for images and containers, and remove container volumes
2016-09-30 15:17:37 -03:00
Pablo Carranza Velez
e7acff0bcf On cleanup, force removal for images and containers, and remove container volumes 2016-09-29 19:34:19 -03:00
Page-
e0b24560b7 Merge pull request #275 from resin-io/update-dindctl-logs
Update `dindctl logs` to use journalctl now that we send logs there
2016-09-29 14:33:34 -07:00
Pagan Gazzard
887a4714b8 Update dindctl logs to use journalctl now that we send logs there 2016-09-29 14:33:17 -07:00
Pablo Carranza Vélez
bb0f00b5f1 Merge pull request #272 from resin-io/242-system-logs-for-actions
Add system logs for Shutdown, Reboot and Purge
2016-09-29 15:02:15 -03:00
Pablo Carranza Velez
f385fe6bcc Add system logs for Shutdown, Reboot and Purge 2016-09-28 03:32:38 +00:00
Pablo Carranza Velez
a97342bf9c 2.3.0 2016-09-26 20:32:57 +00:00
Pablo Carranza Vélez
b5281b0c96 Merge pull request #261 from resin-io/260-delete-then-download
Implement delete-then-download update strategy
2016-09-26 16:41:56 -03:00
Pablo Carranza Vélez
8c1aa1e180 Merge pull request #268 from resin-io/dindctl-src-path
dindctl: fix path for source with OE image
2016-09-26 16:41:11 -03:00
Pablo Carranza Velez
bc8f0de95f dindctl: fix path for source with OE image 2016-09-26 18:17:12 +00:00
Pablo Carranza Velez
4a99fd8803 Implement delete-then-download update strategy 2016-09-26 18:16:01 +00:00
Kostas Lekkas
b5fc0df066 Bump node-docker-delta to 0.0.12 2016-09-26 12:00:08 -03:00
Pablo Carranza Velez
b368ccfd3a 2.2.1 2016-09-26 11:59:36 -03:00
Petros Angelatos
49a75e4dc5 Merge pull request #265 from resin-io/fix-multiple-env
build: fix multiple env var definition syntax
2016-09-23 15:55:49 -07:00
Petros Angelatos
e12f289d9d build: fix multiple env var definition syntax
When an ENV command has multiple environment variables defined they
key/value should be separated by an equals sign, not by a space.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-23 15:55:28 -07:00
Kostas Lekkas
c2f332fc62 2.2.0 2016-09-23 17:38:08 +03:00
Praneeth
eaa4cb01ab Merge pull request #262 from resin-io/Issue_247
Add resin-vpn interface IP filtering to gosupervisor
2016-09-23 19:57:25 +05:30
Praneeth Bodduluri
81cb27a876 Add resin-vpn interface IP filtering to gosupervisor 2016-09-23 18:46:28 +05:30
Kostas Lekkas
00ddb04ca6 Merge pull request #259 from resin-io/258-dind-mount-kmod
dind: mount kmod
2016-09-22 08:37:40 +03:00
Kostas Lekkas
05690a81dc typo: fix startAppError message 2016-09-20 11:35:28 +03:00
Kostas Lekkas
4d448030a7 dind: bind-mount /bin/kmod:/bin/kmod 2016-09-20 11:35:28 +03:00
Petros Angelatos
143f7d8aef Merge pull request #256 from resin-io/fix-node-modules
revert overly optimistic cleanup of lodash module
2016-09-15 17:57:01 -07:00
Petros Angelatos
956d79f3c1 revert overly optimistic cleanup of lodash module
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-15 16:26:25 -07:00
Petros Angelatos
1740cf615c Merge pull request #223 from resin-io/rockerfile-based-build
oe-images build system integration
2016-09-14 16:01:53 -07:00
Petros Angelatos
edc7804de7 build: pin runtime image to specific date
This will prevent the builds from failing if we update the base image

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 22:33:37 +00:00
Petros Angelatos
0546ba51d9 invoke the linter using npm 2016-09-14 22:33:36 +00:00
Petros Angelatos
762ff2b498 add changelog entries
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 22:33:26 +00:00
Petros Angelatos
fd44a92782 don't install coffeescript in runtime image
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:37 +00:00
Petros Angelatos
ca91fd179b compress gosuper with upx
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:37 +00:00
Petros Angelatos
83393c04e3 switch to golang 1.6 to make the binary upx-able
https://github.com/golang/go/issues/13974
5e7110b92b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +00:00
Petros Angelatos
429aa1c8d2 do a more comprehensive cleanup of node_modules
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +00:00
Petros Angelatos
e70ee292a6 minimise ENV commands to have less image layers
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +00:00
Petros Angelatos
eee400f39f integrate with busybox init system
busybox's init uses /etc/inittab for configuration just like sysvinit,
however it doesn't use any runlevels.

the tty part of inittab is appended to "/dev/", and it becomes connected
to the stdout of the spawned process

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:35 +00:00
Petros Angelatos
488ca41621 build: implement multi-Dockerfile build process
This build strategy lends itself to how Rockerfiles work. In the build
Dockerfile all the build utilities (e.g gcc, python) are installed and
run the build process to produce some build artifacts. There are two
build Dockerfiles, one for the nodejs part and one for the golang part.
The build artifacts of these are combined into the runtime Dockerfile.
For all this to work there is some minimal glue implemented in the
Makefile.

Part of this commit is a switch of the base image the runtime is based
on to the minimal OpenEmbedded one produced by #198

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:35 +00:00
Petros Angelatos
276c89e7c5 churn: pretty format Makfile targets
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:02 +00:00
Petros Angelatos
8ad4411469 cleanup: remove unused tar file from old deltas
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:01 +00:00
Petros Angelatos
8567a6a222 build: remove dockerfiles for debian and alpine
The old build system will be replaced

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:01 +00:00