Skip to content
Snippets Groups Projects
Commit 9028a8bd authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: clean up

parent c44b7b0f
No related branches found
No related tags found
No related merge requests found
...@@ -118,19 +118,19 @@ test: ...@@ -118,19 +118,19 @@ test:
test_debian: test_debian:
tags: [docker] tags: [docker]
stage: test stage: test
image: $CI_REGISTRY_INDISCALE/caosdb/src/caosdb-deploy/caosdb-run-base:latest image: debian:buster
script: script:
- if [[ "$DEBIAN_PACKAGE_JOB" == "0" ]]; then
exit 0;
fi
- apt-get update
- apt-get install -y unzip curl
# get debian image # get debian image
- 'curl --location --output debian_artifacts.zip --header "JOB-TOKEN: $CI_DEBIAN_JOB_TOKEN" "https://gitlab.indiscale.com/api/v4/projects/14/jobs/$DEBIAN_JOB_ID/artifacts"' - 'curl --location --output debian_artifacts.zip "https://gitlab.indiscale.com/api/v4/projects/14/jobs/$DEBIAN_PACKAGE_JOB/artifacts"'
- unzip debian_artifacts.zip - unzip debian_artifacts.zip
- dpkg -i debian/linkahead/linkahead_*.deb
- dpkg -i /path/to/file
- apt-get install -f - apt-get install -f
- cd .docker - python3 -m pytest
# the pyinttest docker writes the return value of the tests into the
# file result
- /bin/sh ./run.sh
- cd ..
dependencies: [cert] dependencies: [cert]
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment