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

Add test to check validity of distributed repos #385

Open
pulpbot opened this issue Jan 4, 2022 · 3 comments
Open

Add test to check validity of distributed repos #385

pulpbot opened this issue Jan 4, 2022 · 3 comments
Labels

Comments

@pulpbot
Copy link
Member

pulpbot commented Jan 4, 2022

Author: @quba42 (quba42)

Redmine Issue: 6901, https://pulp.plan.io/issues/6901


We should have a test that synchronizes a fully valid repository from the fixtures, creates, a publication, and finally a distribution, and finally tests that distribution for validity.

Ideally we would use an actual APT client to do this, and possibly even test installing a package from the test repository.

@pulpbot pulpbot added this to the Testing milestone Jan 4, 2022
@pulpbot
Copy link
Member Author

pulpbot commented Jan 4, 2022

From: @quba42 (quba42)
Date: 2020-06-04T10:06:14Z


My basic approach would be:

  • Create a simple example repo in the fixtures containing a single package without dependencies.
  • Syncing, Publishing, and Distributing this repo.
  • Running a container that consumes the distributed repo and installs the example package. (Assert that the package contents are not there before, and are there after the installation).

I don't know how feasible it is to run a test in a separate container that talks to the pulp container?

@quba42 quba42 removed New labels Jan 31, 2022
@stale
Copy link

stale bot commented May 25, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@stale stale bot added the stale label May 25, 2022
@quba42 quba42 added the Tests label Jun 20, 2023
@stale
Copy link

stale bot commented Jun 20, 2023

This issue is no longer marked for closure.

@stale stale bot removed the stale label Jun 20, 2023
@quba42 quba42 removed this from the Testing milestone Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants