hashicorp / nomad-driver-exec2

An official Nomad task driver plugin for sandboxing workloads using native Linux kernel features
Mozilla Public License 2.0
9 stars 0 forks source link

build: create linux package during CRT build #25

Closed shoenig closed 6 months ago

shoenig commented 6 months ago

This PR creates .deb and .rpm Linux packages of the nomad-driver-exec2 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-exec2/issues/4

david-yu commented 6 months ago

Awesome, thank you!