Skip to content
Snippets Groups Projects
Commit 1eff506c authored by Tim Repke's avatar Tim Repke
Browse files

Merge branch 'master' into 'production'

fix deployment

See merge request !25
parents a9b7a980 75dd756d
No related branches found
No related tags found
1 merge request!25fix deployment
Pipeline #1131 passed
......@@ -20,39 +20,39 @@ before_script:
- echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
stages:
- build
- test
# - build
# - test
- deploy
build-job:
stage: build
image: python:3.10.9
script:
- python -V
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pwd
- ls -lisah
- git config --global url."https://gitlab.pik-potsdam.de/".insteadOf "ssh://git@gitlab.pik-potsdam.de/"
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
test-job1:
stage: test
image: python:3.10.9
script:
- source venv/bin/activate
- flake8 --config .flake8
test-job2:
stage: test
image: python:3.10.9
script:
- source venv/bin/activate
- which python
- pip freeze
- python -m mypy --config-file=pyproject.toml server
#build-job:
# stage: build
# image: python:3.10.9
# script:
# - python -V
# - pip install virtualenv
# - virtualenv venv
# - source venv/bin/activate
# - pwd
# - ls -lisah
# - git config --global url."https://gitlab.pik-potsdam.de/".insteadOf "ssh://git@gitlab.pik-potsdam.de/"
# - pip install -r requirements.txt
# - pip install -r requirements_dev.txt
#
#test-job1:
# stage: test
# image: python:3.10.9
# script:
# - source venv/bin/activate
# - flake8 --config .flake8
#
#test-job2:
# stage: test
# image: python:3.10.9
# script:
# - source venv/bin/activate
# - which python
# - pip freeze
# - python -m mypy --config-file=pyproject.toml server
deploy-to-production:
stage: deploy
......
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