Project

Profile

Help

Network maintenance. Planio will be observing two scheduled maintenance windows this Tuesday, March 2 and Wednesday, March 3 from 02:00 UTC until 06:00 UTC each in order to perform maintenance on access routers in our primary datacenter. Your account might observe short downtimes during these periods up to several minutes at a time.

Test #6901

Test #6052: Systematically add repository tests

Add test to check validity of distributed repos

Added by quba42 9 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Platform Release:
Tags:
Sprint:
Quarter:

Description

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.

History

#1 Updated by quba42 9 months ago

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?

#2 Updated by quba42 7 months ago

  • Sprint/Milestone set to Wishlist

#3 Updated by quba42 6 months ago

  • Sprint/Milestone changed from Wishlist to Testing

Please register to edit this issue

Also available in: Atom PDF