hashicorp / nomad-driver-podman

A nomad task driver plugin for sandboxing workloads in podman containers
https://developer.hashicorp.com/nomad/plugins/drivers/podman
Mozilla Public License 2.0
225 stars 63 forks source link

build: create linux package during CRT build #351

Closed pkazmierczak closed 4 months ago

pkazmierczak commented 4 months ago

This PR creates .deb and .rpm Linux packages of the nomad-driver-podman task driver. Given limitations of our packaging system the driver gets installed in /usr/bin/ but then gets linked to /opt/nomad/plugins/ during the install steps (and likewise removed during uninstall). This way the plugin Just Works with the default configuration of Nomad.

Closes https://github.com/hashicorp/nomad-driver-podman/issues/344