Skip to content
Snippets Groups Projects
Commit 6faaaa1a authored by George Sedov's avatar George Sedov
Browse files

add consul to docker

parent 223bd88a
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ test-services-linux-debug: ...@@ -43,6 +43,7 @@ test-services-linux-debug:
name: $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest name: $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest
stage: test stage: test
script: script:
- bash /services_start.sh
- cd $CI_PROJECT_DIR/build - cd $CI_PROJECT_DIR/build
- ctest --no-compress-output -T Test -L "unit|memcheck_unit|coverage" --output-on-failure - ctest --no-compress-output -T Test -L "unit|memcheck_unit|coverage" --output-on-failure
tags: tags:
......
...@@ -18,6 +18,7 @@ RUN set -eux; \ ...@@ -18,6 +18,7 @@ RUN set -eux; \
cython3 \ cython3 \
lcov \ lcov \
nomad \ nomad \
consul \
iproute2 \ iproute2 \
nginx-light \ nginx-light \
; \ ; \
...@@ -36,6 +37,7 @@ client {\n\ ...@@ -36,6 +37,7 @@ client {\n\
RUN echo "\n\ RUN echo "\n\
service nomad start\n\ service nomad start\n\
service consul start\n\
" > /services_start.sh " > /services_start.sh
CMD ["bash", "/services_start.sh"] CMD ["bash", "/services_start.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment