Commit 05c14f8f authored by hynek's avatar hynek 🤤
Browse files

ci(tests): include dariah storage token from gitlab ci variables

parent 1d8b7dbd
......@@ -15,6 +15,7 @@ variables:
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
DS_PIP_DEPENDENCY_PATH: requirements/production.txt
DARIAH_STORAGE_TOKEN: $DH_TOKEN
stages:
- build
......@@ -40,7 +41,7 @@ build_develop:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- docker build -t $CONTAINER_TEST_IMAGE -f compose/local/django/Dockerfile .
- docker push $CONTAINER_TEST_IMAGE
tests:
stage: test
......@@ -60,14 +61,14 @@ tests:
- htmlcov
- docs/_build
expire_in: 5 days
except:
except:
- master
code_quality:
stage: test
artifacts:
paths: [gl-code-quality-report.json]
except:
except:
- master
dependency_scanning:
......@@ -93,13 +94,13 @@ container_scanning:
create_release:
image: node:8
stage: release
script:
script:
- npm install
- npx semantic-release
only:
- master
release_image:
stage: deploy
script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment