Skip to content
Snippets Groups Projects
Commit c5cdcdc4 authored by Christian Boettcher's avatar Christian Boettcher
Browse files
parents e2096c9f 4590a219
Branches
Tags
No related merge requests found
Pipeline #70559 passed
default:
image: python:3-slim
stages:
- test
- publish
- deploy
test:
stage: test
script:
- pip install -r testing_requirements.txt
- nosetests --with-coverage --cover-package=apiserver
- nosetests --with-coverage --cover-package=apiserver --cover-xml
artifacts:
reports:
cobertura: coverage.xml
deploy:
stage: deploy
variables:
OS_AUTH_TYPE: v3applicationcredential
OS_AUTH_URL: https://hdf-cloud.fz-juelich.de:5000
OS_IDENTITY_API_VERSION: 3
OS_REGION_NAME: "HDFCloud"
OS_INTERFACE: public
script:
- echo "Doing nothing for now"
publishgit-do:
image: python:3-slim
stage: build
stage: publish
only:
- tags
tags: [stable]
script:
- apt-get update
......@@ -14,3 +37,4 @@ publishgit-do:
- git remote set-url gith "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/eflows4hpc/datacatalog.git"
- git remote -v
- git push -u gith stable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment