chore: switch to code intel CI/CD Component
Description
This switches the GitLab CLI project over to using the newly introduce CI/CD Component for Code Intelligence. The new component also changes the behavior of generating the artifact by only running when the job is run against the default branch. This is because Code Intelligence only renders on the default branch to begin with, so it doesn't make sense to build these artifacts on each push to an MR.
Related Issues
Resolves #[issue_number]
How has this been tested?
The component has been tested in isolation, but not on a project. Now that it only runs on the default branch, I'm not actually sure how to test this without merging?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Kai Armstrong