crossplane-contrib / provider-gitlab

Crossplane Gitlab provider
Apache License 2.0
55 stars 30 forks source link

Add Files to Project #111

Open henrysachs opened 8 months ago

henrysachs commented 8 months ago

What problem are you facing?

When creating a project I want to add some initial files so that its not empty. So I have some smooth onboarding process. I currently use crossplane and the provider to provision a group (like a tenant) and a corresponding repository where a user would be able to configure the "tenant".

janwillies commented 8 months ago

Are you looking for Gitlab Templates? If so, have you tried some of the existing options, e.g. useCustomTemplate?

d3nnxs commented 8 months ago

GitLab Template would allow to add static files to the repo. With the implementation of https://docs.gitlab.com/ee/api/repository_files.html#create-new-file-in-repository it would be possible to add dynamic generated files to the repo.