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

Feature/webhooks #111

Merged
merged 2 commits into from
Jun 14, 2020
Merged

Feature/webhooks #111

merged 2 commits into from
Jun 14, 2020

Conversation

Clivern
Copy link
Owner

@Clivern Clivern commented Jun 14, 2020

Close #19 🎉

  • here is how the request will look like
curl -X POST \
    -H "Content-Type: application/json" \
    -H "X-AUTH-TOKEN: ~webhook auth token~" \
    -H "X-NOTIFICATION-ID: ~notification job uuid~" \
    -H "X-DEPLOYMENT-ID: ~deloyment job uuid~" \
    -H "X-ACTION-NAME: deployment.notify" \
    -d '{"cluster":"production","namespace":"default","application":"toad","version":"0.2.3","strategy":"ramped","status":"success"}' \
    http://requestbin.net/r/12ev0co1f
  • status could be successor failed
  • you can configure the X-AUTH-TOKEN
  • beetle will retry to deliver the notification before it marks the jobs as failed. You can configure that too

@Clivern Clivern added the merge label Jun 14, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Clivern Clivern added this to the 🚀 v0.1.0 milestone Jun 14, 2020
@mergify mergify bot merged commit af40a88 into master Jun 14, 2020
@mergify mergify bot deleted the feature/webhooks branch June 14, 2020 11:20
@mergify
Copy link
Contributor

mergify bot commented Jun 14, 2020

Nice! PR successfully merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check integrations that can be supported?
1 participant