From 38b5a2c53318687377676d8713d421c837edbcea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petra=20C=CC=8Ci=CC=81halova=CC=81?= Date: Wed, 22 May 2024 22:51:03 +0200 Subject: [PATCH] rbac Dockerfile for pr-check simplification --- Dockerfile-pr-check | 9 --------- pr_check.sh | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Dockerfile-pr-check b/Dockerfile-pr-check index ebfc520f9..b10cd0b15 100644 --- a/Dockerfile-pr-check +++ b/Dockerfile-pr-check @@ -1,20 +1,11 @@ FROM registry.access.redhat.com/ubi8/python-39:latest WORKDIR $APP_ROOT USER root -COPY Pipfile . -COPY Pipfile.lock . -COPY tox.ini . -COPY mypy.ini . -COPY requirements.txt . -COPY Makefile . # install related pip dependencies ENV PIP_DEFAULT_TIMEOUT=100 RUN pip install --upgrade pip -RUN pip install pipenv RUN pip install tox -RUN pipenv install --deploy && \ - pipenv --clear #copy the src files COPY . . diff --git a/pr_check.sh b/pr_check.sh index 5f831d6a1..5fbc35e37 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -29,5 +29,5 @@ source $CICD_ROOT/deploy_ephemeral_env.sh # Run smoke tests with ClowdJobInvocation source $CICD_ROOT/cji_smoke_test.sh -#Run the new image for the unit_tests and run the unit tests +# Run the new image for the unit_tests and run the unit tests source $APP_ROOT/unit_test.sh