Warn user if no fleeting plugins to install
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do?
This commit adds a warning message to inform the user if there are no plugins to be installed.
Why was this MR needed?
Users do not run gitlab-runner fleeting install
without intending to
install plugins, so it is important to provide this feedback to users so
they can resolve on their end (e.g. configuration issues).
What's the best way to test this MR?
$ go run main.go fleeting install
Runtime platform arch=arm64 os=darwin pid=26257 revision=HEAD version=development version
WARNING: No plugins to install, review your runner configuration.
What are the relevant issue numbers?
Resolves #38281
Edited by 🤖 GitLab Bot 🤖