kaufman-lab / build_containers

build and deploy kaufman lab singularity containers
GNU Lesser General Public License v2.1
1 stars 2 forks source link

Switch to precommit hooks to build def files #35

Closed myoung3 closed 3 years ago

myoung3 commented 3 years ago

Guarantee people are using the hooks by also running the hook to make new definitions as an action and failing if the files don't match.

You can still use the approach of comparing to main to decide whether to build. This means images will basically be built on every commit in a PR that has upstream modifications to the def(s).

myoung3 commented 3 years ago

closed in 04d6acb4b68d2c77a92af6ec9754a09eb76e5d4e