pulp / pulp_container

Pulp Container Registry
https://docs.pulpproject.org/pulp_container/
GNU General Public License v2.0
23 stars 44 forks source link

Investigate the feasibility/advantages of using pulp-operator in pulp-container CI #1658

Open git-hyagi opened 4 months ago

git-hyagi commented 4 months ago

Right now, we cannot run functional tests for replication because we don't have a pipeline job running with multiple instances of Pulp. In pulp-operator project we have a workflow to test multiple installations of Pulp (actually we are deploying only 2 because of the limited resources): https://github.com/pulp/pulp-operator/actions/runs/9410984818/job/25923537636#logs We could investigate if it is worth reusing the current pulp-operator pipeline in pulp_container to run tests that would need multiple running Pulps.

Things to consider:

lubosmj commented 4 months ago

Does it take 10 minutes to run the setup (like we have here install.sh) or together with tests (if there are any)? Currently, the initialization in our case (pulp_container's CI) takes roughly 5 minutes.

git-hyagi commented 4 months ago

10 minutes to run everything (it takes around 8 minutes just waiting for Pulp to run all migrations and the other ~2 minutes are spent installing k8s, OLM, pulp-operator, etc.).

mdellweg commented 4 months ago

We have sucessfully created tests to replicate from one domain to another in the same pulp container. Obviously this can never test replicating from different plugin versions...