chore: update gitlab module
Description
While working on my other MR I noticed that the GitLab URL variable wasn't actually being used for anything and I had to override it via an env var to get GRIT to work my non .com
project. Additionally, I noticed that the runner_type
was hardcoded to be a project runner and so I added the flexibility to make GRIT deploy other types of runners (e.g., instance and group).
Changes
- Updated
provider gitlab{}
to take in the URL that was defined. - Changed
runner_type
to be a variable that can be changed for other types of runners. - Changed the
untagged
parameter to be a variable as opposed to calcuated based on the length of tags. This should allow a runner to run both tagged and untagged jobs. - Updated the
internal_test.go
unit tests to hopefully work.