puppet-gitlab icon indicating copy to clipboard operation
puppet-gitlab copied to clipboard

Create projects?

Open n3mawashi opened this issue 4 years ago • 5 comments

Hi,

Would creating Projects be something that this module would look to cover as well?

n3mawashi avatar Sep 16 '21 11:09 n3mawashi

To provide better clarification - I want to have puppet code that will create a namespace and projects in that namespace to ensure reproducibility should the host develop problems.

n3mawashi avatar Oct 05 '21 00:10 n3mawashi

My guess is that if a host develop problems you would rather restore from backup rather than restart from scratch, but that being said I see no reason such a feature would not be included :smile:

Feel free to send a PR that implement this if you have a need for it!

smortex avatar Oct 05 '21 02:10 smortex

If you wanted to implement this, probably best handled with a native puppet type/provider?

alexjfisher avatar Oct 05 '21 10:10 alexjfisher

I have a need for this feature, too. When building a new Gitlab CE server on linux, I want to create a base project (control-repo) and populate its properties with CI/CD, tokens, Webhooks, etc.

Currently, this module installs Gitlab CE, I then have to create the control-repo project and then run my puppet module again to have the Runners and webhooks created to "finish" the project. I think this would be even more useful in a containerized environment.

bschonec avatar Apr 13 '22 16:04 bschonec

Discussion on native types/provider for gitlab: #395

tuxmea avatar Apr 14 '22 06:04 tuxmea