Skip to content

Commit 261d1fb

Browse files
author
Sameer Naik
committed
release 8.0.2
1 parent f4ef3be commit 261d1fb

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This file only reflects the changes that are made in the the docker image. Please refer to the upstream GitLab CI [CHANGELOG](https://github.com/gitlabhq/gitlab-ci/blob/master/CHANGELOG) for the list of changes in GitLab CI.
44

5-
**latest**
5+
**8.0.2**
66
- gitlab-ci: upgrade to v.8.0.2
77

88
**8.0.0**

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sameersbn/gitlab-ci:8.0.0
1+
# sameersbn/gitlab-ci:8.0.2
22

33
`sameersbn/gitlab-ci:8.x.x` image is meant for migration purposes only.
44

@@ -63,7 +63,7 @@ Dockerfile to build a [GitLab CI](https://about.gitlab.com/gitlab-ci/) container
6363

6464
## Version
6565

66-
Current Version: `8.0.0`
66+
Current Version: `8.0.2`
6767

6868
*The gitlab-ci version should match the gitlab version to avoid any compatibility issues*
6969

@@ -114,7 +114,7 @@ docker pull sameersbn/gitlab-ci:latest
114114
Starting from GitLab CI version `5.1.0`, You can pull a particular version of GitLab CI by specifying the version number. For example,
115115

116116
```bash
117-
docker pull sameersbn/gitlab-ci:8.0.0
117+
docker pull sameersbn/gitlab-ci:8.0.2
118118
```
119119

120120
Alternately you can build the image yourself.
@@ -167,7 +167,7 @@ docker run --name gitlab-ci -d \
167167
--env 'GITLAB_CI_PORT=10081' --env 'GITLAB_URL=http://localhost:10080' \
168168
--env 'GITLAB_APP_ID=xxx' --env 'GITLAB_APP_SECRET=yyy' \
169169
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
170-
sameersbn/gitlab-ci:8.0.0
170+
sameersbn/gitlab-ci:8.0.2
171171
```
172172

173173
Point your browser to `http://localhost:10081` and login using your GitLab credentials.
@@ -198,7 +198,7 @@ Volumes can be mounted in docker by specifying the **'-v'** option in the docker
198198
```bash
199199
docker run --name gitlab-ci -it --rm \
200200
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
201-
sameersbn/gitlab-ci:8.0.0
201+
sameersbn/gitlab-ci:8.0.2
202202
```
203203

204204
## Database
@@ -228,7 +228,7 @@ docker run --name gitlab-ci -it --rm \
228228
--env 'DB_TYPE=postgres' --env 'DB_HOST=192.168.1.100' \
229229
--env 'DB_NAME=gitlab_ci_production' \
230230
--env 'DB_USER=gitlab_ci' --env 'DB_PASS=password' \
231-
sameersbn/gitlab-ci:8.0.0
231+
sameersbn/gitlab-ci:8.0.2
232232
```
233233

234234
#### Linking to PostgreSQL Container
@@ -272,7 +272,7 @@ We are now ready to start the GitLab CI application.
272272
docker run --name gitlab-ci -it --rm --link gitlab-ci-postgresql:postgresql \
273273
--env 'GITLAB_URL=http://172.17.0.2' \
274274
--env 'GITLAB_APP_ID=xxx' --env 'GITLAB_APP_SECRET=yyy' \
275-
sameersbn/gitlab-ci:8.0.0
275+
sameersbn/gitlab-ci:8.0.2
276276
```
277277

278278
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the postgresql container as they are specified in the `docker run` command for the postgresql container. This is made possible using the magic of docker links and works with the following images:
@@ -326,7 +326,7 @@ docker run --name gitlab-ci -it --rm \
326326
--env 'GITLAB_APP_ID=xxx' --env 'GITLAB_APP_SECRET=yyy' \
327327
--env 'DB_HOST=192.168.1.100' --env 'DB_NAME=gitlab_ci_production' \
328328
--env 'DB_USER=gitlab_ci' --env 'DB_PASS=password' \
329-
sameersbn/gitlab-ci:8.0.0
329+
sameersbn/gitlab-ci:8.0.2
330330
```
331331

332332
#### Linking to MySQL Container
@@ -370,7 +370,7 @@ We are now ready to start the GitLab CI application.
370370
docker run --name gitlab-ci -it --rm --link gitlab-ci-mysql:mysql \
371371
--env 'GITLAB_URL=http://172.17.0.2' \
372372
--env 'GITLAB_APP_ID=xxx' --env 'GITLAB_APP_SECRET=yyy' \
373-
sameersbn/gitlab-ci:8.0.0
373+
sameersbn/gitlab-ci:8.0.2
374374
```
375375

376376
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the mysql container as they are specified in the `docker run` command for the mysql container. This is made possible using the magic of docker links and works with the following images:
@@ -397,7 +397,7 @@ The image can be configured to use an external redis server instead of starting
397397
```bash
398398
docker run --name gitlab-ci -it --rm \
399399
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
400-
sameersbn/gitlab-ci:8.0.0
400+
sameersbn/gitlab-ci:8.0.2
401401
```
402402

403403
### Linking to Redis Container
@@ -434,7 +434,7 @@ Please refer the [Available Configuration Parameters](#available-configuration-p
434434
```bash
435435
docker run --name gitlab-ci -it --rm \
436436
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
437-
sameersbn/gitlab-ci:8.0.0
437+
sameersbn/gitlab-ci:8.0.2
438438
```
439439

440440
Please look up the [Available Configuration Parameters](#available-configuration-parameters) section for all available SMTP configuration options.
@@ -512,7 +512,7 @@ docker run --name gitlab-ci -it --rm \
512512
--publish 10081:80 --publish 10444:443 \
513513
--env 'GITLAB_CI_PORT=10444' -env 'GITLAB_CI_HTTPS=true' \
514514
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
515-
sameersbn/gitlab-ci:8.0.0
515+
sameersbn/gitlab-ci:8.0.2
516516
```
517517

518518
In this configuration, any requests made over the plain http protocol will automatically be redirected to use the https protocol. However, this is not optimal when using a load balancer.
@@ -528,7 +528,7 @@ docker run --name gitlab-ci -it --rm \
528528
--env 'GITLAB_CI_HTTPS=true' \
529529
--env 'GITLAB_CI_HTTPS_HSTS_MAXAGE=2592000' \
530530
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
531-
sameersbn/gitlab-ci:8.0.0
531+
sameersbn/gitlab-ci:8.0.2
532532
```
533533

534534
If you want to completely disable HSTS set `GITLAB_CI_HTTPS_HSTS_ENABLED` to `false`.
@@ -547,7 +547,7 @@ In summation, when using a load balancer, the docker command would look for the
547547
docker run --name gitlab-ci -it --rm \
548548
--env 'GITLAB_CI_HTTPS=true' \
549549
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
550-
sameersbn/gitlab-ci:8.0.0
550+
sameersbn/gitlab-ci:8.0.2
551551
```
552552

553553
#### Establishing trust with your server
@@ -584,7 +584,7 @@ Let's assume we want to deploy our application to '/ci'. GitLab CI needs to know
584584
docker run --name gitlab-ci -it --rm \
585585
--env 'GITLAB_CI_RELATIVE_URL_ROOT=/ci' \
586586
--volume /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data \
587-
sameersbn/gitlab-ci:8.0.0
587+
sameersbn/gitlab-ci:8.0.2
588588
```
589589

590590
GitLab CI will now be accessible at the `/ci` path, e.g. `http://www.example.com/ci`.
@@ -673,7 +673,7 @@ Execute the rake task to create a backup.
673673

674674
```bash
675675
docker run --name gitlab-ci -it --rm [OPTIONS] \
676-
sameersbn/gitlab-ci:8.0.0 app:rake backup:create
676+
sameersbn/gitlab-ci:8.0.2 app:rake backup:create
677677
```
678678

679679
A backup will be created in the backups folder of the [Persistence](#persistence). You can change the location of the backups using the `GITLAB_CI_BACKUP_DIR` configuration parameter.
@@ -694,7 +694,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
694694

695695
```bash
696696
docker run --name gitlab-ci -it --rm [OPTIONS] \
697-
sameersbn/gitlab-ci:8.0.0 app:rake backup:restore
697+
sameersbn/gitlab-ci:8.0.2 app:rake backup:restore
698698
```
699699

700700
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
@@ -703,7 +703,7 @@ To avoid user interaction in the restore operation, specify the timestamp of the
703703

704704
```bash
705705
docker run --name gitlab-ci -it --rm [OPTIONS] \
706-
sameersbn/gitlab-ci:8.0.0 app:rake backup:restore BACKUP=1417624827
706+
sameersbn/gitlab-ci:8.0.2 app:rake backup:restore BACKUP=1417624827
707707
```
708708

709709
## Automated Backups
@@ -729,7 +729,7 @@ To upgrade to newer GitLab CI releases, simply follow this 3 step upgrade proced
729729
- **Step 1**: Update the docker image.
730730

731731
```bash
732-
docker pull sameersbn/gitlab-ci:8.0.0
732+
docker pull sameersbn/gitlab-ci:8.0.2
733733
```
734734

735735
- **Step 2**: Stop and remove the currently running image
@@ -742,7 +742,7 @@ docker rm gitlab-ci
742742
- **Step 3**: Start the image
743743

744744
```bash
745-
docker run --name gitlab-ci -d [OPTIONS] sameersbn/gitlab-ci:8.0.0
745+
docker run --name gitlab-ci -d [OPTIONS] sameersbn/gitlab-ci:8.0.2
746746
```
747747

748748
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.0.0
1+
8.0.2

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ redis:
1111
volumes:
1212
- /srv/docker/gitlab-ci/redis:/var/lib/redis
1313
ci:
14-
image: sameersbn/gitlab-ci:8.0.0
14+
image: sameersbn/gitlab-ci:8.0.2
1515
links:
1616
- redis:redisio
1717
- postgresql:postgresql

0 commit comments

Comments
 (0)