Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python tests job #88

Conversation

anishasthana
Copy link
Member

No description provided.

@anishasthana anishasthana force-pushed the update_unit_tests_job branch 2 times, most recently from 6a80d34 to f4a710e Compare May 11, 2023 18:48
requirements.txt Outdated Show resolved Hide resolved
.github/build/requirements.txt Show resolved Hide resolved
Copy link
Collaborator

@MichaelClifford MichaelClifford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Anish Asthana <[email protected]>
Copy link
Contributor

@jiripetrlik jiripetrlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one minor comment.

RUN dnf install nodejs -y && \
dnf clean all && \
rm -rf /var/cache/dnf
ADD https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz $TMPDIR/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that if we use ADD here, the Docker will create a separate image layer with tar file. And even if we delete it in the next command it will stay in the image. It will be only hidden by next layer. I would suggest to download tar with oc as part of the RUN command on next line.

@anishasthana
Copy link
Member Author

@KPostOffice and I connected -- I will spend some time updating this PR to have the repo be fully based on poetry (no requirements.txt)

@anishasthana
Copy link
Member Author

Replaced by #305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants