New E2E test for CI/CD Catalog and Component
Test that a component can be used in a another project.
Steps
- Create test project and component project via API
- Register runner to test project
- Enable CI component setting in component project
- Create a new release in component project
- Add
.gitlab-ci.yml
to test project andtemplates/component.yml
to component project- In test project CI file, include component and pass in a custom value for one of the inputs
- Visit test project latest pipeline - pipeline must succeeds
- Verify
- Component job is created under correct stage
- In component job's job log, verify the custom input value was passed in correctly
Edited by Tiffany Rea