From 51e37adde70787ec71cd51b4b7770e15f727e407 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Thu, 14 Jun 2018 11:13:38 -0700 Subject: 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 --- jjb/releng/releng-ci-jobs.yaml | 4 ++++ utils/build-server-ansible/vars/CentOS.yml | 1 + utils/build-server-ansible/vars/Ubuntu.yml | 1 + 3 files changed, 6 insertions(+) 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: -- cgit 1.2.3-korg