From a3bf361405dae040329ad88590844f3fcf9f4e4e Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Jul 30 2021 04:07:26 +0000 Subject: Draft: Avoid installing requirements.txt in CI Dependencies should be already installed in the CI container. --- diff --git a/openshift/pipelines/snippets/waiverdb-build-and-test.groovy b/openshift/pipelines/snippets/waiverdb-build-and-test.groovy index c8fa8a2..0d8f64f 100644 --- a/openshift/pipelines/snippets/waiverdb-build-and-test.groovy +++ b/openshift/pipelines/snippets/waiverdb-build-and-test.groovy @@ -1,12 +1,3 @@ -stage('Install pip dependencies') { - steps { - script { - if (sh(returnStatus: true, script: 'pip3 install --user -r ./requirements.txt') != 0) { - echo 'WARNING: Failed to install dependencies from requirements.txt.' - } - } - } -} stage('Run checks') { failFast false parallel { diff --git a/requirements.txt b/requirements.txt index de5c8ef..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,29 +0,0 @@ -# This is a list of pypi packages to be installed into virtualenv. Alternatively, -# you can install these as RPMs instead of pypi packages. - -fedora_messaging -Flask -Flask-RESTful!=0.3.6 -Flask-SQLAlchemy -flask-cors -SQLAlchemy -gssapi -flask-oidc -Flask-Migrate -stomp.py - -# Documentation requirements -sphinx -sphinxcontrib-httpdomain - -# CLI -click -configparser -openidc-client -requests-gssapi - -# Database -psycopg2-binary - -# Monitoring -prometheus_client