Commit Graph

984 Commits

Author SHA1 Message Date
Pablo Carranza Velez
54288f036a Improve the docker compose API
- Validate the options in the YAML file
- Define bind mounts for each service as in Resin apps
- Keep the modified compose file inside the supervisor's /data folder
- Fix error reporting in the first stage of "up"
2016-07-22 23:17:25 -03:00
Pablo Carranza Velez
b97fe634d5 Add default binds to containers created with API, add /v1/containers/update endpoint, and add a /data bind with an internal id 2016-07-22 23:17:25 -03:00
Page-
d652e13005 Merge pull request #203 from axbannaz/202_fix_prox_and_propagate_proxy_to_dind
202 fix prox and propagate proxy to dind
2016-07-22 14:42:57 -07:00
Kostas Lekkas
23c3ed8719 Merge pull request #218 from resin-io/217-fix-double-logs
Fix double-printed logs after container restart
2016-07-22 10:23:38 +03:00
Kostas Lekkas
761a0cbd82 Fix double-printed logs after container restart 2016-07-21 22:39:19 +03:00
Page-
72ed2883fe Merge pull request #214 from resin-io/linting
Run the linting automatically as part of the jenkins build.
2016-07-19 16:36:11 -07:00
Pagan Gazzard
8715534d84 Run the linting automatically as part of the jenkins build. 2016-07-19 14:37:46 -07:00
Pablo Carranza Vélez
965b75816d Merge pull request #210 from resin-io/208-remove-run-dbus
Do not bind mount /run/dbus to /run/dbus
2016-07-19 14:52:42 -03:00
Pablo Carranza Velez
0609619863 Do not bind mount /run/dbus to /run/dbus 2016-07-19 02:13:34 +00:00
Pablo Carranza Vélez
711a9a8e22 Merge pull request #212 from resin-io/211-catch-non-btrfs-imagerootdir
Default to not bind mounting kmod if container distro can't be found
2016-07-18 23:08:44 -03:00
Pablo Carranza Velez
f5b0a4e7e7 Default to not bind mounting kmod if container distro can't be found 2016-07-18 16:49:45 +00:00
Pablo Carranza Vélez
8ce7b72854 Merge pull request #207 from resin-io/206-log-timestamp
Use log-timestamp to add timestamps to logs
2016-07-18 13:46:53 -03:00
Pablo Carranza Velez
102eb460db Use log-timestamp to add timestamps to logs 2016-07-18 14:01:16 +00:00
Pablo Carranza Velez
427a19f2ca 1.12.2 2016-07-15 23:56:09 +00:00
Pablo Carranza Vélez
fae4e6372d Merge pull request #205 from resin-io/204-bind-mount-kmod
WIP: Bind mount kmod if the container is debian or raspbian
2016-07-15 20:54:22 -03:00
Pablo Carranza Velez
5f926faa70 Bind mount kmod if the container is debian or raspbian
Use docker-toolbelt module.
The bind mount is read-only.
2016-07-15 20:46:09 +00:00
Arash Bannazadeh-Mahani
2ecc0fb715 Propagate the runtime proxy info down to the dind docker. 2016-07-08 14:58:50 -07:00
Arash Bannazadeh-Mahani
a190c48f2f Fix: Did not properly propagate no_proxy var 2016-07-08 14:57:36 -07:00
Kostas Lekkas
8cc68e2245 Merge pull request #192 from resin-io/184-dind-dev-bind-mount
dind: add helper scripts to speed-up development with bind mounts
2016-07-08 20:23:37 +03:00
Pablo Carranza Velez
819428850f 1.12.1 2016-07-08 14:02:06 -03:00
Kostas Lekkas
991795de96 dind: bind mount /sys/fs/cgroup only if host is Linux 2016-07-08 20:00:22 +03:00
Kostas Lekkas
779dcf2530 Merge pull request #193 from resin-io/lekkas-conf-generate
Update README.md
2016-07-07 09:21:32 +03:00
Kostas Lekkas
c39d6a7489 Update README.md
Mention the Resin CLI way to generate a `config.json`
2016-07-07 09:02:10 +03:00
Pablo Carranza Vélez
a9f24722c1 Merge pull request #197 from resin-io/196-fix-preloading
Fix preloaded apps by passing appId to extendEnvVars
2016-07-06 20:39:18 -03:00
Kostas Lekkas
21003ba467 dind: add logs action, move all container management code into Makefile 2016-07-07 00:20:12 +03:00
Pablo Carranza Vélez
08d74b578b Fix preloaded apps by passing appId to extendEnvVars 2016-07-06 17:56:51 -03:00
Kostas Lekkas
1aca595eb2 dind: make supervisor image configurable 2016-07-06 11:47:25 +03:00
Kostas Lekkas
6aba97dce0 dind: bind-mount tool: deploy image to the correct registry 2016-07-06 02:18:30 +03:00
Kostas Lekkas
39af247233 dind: add helper scripts to speed-up development with bind mounts 2016-07-06 01:48:11 +03:00
Kostas Lekkas
59cf4fd652 Merge pull request #191 from resin-io/188-use-docker-build-arg
dind: use --parse-arg to change dropbear config during build-time
2016-07-06 01:47:36 +03:00
Kostas Lekkas
aff199f42f dind: use --parse-arg to change dropbear config during build-time 2016-07-05 12:57:37 +03:00
Pablo Carranza Vélez
c4f84e619f Merge pull request #185 from axbannaz/addproxysupport
Add proxy support and CA Root Cert
2016-07-02 10:18:03 -03:00
Arash Bannazadeh-Mahani
572b43a696 Carry in the no_proxy env var in as well. critical to exclude internal
servers which do not need proxy server to access.
2016-06-30 10:47:01 -07:00
Arash Bannazadeh-Mahani
e5513c0635 Adding a flag, use_proxy_at_runtime, to use the same build proxy for
runtime. otherwise variables rt_http_proxy and rt_https_proxy are need
to be set prior calling make, if there is a need to proxy for runtime.
2016-06-30 10:37:52 -07:00
Arash Bannazadeh-Mahani
324d187dc3 adding support to include internal CA Certs used by (an example) proxy servers 2016-06-28 12:46:27 -07:00
Arash Bannazadeh-Mahani
a5d112c061 Remove go build run containers 2016-06-28 11:42:52 -07:00
Arash Bannazadeh-Mahani
87e043510c Integrating http_proxy https_proxy environment variables into docker build and final docker image 2016-06-28 11:22:24 -07:00
Pablo Carranza Velez
9d97aaf30c 1.12.0 2016-06-28 17:50:12 +00:00
Pablo Carranza Vélez
52ef519ebc Merge pull request #172 from resin-io/151-compose
Add endpoints for docker-compose up and down
2016-06-28 14:43:35 -03:00
Pablo Carranza Velez
ce7c9931bf Add docker-compose 1.7.1 on all alpine builds 2016-06-27 17:01:23 +00:00
Kostas Lekkas
422a60c2ec Merge pull request #179 from resin-io/178-dind-docker-1.10.3-rsync-dropbear
178 dind docker 1.10.3 rsync dropbear
2016-06-25 15:05:26 +03:00
Kostas Lekkas
e45e7cf9b2 dind: add dropbear and prevent passwordless login by default 2016-06-25 15:04:23 +03:00
Kostas Lekkas
ab1ed3e681 dind: add docker 1.10.3 2016-06-25 15:04:23 +03:00
Kostas Lekkas
87be94f2d4 dind: add rsync 2016-06-25 15:04:23 +03:00
Kostas Lekkas
858e127ed0 dind: add DOCKER_ROOT env var 2016-06-25 15:04:23 +03:00
Pablo Carranza Velez
f9f7debe71 Add docker-compose 1.7.1 on all debian builds 2016-06-24 21:08:47 +00:00
Pagan Gazzard
6cb4b090c5 Rename pullImage to pullAndProtectImage to make it a bit clearer that it isn't a simple pull 2016-06-24 21:08:47 +00:00
Pagan Gazzard
707ed7e1f6 Deduplicate compose command running logic. 2016-06-24 21:08:47 +00:00
Pagan Gazzard
a371e35d5c Deduplicate knex app fetching logic. 2016-06-24 21:08:47 +00:00
Pablo Carranza Velez
4278b6baf1 Add endpoints for docker-compose up and down 2016-06-24 21:08:46 +00:00