ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
14.12k stars 3.44k forks source link

RFE: Extend Gitlab,Github webhook integration to trigger project updates. #9315

Open IshwarKanse opened 3 years ago

IshwarKanse commented 3 years ago
ISSUE TYPE
SUMMARY

Currently our webhook integration works with Gitlab, Github to trigger job template runs.

https://docs.ansible.com/ansible-tower/latest/html/userguide/webhooks.html

We need to extend this to trigger project sync job. Thus a project will be updated with the webhook. A job template using this project doesn't have to use update revision on launch for the project.

wenottingham commented 3 years ago

This can be done via a workflow today if required.

jpmens commented 7 months ago

I realize this issue is ancient, and thank you @wenottingham for the idea: it works very well.

Is there any way for the first part of the workflow, i.e. the one performing the project sync, say, to use a portion of the payload to decide which project should be synchronized? Say I have 20 projects, I'd need 20 distinct workflow templates otherwise.