Ansible job definitions for Zuul
Go to file
Ian Wienand 70fef1a858 Add role to trigger readthedocs via authenticated endpoint
The old API endpoint is deprecated, so add a role that pings the
webhook as described in [1].

Authentication can happen via a token or username/password combo,
which need to be kept in secrets.

The webhook api has an "id" value which some fiddling suggests is an
incrementing integer each time a webhook endpoint is generated (if you
create, delete, create your webhook via the admin interface, you often
as not get the next value).  Unfortunately, it appears you can not
query this in any way automatically; it has to be provided.  However,
I do not believe this has to be secret; you can not trigger the
end-point without authentication (either password or token).

This means the generic playbook here will not work any more.  Because
secrets are bound to the playbook they are defined within, this role
will need to be called directly.  It will be removed in a follow-on.

[1] https://docs.readthedocs.io/en/latest/webhooks.html

Change-Id: I651efdb093df85cea3ab2eaf1a5a9256c87a2ca4
2018-07-19 12:27:51 +10:00
doc/source Add logo to docs 2018-05-04 14:50:13 -07:00
playbooks Merge "Add simple run-test-command job" 2018-05-09 17:54:06 +00:00
roles Add role to trigger readthedocs via authenticated endpoint 2018-07-19 12:27:51 +10:00
tests Include ansible-playbook syntax-check for tox pep8 2017-07-17 16:53:55 -04:00
.gitignore Add Sphinx module for Zuul jobs 2017-06-09 09:03:15 -07:00
.gitreview Added .gitreview 2017-05-24 19:48:52 +00:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
bindep.txt Port in tox jobs from openstack-zuul-jobs 2017-07-06 11:18:47 -05:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-requirements.txt Run ansible-lint on repo 2017-10-27 07:49:02 +02:00
tox.ini Fix ansible-lint job 2018-03-28 23:10:22 +02:00
zuul.yaml Merge "Add simple run-test-command job" 2018-05-09 17:54:06 +00:00

README.rst

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.