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

Merge branch 'f-fix-f-branch-pipeline' into 'dev'

Fix pipeline for f-branches

See merge request !30
parents 4581d758 dcce27f6
No related branches found
No related tags found
1 merge request!30Fix pipeline for f-branches
Pipeline #41852 failed
...@@ -15,7 +15,8 @@ RUN rm -rf .git ...@@ -15,7 +15,8 @@ RUN rm -rf .git
COPY .docker/caosdb-client.json /caosdb-client.json COPY .docker/caosdb-client.json /caosdb-client.json
# build and run tests # Build and run tests.
# If no other command is given to the Docker image
CMD mkdir build && \ CMD mkdir build && \
cd build && \ cd build && \
conan install .. -s "compiler.libcxx=libstdc++11" && \ conan install .. -s "compiler.libcxx=libstdc++11" && \
......
...@@ -78,16 +78,12 @@ build-testenv: &build-testenv ...@@ -78,16 +78,12 @@ build-testenv: &build-testenv
stage: setup stage: setup
timeout: 2h timeout: 2h
needs: [] needs: []
only:
- pipelines
- schedules
- web
script: script:
- *env - *env
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
#build testenv image #build testenv image
- docker pull $CPPLIB_REGISTRY_IMAGE || { CPPLIB_REGISTRY_IMAGE="$CI_REGISTRY/caosdb/src/caosdb-cpplib/testenv:dev" ; docker pull $CPPLIB_REGISTRY_IMAGE ; } - docker pull $CPPLIB_REGISTRY_IMAGE || { CPPLIB_REGISTRY_IMAGE="$CI_REGISTRY/caosdb/src/caosdb-cpplib/testenv:dev" ; echo "Using cpplib@dev instead."; docker pull $CPPLIB_REGISTRY_IMAGE ; }
- docker build - docker build
--build-arg CPPLIB_REGISTRY_IMAGE=$CPPLIB_REGISTRY_IMAGE --build-arg CPPLIB_REGISTRY_IMAGE=$CPPLIB_REGISTRY_IMAGE
--file .docker/Dockerfile --file .docker/Dockerfile
......
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