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

MAINT: save mariadb image

parent b6fd1c2d
No related branches found
No related tags found
No related merge requests found
Pipeline #5646 failed
......@@ -117,8 +117,7 @@ test:
- echo $CAOSDB_TAG
- time docker load < /image-cache/caosdb-pyint-testenv-${CI_COMMIT_REF_NAME}.tar || true
- time docker load < /image-cache/mariadb-${F_BRANCH}.tar || true
- time docker load < /image-cache/caosdb-${F_BRANCH}.tar || true
- time docker load < /image-cache/mariadb.tar || true
- docker pull $CI_REGISTRY_IMAGE
- cd .docker
# here the server and the mysql backend docker are being started
......@@ -136,6 +135,8 @@ test:
- docker logs docker_sqldb_1 &> ../mariadb_log.txt
- docker-compose -f .docker/docker-compose.yml down
- rc=`cat .docker/result`
- echo $(docker image ls mariadb | grep mariadb | awk '{print $2}')
- docker save $(docker image ls mariadb | grep mariadb | awk '{print $2}') > /image-cache/mariadb.tar || true
- exit $rc
dependencies: [cert]
timeout: 3h
......@@ -151,6 +152,9 @@ build-testenv:
image: docker:19.03
stage: setup
timeout: 2h
only:
- shedules
- web
needs: []
script:
- df -h
......
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