Skip to content
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

Automatic webhook registration #2

Open
smashwilson opened this issue Mar 21, 2015 · 0 comments
Open

Automatic webhook registration #2

smashwilson opened this issue Mar 21, 2015 · 0 comments

Comments

@smashwilson
Copy link
Member

On first launch, test for and register GitHub and DockerHub webhooks.

To do this I'll need:

  1. A way to opt in; most likely a variable like HEATLAMP_REGISTER_HOOKS.
  2. A list of the repositories and image names to register. Some of these I can infer (HEATLAMP_ANSIBLE_REPO for one) but the DockerHub images will need to be explicitly specified.
  3. GitHub credentials to use.
  4. A way to specify the externally accessible hostname and port that can receive the hook.
  5. Idempotence. Restarting the service shouldn't register a redundant hook, it should just verify that the hooks are registered.
  6. Verification of hook presence on the status page, why not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant