Closed calvinbui closed 1 month ago
Hi @calvinbui, thanks for raising the issue. The plugins appear to rely on Bash. Are you using a container image that has Bash installed (at /bin/bash
)?
While the stack itself, and the agent, can run in Bashless images like Alpine, most plugins are written assuming Bash is present (since that was a requirement for most of the agent's history).
This should probably be called out in the docs - I suspect it's not clear enough already!
Also there is currently a bug with the agent such that the error message is a bit cryptic when the interpreter specified for a hook isn't present (https://github.com/buildkite/agent/issues/2734).
I am unable to get either the buildkite-plugins/cache-buildkite-plugin or nienbo/cache-buildkite-plugin working.
I have tried placing the cache before and after the
kubernetes
plugin.with nienbo/cache, the pre-command hook fails:
with buildkite-plugins/cache-buildkite-plugin, the post-command hook fails:
I am open to other viable solutions as well. We are on EKS, so EFS/FSX volumes would work (ReadWriteMany), but they are expensive to be fast enough and are complicated to work with.