singularity-deploy icon indicating copy to clipboard operation
singularity-deploy copied to clipboard

Clean Template

Open fenz opened this issue 4 years ago • 3 comments

I started creating a repo from the template but, as soon as the repo gets created, GitHub starts creating a release with the files contained in the template. I was wondering if it would not be better to have a clean template (singularity-deploy) with only the workflow and a "example" repo (singularity-deploy-helloworld) which forks the clean template and shows how to use it. In the README of the "helloworld" repo you can describe how to fork or start from the "singularity-deploy" template.

fenz avatar Apr 25 '21 22:04 fenz

I think this is a great idea! But perhaps should we just update the trigger to be something other than push to main, and then we can keep both here?

vsoch avatar Apr 25 '21 22:04 vsoch

How about this? https://github.com/singularityhub/singularity-deploy/pull/6

vsoch avatar Apr 25 '21 22:04 vsoch

I was also thinking about removing the "VERSION" file from the template but your update works as well. What I forgot to mention is that having a clean template with only the workflow would allow to keep it in sync after a fork. Otherwise if you start changing the recipes, I pretty sure it will complain when trying to merge possible updates of the workflow from the template.

fenz avatar Apr 26 '21 07:04 fenz