CI/CD Catalog: Add description, type to components
What does this MR do and why?
Related to #426870 (closed)
Updating CI/CD Catalog component table to include more input fields
Screenshots or screen recordings
How to set up and validate locally
Prerequisites
- A project (WITH A DESCRIPTION!) that is marked as a catalog resource
- Component files
If you want to skip step 1 and 2 above, you can clone or import this repo into your GDK. It has the component directory already: https://gitlab.com/bsandlin/catalog-component-test
- Release with
release-cli
in yourgitlab-ci.yml
:
create-release:
stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest
script: echo "Creating release 1.0.0"
release:
tag_name: 1.0.0
description: "Release 1.0.0 of components"
- update your components in your rails console:
::Ci::Catalog::Resources::Component.last.update!(spec: { inputs: { test_input: { default: 'default' }, another_input: { type: 'boolean' } } })
- Navigate to gdk.test:3000/explore/catalog/ and click on the components tab. You should see the table with your values.
Edited by Briley Sandlin