voxpupuli / puppet-gitlab

Puppet module to manage Gitlab (Omnibus)
https://forge.puppet.com/puppet/gitlab/
BSD 3-Clause "New" or "Revised" License
74 stars 164 forks source link

Create projects? #393

Open n3mawashi opened 2 years ago

n3mawashi commented 2 years ago

Hi,

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

n3mawashi commented 2 years ago

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.

smortex commented 2 years ago

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!

alexjfisher commented 2 years ago

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

bschonec commented 2 years ago

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.

tuxmea commented 2 years ago

Discussion on native types/provider for gitlab: #395