diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d7e870..2d67960 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: - test - deploy pylint: 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: - pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats deploy: stage: deploy only: ['marietje-zuid'] + before_script: + - apt-get -qq update + - apt-get -qq install -y git openssh-client script: | umask 077 mkdir -p "$HOME/.ssh"