Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds without scm #37

Open
neoromantique opened this issue Feb 26, 2018 · 4 comments
Open

Builds without scm #37

neoromantique opened this issue Feb 26, 2018 · 4 comments

Comments

@neoromantique
Copy link

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?

@okv
Copy link
Member

okv commented Feb 27, 2018

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.

@neoromantique
Copy link
Author

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.

@okv
Copy link
Member

okv commented Mar 9, 2018

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.

@neoromantique
Copy link
Author

Okay, I'll look into making a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants