Configure job hardware
The servers Continuous Delivery uses to run tests on your Puppet code are known as job hardware. You must configure job hardware before you can run tests or use pipelines. Any node with a Puppet agent installed on it can be job hardware.
Only the administrator of a workspace or a super user can
configure job hardware for a workspace.
- Install a Puppet agent on each node you want to use as job hardware. The PE documentation provides instructions for Installing agents.
- Make sure your Continuous Delivery user role in PE has permission to run the
cd4pe_jobs::run_cd4pe_job
task. - Install and configure Docker or podman on each job hardware node. Docker or podman is required for containerized pre-built jobs included in Continuous Delivery. Instructions are available in the podman and Docker documentation.
- Assign nodes to the Containerized hardware capability (which
Continuous Delivery automatically creates for you) to tell Continuous Delivery the nodes can be used as job hardware for containerized jobs.
- In the Continuous Delivery web UI, click Hardware.
- Locate the Containerized capability and click Edit.
- Select the PE instance that manages the nodes you've selected as job hardware, and then select the job hardware nodes. Selected nodes appear in the Hardware with this capability list.
- After selecting all the job hardware nodes, click Save.
- Optional: Create additional capabilities or add job hardware nodes to other capabilities, as explained in Add job hardware capabilities. If you're managing a lot of job hardware nodes, additional capabilities help distribute the testing load and ensure that each job runs on a hardware with the correct characteristics.
Results
Your job hardware is configured and ready for use.
Your job hardware is configured and ready for use.