summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-06-14 11:13:38 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-06-14 11:16:51 -0700
commit51e37adde70787ec71cd51b4b7770e15f727e407 (patch)
treec637ea70dc7989903ccff07e03dc5b7c33b4c3b2
parenta525952002800dfa4093f9c5d2e2ef178f91ae03 (diff)
Add RTD Verify and Merge jobs for Releng
These jobs come from global-jjb[1]. On verify, 'tox -e docs' is ran against releng, and on merge at webhook it curl-ed on RTD to build the docs. The merge job additionally requires jq installed to verify the build was triggered. [1] https://docs.releng.linuxfoundation.org/projects/global-jjb/en/latest/jjb/lf-rtd-jobs.html Change-Id: Ib0d752a904a9fdda2ab13016509a0b82d34ec3ee Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/releng/releng-ci-jobs.yaml4
-rw-r--r--utils/build-server-ansible/vars/CentOS.yml1
-rw-r--r--utils/build-server-ansible/vars/Ubuntu.yml1
3 files changed, 6 insertions, 0 deletions
diff --git a/jjb/releng/releng-ci-jobs.yaml b/jjb/releng/releng-ci-jobs.yaml
index f9a2bc232..790bd7eb4 100644
--- a/jjb/releng/releng-ci-jobs.yaml
+++ b/jjb/releng/releng-ci-jobs.yaml
@@ -11,5 +11,9 @@
jjb-version: '2.0.3'
lftools-version: '<1.0.0'
+ rtd-build-url: 'https://readthedocs.org/api/v2/webhook/opnfv-releng/38594/'
+ rtd-token: '291c6a0109493b4457e566d06141212452c65784'
+
jobs:
- '{project-name}-ci-jobs'
+ - '{project-name}-rtd-jobs'
diff --git a/utils/build-server-ansible/vars/CentOS.yml b/utils/build-server-ansible/vars/CentOS.yml
index 528388f27..7a2c1d1d5 100644
--- a/utils/build-server-ansible/vars/CentOS.yml
+++ b/utils/build-server-ansible/vars/CentOS.yml
@@ -46,6 +46,7 @@
- sysstat
- xmlstarlet
- facter
+ - jq
- name: install the 'Development tools' package group
yum:
diff --git a/utils/build-server-ansible/vars/Ubuntu.yml b/utils/build-server-ansible/vars/Ubuntu.yml
index e91c48569..f50255868 100644
--- a/utils/build-server-ansible/vars/Ubuntu.yml
+++ b/utils/build-server-ansible/vars/Ubuntu.yml
@@ -59,6 +59,7 @@
- sysstat
- xmlstarlet
- facter
+ - jq
- name: Add Docker apt key.
apt_key: