mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #298] Feature Request: API to manage Projects #224
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gganeshan on GitHub (Nov 4, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/298
@cuu508 finally I was able to self-host this amazing tool and integrate it with my on-prem LDAP as documented in #198 and #232 .
I am running the app inside a docker container and I wanted an idempotent way to create/update/list Projects via the API. This will avoid creating Projects manually, and promote automation.
From the documentation, I can see that the APIs can only be used to manage checks.
@gganeshan commented on GitHub (Nov 19, 2019):
Fyi - I was able to setup a yaml based auto-provision process at app startup using the following setup.
provision.yamlhc/accounts/management/commands/createproject.pyI auto-create superuser and call the
createproject.pyvia uwsgi as a pre-app hook.SUPERUSER_NAMEandSUPERUSER_EMAILare supplied as environment variables.