Skip to content

Commit

Permalink
Merge pull request RedHatInsights#1108 from petracihalova/pr-check-up…
Browse files Browse the repository at this point in the history
…date

RBAC pr-check simplification
  • Loading branch information
petracihalova authored May 23, 2024
2 parents 843667a + 38b5a2c commit aa01408
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions Dockerfile-pr-check
Original file line number Diff line number Diff line change
@@ -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 . .
Expand Down
2 changes: 1 addition & 1 deletion pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aa01408

Please sign in to comment.