Updating docker.compose

This commit is contained in:
Justin 2018-05-14 11:59:00 -04:00
parent 19afc30fa6
commit 8ab6a7986d
2 changed files with 7 additions and 3 deletions

View File

@ -11,10 +11,13 @@ cache:
## Spin up glitlab instance and sleep for 60 seconds
before_script:
- docker-compose -f docker-compose.test.yml up
## Get the docker env variables
- SET PERSONAL_ACCESS_TOKEN =
- SET GITLAB_URL
- sleep 60
- SET PERSONAL_ACCESS_TOKEN = docker exec -i gitlab echo PERSONAL_ACCESS_TOKEN
- SET GITLAB_URL = docker exec -i gitlab echo PERSONAL_ACCESS_TOKEN
## Sleep before performing commands on container
- sleep 10000
## run tests
script:

View File

@ -2,6 +2,7 @@ version: '3'
services:
gitlab:
image: gitlab/gitlab-ce
container_name: gitlab
entrypoint: docker-entrypoint.sh
enviroment:
- GITLAB_URL='http://localhost:8080'