Skip to content

Commit

Permalink
Merge pull request #185 from ashwindasr/fix-art-bot
Browse files Browse the repository at this point in the history
fix art-tools install error
  • Loading branch information
ashwindasr authored Jun 11, 2024
2 parents df5d9eb + 0e00c67 commit 423a4b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ RUN groupadd --gid "$USER_GID" "$USERNAME" \
# Set work directory
WORKDIR /workspaces/art-bot

# Fixes issue "ERROR: Cannot uninstall requests 2.25.1, RECORD file not found. Hint: The package was installed by rpm."
RUN rpm -e --nodeps python3-requests

# Clone art-tools and run install.sh script
RUN git clone https://github.com/openshift-eng/art-tools.git art-tools \
&& cd art-tools \
Expand All @@ -68,4 +71,4 @@ RUN cp -r /tmp/art-bot/{artbotlib,art-bot.py,art_bot_dev.py} . \
&& rm -rf /tmp/art-bot

# Set non-root user
USER "$USER_UID"
USER "$USER_UID"
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ coverage
flake8
flexmock
mock
pygit2 == 1.10.1 # https://github.com/libgit2/pygit2/issues/1176
pylint
pytest
tox
Cmake
Cmake

0 comments on commit 423a4b8

Please sign in to comment.