-
Notifications
You must be signed in to change notification settings - Fork 13
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
self hosted #32
base: main
Are you sure you want to change the base?
self hosted #32
Conversation
cinco
commented
May 23, 2023
- Enable self-hosted healthchecks.io instances
- Fix uuid retrieval on self-hosted instances
- 📝 docs: add documentation for using a private instance of Healthchecks.io in README.md and CHANGELOG.rst
By specifying `api_base_url` users can connect to their own self-hosted instances.
The UUID is always the last component of the URL. For self-hosted instances the ping url is `<scheme>://<domain>/ping/<uuid>` on healthchecks.io it is `https://hc-ping.com/<uuid>`.
…s.io in README.md and CHANGELOG.rst
Thanks for working on this, instead of updating |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #32 +/- ##
==========================================
- Coverage 76.50% 74.11% -2.39%
==========================================
Files 9 8 -1
Lines 366 367 +1
Branches 63 54 -9
==========================================
- Hits 280 272 -8
- Misses 53 54 +1
- Partials 33 41 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -0,0 +1,2 @@ | |||
minor_changes: | |||
- base_url - Support for using a private instance of Healthchecks.io (https://github.com/ansible-collections/community.healthchecksio/pull/32). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first word of a changelog fragment is supposed to be lower case, i.e., "support". Also, the scope of this change is pretty much collection-wide, so, perhaps drop it altogether.
minor_changes:
- Add support for using a private instance of Healthchecks.io (https://github.com/ansible-collections/community.healthchecksio/pull/32).
@@ -117,6 +123,19 @@ def healthchecksio_argument_spec(): | |||
required=True, | |||
no_log=True, | |||
), | |||
api_base_url=dict( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll want to run black on this file to get the test to pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small fixes to the changelog fragment and running black please.