mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:12:22 +01:00
ci/deploy: Install git and no pylint deps
This commit is contained in:
@ -1,22 +1,24 @@
|
|||||||
before_script:
|
|
||||||
- apt-get -qq update
|
|
||||||
- apt-get -qq install -y python3 python3-venv python3-pip
|
|
||||||
- python3 -m venv venv
|
|
||||||
- source venv/bin/activate
|
|
||||||
- pip install -r requirements.txt pylint
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
stage: test
|
stage: test
|
||||||
|
before_script:
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get -qq install -y python3 python3-venv python3-pip
|
||||||
|
- python3 -m venv venv
|
||||||
|
- source venv/bin/activate
|
||||||
|
- pip install -r requirements.txt pylint
|
||||||
script:
|
script:
|
||||||
- pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats
|
- pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only: ['marietje-zuid']
|
only: ['marietje-zuid']
|
||||||
|
before_script:
|
||||||
|
- apt-get -qq update
|
||||||
|
- apt-get -qq install -y git openssh-client
|
||||||
script: |
|
script: |
|
||||||
umask 077
|
umask 077
|
||||||
mkdir -p "$HOME/.ssh"
|
mkdir -p "$HOME/.ssh"
|
||||||
|
|||||||
Reference in New Issue
Block a user