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

[skip-ci] RPM/TMT: use tests subpackage #557

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

Conversation

lsm5
Copy link
Member

@lsm5 lsm5 commented Dec 24, 2024

This makes fetching and running of gating tests similar to podman, buildah and skopeo.

Copy link
Contributor

openshift-ci bot commented Dec 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsm5

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lsm5 lsm5 force-pushed the rpm-tests-subpackage branch 3 times, most recently from 2fbd425 to f29b9d0 Compare December 25, 2024 14:55
This makes fetching and running of gating tests similar to podman,
buildah and skopeo.

Signed-off-by: Lokesh Mandvekar <[email protected]>
@lsm5 lsm5 force-pushed the rpm-tests-subpackage branch from f29b9d0 to f5388be Compare December 25, 2024 15:20
@lsm5 lsm5 marked this pull request as ready for review December 25, 2024 15:36
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

Overall seems fine, I cannot really comment on the tmt/gating specifics but having a test subpackage to run them in gating seems good.

Comment on lines +62 to +63
# Only intended to be used for gating tests
# End user usecases not supported
Copy link
Member

Choose a reason for hiding this comment

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

should this be part of the description? So end user have actually a chance to read it.

Requires: jq
Requires: make
Requires: netavark
Requires: nftables
Copy link
Member

Choose a reason for hiding this comment

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

Isn't nftables already required by netavark?

Requires: bind-utils
Requires: iptables
Requires: jq
Requires: make
Copy link
Member

Choose a reason for hiding this comment

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

make doesn't seem to be needed to run as your script just calls bats test/

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

Successfully merging this pull request may close these issues.

2 participants