Open henrysachs opened 8 months ago
Are you looking for Gitlab Templates? If so, have you tried some of the existing options, e.g. useCustomTemplate?
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.
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".