jsonnet-drone-environment/.drone
Giles Bradshaw 9c7441d5d4 fix: forgot to build! 2020-08-05 10:16:31 +01:00
..
.drone.jsonnet fix: changed access to public 2020-08-05 10:07:01 +01:00
.drone.yml fix: forgot to build! 2020-08-05 10:16:31 +01:00
README.md initial commit 2020-08-05 09:47:19 +01:00
drone initial commit 2020-08-05 09:47:19 +01:00

README.md

.drone

these files are used to build a yml file to specify the drone build.

To build you need to install drone utility.

drone jsonnet --source .drone/.drone.jsonnet --target .drone/.drone.yml --stream

make a pre commit hook to compile


echo 'drone jsonnet --source .drone/.drone.jsonnet --target .drone/.drone.yml --stream' > .git/hooks/pre-commit
echo 'git add .drone/.drone.yml' >> .git/hooks/pre-commit

chmod +x .git/hooks/pre-commit