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

benchmark cyclonedx-bom==5.1.1 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkowalleck
Copy link

fixes #9

Signed-off-by: Jan Kowalleck <[email protected]>
@@ -19,6 +20,8 @@ tar -xzvf "trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" trivy
rm "trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz"
chmod a+x ./trivy

pip install "cyclonedx-bom==${CYCLONEDXBOM_VERSION}"

Choose a reason for hiding this comment

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

You may want to install that in another separate virtualenv to avoid an observer effect?

Copy link
Author

Choose a reason for hiding this comment

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

you think so? I mean, the system under test is a venv created without --system-site-packages, so this should not happen.

From a best-practice perspective, you are right. In generally, decoupling a tool into an own venv is probably the best solution here.
But there was no existing art for my case of installation, so I'd let this decision/task to @sethmlarson. :-D

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.

Benchmark: add CycloneDX-python
2 participants