Commit 592a35ae authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml server functional use CI_COMMIT_REF_NAME

$CI_COMMIT_REF_NAME should be the correct name for the branch we want to
clone into.
parent 63f30173
......@@ -242,7 +242,7 @@ test_server_unit:
test_server_functional:
stage: test_functional
script:
- docker build --build-arg git_branch=$CI_BUILD_REF_SLUG --build-arg build_env=TEST -t $CI_BUILD_REF_SLUG docker/vidjil
- docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t $CI_BUILD_REF_SLUG docker/vidjil
- cd docker && docker-compose up & && cd ..
- HEADLESS=1 make functional_server || (docker-compose stop; false)
- cd docker && docker-compose stop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment