How to update the .gitlab-ci.yml for all projects

I have a nonstandard gitlab installation (independent registry and docker-in-docker), and I need to add parameters such as DOCKER_HOST to the .gitlab-ci.yml file for all renku projects.

How can I do that for all renku projects?

Hi @diarmuidcire

You can host project templates in a repository. For example this is how we host the community contributed project templates for Renku: GitHub - SwissDataScienceCenter/contributed-project-templates: A repository of community-developed project templates.

The quickest way to get started is as follows:

  1. Fork the community template repo from above
  2. Remove all existing templates (maybe just keep one and edit it to your desires)
  3. Add your template repository to the list of project template source in your values file here: renku/helm-chart/renku/values.yaml at master · SwissDataScienceCenter/renku · GitHub
  4. When you create a project you will be able to select the template you created.
  5. If you fully want to remove the official Renku templates from your deployment you can simply not include them in the repositories templates list when you edit your values file.

Here are relevant parts of the documentation: Templates in Renku — Renku documentation

Here is the official renku template repo:

That works. Thank you.