Commit e9e1172c authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent 0cc834ca
Pipeline #27 failed with stages
in 2 minutes and 13 seconds
stages: stages:
- build - build
- deploy2test
variables: variables:
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
...@@ -21,4 +22,14 @@ build: ...@@ -21,4 +22,14 @@ build:
name: ${CI_COMMIT_REF_NAME} name: ${CI_COMMIT_REF_NAME}
only: only:
- test - test
\ No newline at end of file deploy2test:
stage: deploy2test
script:
- docker-compose down
- docker-compose up -d
- docker ps
environment:
name: ${CI_COMMIT_REF_NAME}
only:
- test
\ No newline at end of file
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