Add trigger-readthedocs job

It's really easy to trigger a build on readthedocs. It doesn't even need
a node, since it's just a single POST.

Change-Id: I8c576c7a26ab123bd70f7a025d8a49a5cb3e2432
This commit is contained in:
Monty Taylor 2017-08-28 18:58:25 -05:00
parent 1a36ffd08e
commit ead78fed13
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,6 @@
- hosts: localhost
tasks:
- name: Trigger readthedocs build URI
uri:
method: POST
url: 'https://readthedocs.org/build/{{ zuul.project.short_name }}'

View File

@ -134,6 +134,13 @@
at least a ``username`` and ``password`` attribute.
post-run: playbooks/python/upload-pypi
- job:
name: trigger-readthedocs
description:
Send a trigger to the readthedocs url to tell it to build docs
nodes: []
run: playbooks/python/readthedocs
- job:
name: multinode
description: |