#7492 Please add 'docker' to the Jenkins nodes
Closed: Fixed by bstinson. Opened by sgallagh.

  • Describe what you need us to do:
    Please add docker packages to the different node types on https://jenkins-fedora-infra.apps.ci.centos.org so that users can use containers to run tests (and don't have to pollute the nodes with their test dependencies).

  • When do you need this? (YYYY/MM/DD)
    As soon as reasonably possible.

  • When is this no longer needed or useful? (YYYY/MM/DD)
    Whenever the world converts over to podman or the heat-death of the universe, whichever comes first.

  • If we cannot complete your request, what is the impact?
    All requests for node configuration will have to go through the Infrastructure team, causing unnecessary lag in implementing tests and load on the team. Being able to build one's own test environment in a container will be much easier.

Filed at the request of @bstinson


Metadata Update from @mizdebsk:
- Issue assigned to bstinson
- Issue priority set to: Waiting on Assignee (was: Needs Review)

An ansible push added docker to the nodes, but the jenkins user does not have access to the docker socket to work with it.

Never mind, I jumped the gun and the ansible run was incomplete. It seems to be working now.

This should be in place now.

Metadata Update from @bstinson:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Sorry, one more modification should be made here.

Right now, using the docker directive fails sometimes because it gets assigned a random node. According to https://jenkins.io/doc/book/pipeline/docker/#specifying-a-docker-label , the best option here is to specify which node label should run the docker tasks.

I can manually override this in my pipeline, but it would probably be more user-friendly to other people coming in if it had a better default.

Metadata Update from @sgallagh:
- Issue status updated to: Open (was: Closed)

Metadata Update from @bstinson:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata