Task #5069: Build pulp 3 containers
Develop a script to launch pulp containers with k3s, for CI
In order to enable CI testing Pulp in containers, we need a script to launch them (and handle the shared variables and all between them) with docker/podman, rather than a K8s operator.
Have Travis use k3s to test the containers.
Test basic Pulp functionality, including writing to disk Using pulp_file's sync tests.
Also, don't set CONTENT_HOST in the pulp-server ConfigMap. If set incorrectly, it causes pulp_file test scripts to fail. We haven't implemented querying it via the K8s APIs, or having users specify it yet.
Note that the RequestsDependencyWarning messages from httpie are annoying output, but pip3 is not on Ubuntu on Travis. It appears that Travis relies on the virtual env for Python3
#5 Updated by firstname.lastname@example.org over 2 years ago
- % Done changed from 0 to 70
I decided to use k3s instead.
I am mostly done. I've had to resolve lots of medium-size issues, like registry.centos.org not working with k3s, k3s not having a storage plugin, and establishing proper checks for the containers being deployed successfully.
I've been talking a lot with dkilban and mmello. mmello has been wanting k3s compatibility.
#7 Updated by email@example.com over 2 years ago
The reasoning for using k3s are:
1. It improves the CI for pulp-operator itself.
2. It is less work to adapt pulp-operator for k3s than to write & maintain new a big script that needs features like configmaps.
3. Users like mmello want k3s support anyway.
4. I did not know about k3s at the time I wrote this issue.
Please register to edit this issue