Skip to content
Snippets Groups Projects
Verified Commit 6d897114 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent e81c68bb
No related branches found
No related tags found
No related merge requests found
Pipeline #8434 failed
ARG CPPLIB_REGISTRY_IMAGE
ARG CPPLIB_VERSION
FROM $CPPLIB_REGISTRY_IMAGE
COPY .docker/wait-for-it.sh /wait-for-it.sh
......@@ -17,6 +18,11 @@ RUN rm -rf .git
RUN apt-get install -y openjdk-11-jdk-headless
CMD ls -la && cd build/ && /wait-for-it.sh caosdb-server:10443 -t 500 -- \
# ... and run tests
cmake .. && cmake --build . && ctest
# build and run tests
CMD ls -la && \
mkdir build && \
cd build && \
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb-${CPPLIB_VERSION} .. && \
cmake --build . && \
ctest
......@@ -5,9 +5,6 @@ services:
networks:
- docker_caosnet
volumes:
- type: bind
source: ../build
target: /caosdb-cppinttest/build
- type: bind
source: ./cert
target: /cert
......
......@@ -116,10 +116,6 @@ build-test:
- cd build
- cmake -D CMAKE_PREFIX_PATH=/usr/local/lib/libcaosdb-${CPPLIB_VERSION} ..
- cmake --build .
artifacts:
paths:
- build/
expire_in: 1 week
test:
......@@ -134,8 +130,6 @@ test:
stage: test
image: $CI_REGISTRY_IMAGE_BASE
needs:
- job: build-test
artifacts: true
- job: cert
artifacts: true
script:
......
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