ros-infrastructure / cookbook-ros-buildfarm

Apache License 2.0
2 stars 2 forks source link

Run pulp content repository on the repo host. #48

Closed nuclearsandwich closed 3 years ago

nuclearsandwich commented 3 years ago

Run the pulp content repository software in containers on the repo host. This branch uses docker for the contained services. I struggled for a while to try and get a podman based approach in order to leverage rootless and daemonless containers but ran into constant challenges with the effective user and environment which where not yielding to reasonable seeming solutions and I was running out of motivation to figure out what the heck was going on. The abandoned pulp branch is https://github.com/ros-infrastructure/cookbook-ros-buildfarm/tree/nuclearsandwich/podman-pulp-wip

In an earlier iteration of this project the original repository for systemd-docker was not working and unmaintained. I found a maintained fork and have been successfully using the binary provided there.

nuclearsandwich commented 3 years ago

@cottsay if the setup here looks reasonably complete I'll go ahead and deploy it to the test build farm. I'm aware there are still some TODOs about getting the gpg stuff set up for pulp and lingering comments (of mine) for creating pulp workers and creating the rpm repos. I think the workers comment is probably stale given that pulp workers are created just above it but I haven't returned to https://github.com/ros-infrastructure/buildfarm_deployment/pull/228/ to port over configuring and creating the RPM repositories.

nuclearsandwich commented 3 years ago

The CI failures are due to the action running test kitchen inside docker. @j-rivero do you know whether dokken allows you to bind-mount the host docker socket so that sibling containers can be spawned?