From 658e35dabbe968ac1955e82cdeb5289f1b636824 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Fri, 1 Apr 2022 13:54:35 +0200 Subject: [PATCH] WIP: Pipeline requirements. --- .docker/Dockerfile | 2 +- .gitlab-ci.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 7fa7fc1e..270ed88f 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -25,7 +25,7 @@ ADD https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \ RUN git clone https://gitlab.com/caosdb/caosdb-pylib.git && \ cd caosdb-pylib && git checkout dev && pip3 install . # At least recommonmark 0.6 required. -RUN pip3 install recommonmark sphinx-rtd-theme +RUN pip3 install html2text pycodestyle pylint recommonmark sphinx-rtd-theme COPY . /git RUN rm -r /git/.git \ && mv /git/.docker/pycaosdb.ini /git/integrationtests diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b8e8ac1..8ebbefaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,7 +109,7 @@ style: tags: [docker] stage: style image: $CI_REGISTRY_IMAGE - needs: [] + needs: [build-testenv] script: - make style allow_failure: true @@ -118,7 +118,7 @@ linting: tags: [docker] stage: style image: $CI_REGISTRY_IMAGE - needs: [] + needs: [build-testenv] script: - make lint allow_failure: true @@ -127,7 +127,7 @@ unittest: tags: [docker] stage: unittest image: $CI_REGISTRY_IMAGE - needs: [] + needs: [build-testenv] script: - tox -- GitLab