GoogleCloudPlatform / cloud-builders-community

Community-contributed images for Google Cloud Build
https://cloud.google.com/cloud-build/
Apache License 2.0
1.25k stars 851 forks source link

helmfile: fix dockerfile issues #646

Closed jklinect closed 6 months ago

jklinect commented 6 months ago

Tried assembling/using this container in a Cloud Build recently, it didn't work as expected when running it:

Fetching cluster endpoint and auth data.
kubeconfig entry generated for acme-kube-cluster.
/builder/helmfile/helmfile: line 1: Not: command not found

(/builder/helmfile/helmfile is a 9-byte file with the contents Not Found)

These changes restore it to functional order:

The container both builds and runs as expected now:

Fetching cluster endpoint and auth data.
kubeconfig entry generated for acme-kube-cluster.
Adding repo acme-project https://acme.project.tld
"acme-project" has been added to your repositories
...
google-cla[bot] commented 6 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.