2
Add note about execute permissions for Functions build script
complete
Joe Krajcir
I think it would be helpful to add a note that you might need to add execute permissions if you are using
.sh
scripts as part of the build sequence for Functions.This would have saved some time and a headache after getting a build error that wasn't very helpful. You can find my experience here.
Basically, if you have a
build.sh
under the lib
folder and the script doesn't have execute permission, then you'll get a JSON error.John Mulhausen
complete
This advice has been added to the docs. Thanks for the suggestion here and for engaging with us over in the Q&A forum as well. :)
https://docs.digitalocean.com/products/functions/reference/build-process/
Brian Boucheron
Hi Joe, thanks for bringing this up. I've updated the build process documentation to include a note about execute permissions on
build.sh
scripts, and the error you may encounter. Thanks again!