From 576ed475f1e05f3b4b4a53b2ce75eda0d0dd4f2e Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Fri, 29 Mar 2019 15:11:50 +0100 Subject: [PATCH] ci/deploy: Install git and no pylint deps --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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"