Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Travis CI settings missing from "My Roles" page? #230

Closed
c-mart opened this issue Jan 11, 2017 · 3 comments
Closed

Travis CI settings missing from "My Roles" page? #230

c-mart opened this issue Jan 11, 2017 · 3 comments
Assignees

Comments

@c-mart
Copy link

c-mart commented Jan 11, 2017

I think the Travis CI settings are missing from https://galaxy.ansible.com/roleadd. Previously you could click the gear icon next to a role, and enter your Travis CI token to configure auto-import on completed builds. but now I don't see that setting anymore, only a text field to edit the role name. Same results in Firefox and Chromium. Was this setting removed or just moved?

image

@chouseknecht
Copy link
Contributor

There is no more need for Galaxy to know your Travis token. I might need to update the docs on the About page.

It used to be, up until about 3 months ago, that Travis would send a hash that included your Travis token in the header of a notification request, and Galaxy would use the your token to verify the request. Travis no longer sends the header, and so there is nothing to verify. Galaxy now takes the GitHub namespace (i.e. user or organization), and the GitHub repo from every inbound Travis request, and creates an import.

Apologies for the confusion. I'll make sure our docs are up to date.

@chouseknecht
Copy link
Contributor

The About page is up to date. There's no mention of having to use a Travis token in order to configure automatic imports. All that's required is 1.travis.yml1 file with a notifications section that includes the following:

notifications:
    webhooks: https://galaxy.ansible.com/api/v1/notifications/

@chouseknecht
Copy link
Contributor

This issue was moved to ansible/galaxy#55

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

No branches or pull requests

2 participants