<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/docker, branch google-code-import</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Bump Docker build to GitLab v7.9.1</title>
<updated>2015-03-30T15:18:43+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2015-03-30T15:18:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b06a4ff5a73b81362f24a3893860a936ed84a5c9'/>
<id>b06a4ff5a73b81362f24a3893860a936ed84a5c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into 'master'</title>
<updated>2015-03-26T23:47:00+00:00</updated>
<author>
<name>Sytse (admin)</name>
<email>sytse+admin@gitlab.com</email>
</author>
<published>2015-03-26T23:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=708c39ff574024a42711718bdd40beb91d537259'/>
<id>708c39ff574024a42711718bdd40beb91d537259</id>
<content type='text'>
Separate Dockerfile for Data and Application

This is based on #1158

Instead of creating data container from same docker image, we create separate docker image for data container to avoid keeping original docker image after upgrading to new version. (That results in 1GB space that cannot be freed)

See merge request !409
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Separate Dockerfile for Data and Application

This is based on #1158

Instead of creating data container from same docker image, we create separate docker image for data container to avoid keeping original docker image after upgrading to new version. (That results in 1GB space that cannot be freed)

See merge request !409
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump Docker build to GitLab v7.9.0</title>
<updated>2015-03-23T12:11:38+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2015-03-23T12:11:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a2e161cb35eb8b755ebdff92ab95f0fe4ca5d87d'/>
<id>a2e161cb35eb8b755ebdff92ab95f0fe4ca5d87d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate Dockerfile for Data and Application</title>
<updated>2015-03-20T19:03:14+00:00</updated>
<author>
<name>Jozef Vaclavik</name>
<email>jozef@snabb.me</email>
</author>
<published>2015-03-20T19:03:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=71e6871737bebbb7164f1c0853120cd209428259'/>
<id>71e6871737bebbb7164f1c0853120cd209428259</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade Docker image to GitLab v7.8.3</title>
<updated>2015-03-10T16:06:58+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2015-03-10T16:06:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1fec4eff361fed0fecd2928ef83d928fab5e1976'/>
<id>1fec4eff361fed0fecd2928ef83d928fab5e1976</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Dockerfile for GitLab 7.8.1</title>
<updated>2015-03-01T08:40:04+00:00</updated>
<author>
<name>Robert Schilling</name>
<email>rschilling@student.tugraz.at</email>
</author>
<published>2015-03-01T08:40:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7486bc0ae33adc141abbca2ea5dea833e56d5409'/>
<id>7486bc0ae33adc141abbca2ea5dea833e56d5409</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Gracefully shutdown services in Docker container</title>
<updated>2015-02-24T11:20:57+00:00</updated>
<author>
<name>kfei</name>
<email>kfei@kfei.net</email>
</author>
<published>2014-12-17T08:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9338c6325263d950966e87ddb23095075f18558e'/>
<id>9338c6325263d950966e87ddb23095075f18558e</id>
<content type='text'>
The problem is `docker stop` only sends SIGTERM to the PID 1 inside the
container, and the PID 1 (`/bin/sh -c ...`) does not take care of
signals. Hence the services (e.g., postgresql, redis, sidekiq, etc)
never have chances to graceful shutdown. Docker just kills the container
after its 10 seconds timeout by default.

What this commit does:

1) Add a wrapper as the default executable of Docker container. Which
   starts services through `runit`, reconfigure Gitlab by `gitlab-ctl`
   and gracefully shutdown all services when a SIGTERM is received.
2) Create an `assets` directory for assets.
3) Add `.dockerignore` file.

Now you'll see the following log messages after `docker stop`:
```
SIGTERM signal received, try to gracefully shutdown all services...
ok: down: logrotate: 1s, normally up
ok: down: nginx: 0s, normally up
ok: down: postgresql: 1s, normally up
ok: down: redis: 0s, normally up
ok: down: sidekiq: 0s, normally up
ok: down: unicorn: 0s, normally up
```

Signed-off-by: kfei &lt;kfei@kfei.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem is `docker stop` only sends SIGTERM to the PID 1 inside the
container, and the PID 1 (`/bin/sh -c ...`) does not take care of
signals. Hence the services (e.g., postgresql, redis, sidekiq, etc)
never have chances to graceful shutdown. Docker just kills the container
after its 10 seconds timeout by default.

What this commit does:

1) Add a wrapper as the default executable of Docker container. Which
   starts services through `runit`, reconfigure Gitlab by `gitlab-ctl`
   and gracefully shutdown all services when a SIGTERM is received.
2) Create an `assets` directory for assets.
3) Add `.dockerignore` file.

Now you'll see the following log messages after `docker stop`:
```
SIGTERM signal received, try to gracefully shutdown all services...
ok: down: logrotate: 1s, normally up
ok: down: nginx: 0s, normally up
ok: down: postgresql: 1s, normally up
ok: down: redis: 0s, normally up
ok: down: sidekiq: 0s, normally up
ok: down: unicorn: 0s, normally up
```

Signed-off-by: kfei &lt;kfei@kfei.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump GitLab for Docker to version 7.8.0</title>
<updated>2015-02-23T14:08:46+00:00</updated>
<author>
<name>shafan</name>
<email>kepha.forum@hotmail.fr</email>
</author>
<published>2015-02-23T14:08:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e23110e6f158608c75e4c661fd57a4bb9c96334a'/>
<id>e23110e6f158608c75e4c661fd57a4bb9c96334a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump GitLab for Docker to version 7.7.2</title>
<updated>2015-01-30T21:29:41+00:00</updated>
<author>
<name>Vincent Robert</name>
<email>vincent.robert@genezys.net</email>
</author>
<published>2015-01-30T21:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a7a45dc949b9475dff674be57e8d3a7aa8811857'/>
<id>a7a45dc949b9475dff674be57e8d3a7aa8811857</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump Gitlab for Docker to 7.7.1</title>
<updated>2015-01-29T15:34:01+00:00</updated>
<author>
<name>Vincent Robert</name>
<email>vincent.robert@cantor.fr</email>
</author>
<published>2015-01-29T15:34:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=35bf471a13abe0ec68ca8ceb19f896be5ce63c46'/>
<id>35bf471a13abe0ec68ca8ceb19f896be5ce63c46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
