-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for External Status Checks #583
Comments
That'd be great @adam-moss . If you have access to a license, I'd suggest using that following the contributing docs so that you have a local gitlab instance for running acceptance tests (after you've written the tests :)). Otherwise, maybe signup for a gitlab trial. Speaking of tests, I guess you'll need to use add a tool in local dev setup that can be used as an external service that acceptance tests will communicate with. I recently found the contributing docs/setup needs a small tweak when using a licensed gitlab instance. I'll try and make an update when I can so that the setup steps are clearer. |
Do you have any suggestion/proposal of what the config syntax would be like? |
At the moment, nope. The api is fairly simple https://docs.gitlab.com/ee/api/status_checks.html#create-external-status-check-service So I'm thinking something like external_status_checks:
- name:
url:
branches:
- Or similar. However... it isn't supported in python-gitlab yet (ref python-gitlab/python-gitlab#2632) so might need to look at that first if you're wanting to move to that for the interface? |
Would be nice for #504 to be merged to start validating it ;) |
Would the following make sense for the syntax by putting the config under existing project:
external_status_checks:
<name-of-service>:
url: ... Under I'm suggesting to put the new config under One other suggestion I might add is to include the support for
I don't think using python-gitlab would be a requirement. We need more contributors to help moving existing codes of gitlabform to use python-gitlab. I imaging it might take awhile. |
I've been slowly chipping away at it when I can get some time :). Have been learning lots of new stuff. Just out of curiosity though, how would that help this feature's implementation? |
Add support for the configuration of external status checks per https://docs.gitlab.com/ee/api/status_checks.html.
This is an Ultimate tier licensed feature.
I would be willing to implement this with appropriate guidance into project workings 👍
The text was updated successfully, but these errors were encountered: