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

tests/test_repository.py: Move from dnf repoclosure to zypper + installcheck #423

Merged
merged 1 commit into from
May 23, 2024

Conversation

Vogtinator
Copy link
Member

Avoids workarounds and dependence on a fedora container.

Copy link
Member

@dirkmueller dirkmueller left a comment

Choose a reason for hiding this comment

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

code wise this change is fine by me. I am not 100% certain that repocheck had no other additional usecases over installcheck though.

from the chat we had yesterday I however understood that we add installcheck into the bci repo publishing pipeline not remove it from bci-tests? what am I missing?

@Vogtinator
Copy link
Member Author

from the chat we had yesterday I however understood that we add installcheck into the bci repo publishing pipeline not remove it from bci-tests? what am I missing?

Correct. I had a look but there were two issues:

  • I'm not entirely sure how to get to the definitely matching repodata
  • The check needs at least sles-release from a BCI base container to succeed, which either has to be embedded in the repo or the test run a container itself

Changing the code here instead avoided both

tests/test_repository.py Outdated Show resolved Hide resolved
tests/test_repository.py Outdated Show resolved Hide resolved
…llcheck

Avoids workarounds and dependency on a fedora container.
@dcermak dcermak disabled auto-merge May 23, 2024 11:03
@dcermak dcermak merged commit 047825b into main May 23, 2024
109 of 111 checks passed
@dcermak dcermak deleted the installcheck branch May 23, 2024 11:06
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.

None yet

3 participants