genesis-community / concourse-genesis-kit

A Genesis Kit for Concourse CI/CD
MIT License
6 stars 13 forks source link

Make Hooks Executable #22

Closed Proplex closed 6 years ago

Proplex commented 6 years ago

Without +x, Genesis fails to compile the kit:

David@10.200.0.144 ~/work/concourse-genesis-kit
→ genesis compile-kit -v 5.6.7
Hook script hooks/info is not executable.
Hook script hooks/addon is not executable.
Unable to compile v5.6.7 of concourse Genesis Kit.

This simple PR fixes that.

dennisjbell commented 6 years ago

heh, we take a more pragmatic course of action in the actual code that runs the hooks: if its not executable, we make it so. That's why it didn't fail when I was testing it. But good form to fix it in the kit itself