ros-infrastructure / cookbook-ros-buildfarm

Apache License 2.0
2 stars 2 forks source link

Use systemd to manage GPG vault socket directory #92

Closed cottsay closed 3 years ago

cottsay commented 3 years ago

The directory currently being created by Chef doesn't persist across reboots. We can use systemd to manage the directory instead, which should mean that it is always created prior to starting, and always deleted after stopping.

https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=

Additionally, ensure that systemd reloads the gpg-vault-agent unit file when it is changed.

nuclearsandwich commented 3 years ago

Agent CI errors are known flaky tests. Flakes will eat the software world :sob: