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: ...@@ -20,39 +20,39 @@ before_script:
- echo "password ${CI_JOB_TOKEN}" >> ~/.netrc - echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
stages: stages:
- build # - build
- test # - test
- deploy - deploy
build-job: #build-job:
stage: build # stage: build
image: python:3.10.9 # image: python:3.10.9
script: # script:
- python -V # - python -V
- pip install virtualenv # - pip install virtualenv
- virtualenv venv # - virtualenv venv
- source venv/bin/activate # - source venv/bin/activate
- pwd # - pwd
- ls -lisah # - ls -lisah
- git config --global url."https://gitlab.pik-potsdam.de/".insteadOf "ssh://git@gitlab.pik-potsdam.de/" # - 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.txt
- pip install -r requirements_dev.txt # - pip install -r requirements_dev.txt
#
test-job1: #test-job1:
stage: test # stage: test
image: python:3.10.9 # image: python:3.10.9
script: # script:
- source venv/bin/activate # - source venv/bin/activate
- flake8 --config .flake8 # - flake8 --config .flake8
#
test-job2: #test-job2:
stage: test # stage: test
image: python:3.10.9 # image: python:3.10.9
script: # script:
- source venv/bin/activate # - source venv/bin/activate
- which python # - which python
- pip freeze # - pip freeze
- python -m mypy --config-file=pyproject.toml server # - python -m mypy --config-file=pyproject.toml server
deploy-to-production: deploy-to-production:
stage: deploy 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