Skip to content
Snippets Groups Projects
Commit 1bf30e47 authored by Marcel Krüger's avatar Marcel Krüger
Browse files

Dind test ci

parent bde1b098
Branches
No related tags found
No related merge requests found
Pipeline #250280 failed
......@@ -2,57 +2,67 @@
# - 'access-node/.gitlab-ci.yml'
# - 'nest-module/.gitlab-ci.yml'
stages:
- build
- test
# stages:
# - build
# - test
# - deploy
build:
stage: build
image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/base:latest
image: docker
services:
- docker:dind
tags:
- docker-runner
variables:
GIT_SUBMODULE_STRATEGY: recursive
artifacts:
paths:
- build_access_node
- build_nest_module
expire_in: 1 day
when: always
script:
- mkdir build_nest_module
- cd build_nest_module
- cmake -G Ninja -Dwith-nest=/opt/nest/bin/nest-config ../nest-module/src
- ninja install
- cd .. && mkdir build_access_node && cd build_access_node
- cmake -G Ninja ../access-node
- ninja insite-access-node
test:
stage: test
image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/base:latest
tags:
- docker-runner
variables:
GIT_SUBMODULE_STRATEGY: recursive
artifacts:
paths:
- build_access_node
- build_nest_module
- insite.log
- access_node.log
expire_in: 1 day
when: always
before_script:
- pip3 install -r test/test-requirements.txt
- cd build_nest_module
- ninja install
- cd ..
- cp build_access_node/insite-access-node .
script:
- pytest --count=2 --repeat-scope=session -x --showlocals ./test -s
# - pytest --count=2 --repeat-scope=session -x --showlocals --ignore-glob=**/_deps/* --ignore-glob=**/extern/* -s
- docker build . -t test
- docker run test
# build:
# stage: build
# image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/base:latest
# tags:
# - docker-runner
# variables:
# GIT_SUBMODULE_STRATEGY: recursive
# artifacts:
# paths:
# - build_access_node
# - build_nest_module
# expire_in: 1 day
# when: always
# script:
# - mkdir build_nest_module
# - cd build_nest_module
# - cmake -G Ninja -Dwith-nest=/opt/nest/bin/nest-config ../nest-module/src
# - ninja install
#
# - cd .. && mkdir build_access_node && cd build_access_node
# - cmake -G Ninja ../access-node
# - ninja insite-access-node
#
# test:
# stage: test
# image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/in-situ-pipeline/insite/base:latest
# tags:
# - docker-runner
# variables:
# GIT_SUBMODULE_STRATEGY: recursive
#
# artifacts:
# paths:
# - build_access_node
# - build_nest_module
# - insite.log
# - access_node.log
# expire_in: 1 day
# when: always
# before_script:
# - pip3 install -r test/test-requirements.txt
# - cd build_nest_module
# - ninja install
# - cd ..
# - cp build_access_node/insite-access-node .
# script:
# - pytest --count=2 --repeat-scope=session -x --showlocals ./test -s
# # - pytest --count=2 --repeat-scope=session -x --showlocals --ignore-glob=**/_deps/* --ignore-glob=**/extern/* -s
#
FROM python
ENTRYPOINT ["python","-c","print('lol')"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment