nci
nci copied to clipboard
Builds without scm
Hi, I'd love to have ability to run scripts without scm since I do scm management in my scripts and I only need nci as a runner. Is it possible to do so?
Unfortunately currently it's not possible - only git and mercurial scm are supported. It requires some dummy fs scm class implementation which I don't want to add to the core. Looks like it's good to have pluggable scm's but currently it's not.
But what's the problem with adding a dummy that would essentially act as scm: none
?
It makes it easier to adjust nci for different workflows.
Because right now the way it works is it clones the repo once in nci and then it clones it again in buildscripts.
Generally it's ok, I just wanted to move scm's to plugins first. But I don't have enough time to do that, so if there will be nice merge request (with tests (there could be a problem to integrate scm/none with current scm tests), etc) for scm/none, I will definitely look at that =) p.s. Sorry for my late reply.
Okay, I'll look into making a PR for it.