Spike - Publish template POC CI catalog

following our sync meeting, we would like to conduct a short POC to test the publish mechanism for a CI catalog

POC steps

  • Create a project for template
  • Add the template and additional files (e.g. readme), manifest with some tags, etc.
  • include the template from the folder into several pipelines
  • publish a template

We should test :

  1. How can users publish a template? note until the user publishes a template this template wont be available in the catalog.
  2. Requirments for publishing a template - user must create a tag, No publishing without tags.
  3. What should happen when a template is published? E.g. a flag in the Project is flipped: ci_template: true, then collect data from the manifest file and stored in a ci_templates_catalog table.
  4. Updating a template or the manifest file changes (or any other file in the folder)? We expect the catalog record to be updated as long as the project is flagged as CI template or do we need to republish?
  5. Can we search, do basic filtering, with the catalog using tags, using template name?
  6. How can a user unpublish a template/ removing from the catalog?
Edited by Mark Nuzzo