Add Ci catalog details page
What does this MR do and why?
Add Ci catalog details page
Render markdown of the README from the catalog resource and some basic info about the resource. There are NO css or styling applied. This is behind a disabled FF and the goal of this MR is to focus on mocking most of the data we need and placing the general structure to allow other engineers from the team to branch off from here and build the Ui components.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Make sure you have an ultimate license for your GDK
- Enable the feature flag:
ci_namespace_catalog_experimental
- Login as a user
- Create a few projects that you will be able to convert to Ci resources (ideally 20+).
- Once you have done so, get the ID of the first new project you wanted to convert. Then in Rails console, run:
projects = Project.where("id > ?", your_first_project_id)
projects.each do |project|
project.update!(description: 'description')
::Ci::Catalog::Resource.new(project_id: project.id).save
end
- Navigate to
/$namespace/$project/-/ci/catalog/resources
- Click on a specific item
- Notice the new details
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Frédéric Caplette