deis / jenkins-jobs

DSL representations of Jenkins jobs for Deis
MIT License
27 stars 18 forks source link

fix(helm_chart_verify): coerce gpg into using old keyring format #393

Closed mboersma closed 6 years ago

mboersma commented 6 years ago

This avoids

Error: failed to load keyring: open /home/jenkins/.gnupg/pubring.gpg: no such file or directory

See https://www.gnupg.org/faq/whats-new-in-2.1.html for an explanation of why the presence of pubring.gpg changes GPG's behavior to be more compatible with helm.

I've been testing this live on Jenkins and can confirm it fixes some of the helm-chart-verify job issue. The rest of the fix is in deis/jenkins-node#21.