Update rtd jobs to use lf-infra-pre-build 93/12593/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 14 Sep 2018 00:28:44 +0000 (20:28 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 14 Sep 2018 00:32:16 +0000 (20:32 -0400)
Use lf-infra-pre-build to install lftools via --user config. This
resolves the post-build install failing with missing PBR version.
This is related to the lftools-venv series of patches.

Change-Id: I3aa48d98811a7469fba15fe4c3eb7474bc7b5196
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-macros.yaml
jjb/lf-rtd-jobs.yaml
shell/rtd-verify.sh

index 5188417..ab74f91 100644 (file)
     builders:
       - inject:
           properties-content: DOC_DIR={doc-dir}
-      - shell: !include-raw-escape:
-          - ../shell/tox-install.sh
-          - ../shell/rtd-verify.sh
+      - shell: !include-raw-escape: ../shell/tox-install.sh
+      - shell: !include-raw-escape: ../shell/rtd-verify.sh
 
 - builder:
     name: lf-sigul-install
index 1640918..8f64f1f 100644 (file)
     disabled: '{disable-job}'
 
     builders:
+      - lf-infra-pre-build
       - lf-rtd-trigger-build:
           rtd-build-url: '{rtd-build-url}'
           rtd-token: '{rtd-token}'
     disabled: '{disable-job}'
 
     builders:
+      - lf-infra-pre-build
       - lf-rtd-verify:
           doc-dir: '{doc-dir}'
 
index 7f403eb..810a87c 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.