From 8fe3ff1a7e9a6e4426cb22c9d5ca167d2c2dd561 Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Thu, 19 Jul 2018 13:29:05 +1000
Subject: [PATCH] Remove trigger-readthedocs job

This job is no longer useful as RTD requires an authenticated
end-point now.  This has been replaced by the trigger-readthedocs role
in I651efdb093df85cea3ab2eaf1a5a9256c87a2ca4.  The dependent change
removes this job from the docs-on-readthedocs template, so it is now
unused.

Change-Id: I794ab68967e8d31d5522acc7484a11d3ebc88ee9
Depends-On: https://review.openstack.org/583834
---
 playbooks/python/readthedocs.yaml | 7 -------
 zuul.yaml                         | 7 -------
 2 files changed, 14 deletions(-)
 delete mode 100644 playbooks/python/readthedocs.yaml

diff --git a/playbooks/python/readthedocs.yaml b/playbooks/python/readthedocs.yaml
deleted file mode 100644
index e5e0fc737..000000000
--- a/playbooks/python/readthedocs.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-- hosts: localhost
-  tasks:
-    - name: Trigger readthedocs build URI
-      uri:
-        method: POST
-        url: 'https://readthedocs.org/build/{{ zuul.project.short_name }}'
-        follow_redirects: all
diff --git a/zuul.yaml b/zuul.yaml
index e1a0fd09a..ae019673a 100644
--- a/zuul.yaml
+++ b/zuul.yaml
@@ -297,13 +297,6 @@
       - doc/requirements.txt
       - test-requirements.txt
 
-- job:
-    name: trigger-readthedocs
-    description: Send a trigger to the readthedocs url to tell it to build docs
-    nodeset:
-      nodes: []
-    run: playbooks/python/readthedocs.yaml
-
 - job:
     name: multinode
     abstract: true