question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add notification support for travis-ci.com

See original GitHub issue

Bug Report

SUMMARY

Projects in Travis CI has been migrated from travis-ci.org to travis-ci.com and notifications does no longer work but instead HTTP 400 is returned from the notification API.

I have again went through the instructions listed in the documentation: https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#travis-integrations

STEPS TO REPRODUCE

Do not know a good way to reproduce it more than doing a commit in github and wait for Travis CI to send a webhook notification.

EXPECTED RESULTS

Import triggered in Ansible Galaxy

ACTUAL RESULTS

No trigger seen in Ansible Galaxy and Travis CI got 400 error.

Got a log from Travis CI support to just show that the API returns 400. They also say they seen these kind of errors on other projects since at least 5th of June:

Jun 07 09:21:19 UTC task=webhook status=error build=75601644 url=https://galaxy.ansible.com/api/v1/notifications/ error_code=400 message="detail" 

Travis CI webhook payload can be seen here: https://github.com/travis-ci/travis-tasks/blob/b70c47a4935f3c3ecb3d096e5ad39c56d7d6f465/lib/travis/addons/webhook/payload.rb

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
haxorofcommented, Aug 13, 2018

@chouseknecht Now I have tested it two times against Galaxy QA and it works like a charm. Good work!

1reaction
haxorofcommented, Aug 13, 2018

@chouseknecht Sorry not answering earlier but I will see if I can test this some time today or tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring Build Notifications - Travis CI Docs
Travis CI can notify you about your build results through email, IRC, chat or custom webhooks. Default notification settings #.
Read more >
How add email notification in Travis and where?
Travis CI only sends build notifications to email addresses registered ... I have added email-notification to .travis.yml file in repository
Read more >
Gmail cannot receive email notifications - Travis CI Community
A few minutes ago, I tried to add a new qq.com notification email address for the test project. The new address received a...
Read more >
TravisCI - Rocket.Chat Docs
Receive alerts · 1. Create a new Incoming WebHook. · 2. Select the channel where you will receive the alerts. · 3. Select...
Read more >
Travis CI - travis-ci.com throws "504 Gateway Timeout" error (Sep/21)
Sep 06, 2021 - Travis CI outages - The main page at https://travis-ci.com is down. ... Set up notifications via email, Slack, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found