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:
parent
1a36ffd08e
commit
ead78fed13
6
playbooks/python/readthedocs.yaml
Normal file
6
playbooks/python/readthedocs.yaml
Normal 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 }}'
|
@ -134,6 +134,13 @@
|
|||||||
at least a ``username`` and ``password`` attribute.
|
at least a ``username`` and ``password`` attribute.
|
||||||
post-run: playbooks/python/upload-pypi
|
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:
|
- job:
|
||||||
name: multinode
|
name: multinode
|
||||||
description: |
|
description: |
|
||||||
|
Loading…
Reference in New Issue
Block a user