mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Updating docker.compose
This commit is contained in:
parent
19afc30fa6
commit
8ab6a7986d
@ -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:
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user