Update rtd jobs to use lf-infra-pre-build 92/12592/3
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 02:05:57 +0000 (22:05 -0400)
Use lf-infra-pre-build to install lftools via --user config. This
resolves the post-build install failing with missing PBR version.

Change-Id: I3aa48d98811a7469fba15fe4c3eb7474bc7b5196
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-macros.yaml
jjb/lf-rtd-jobs.yaml
releasenotes/notes/rtd-pbr-install-fail-e41fb287485fb4c5.yaml [new file with mode: 0644]
shell/rtd-verify.sh

index 59b249f..10b070d 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-sign-dir
index b7ddf61..acc2389 100644 (file)
@@ -88,6 +88,7 @@
     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}'
 
diff --git a/releasenotes/notes/rtd-pbr-install-fail-e41fb287485fb4c5.yaml b/releasenotes/notes/rtd-pbr-install-fail-e41fb287485fb4c5.yaml
new file mode 100644 (file)
index 0000000..8e05aca
--- /dev/null
@@ -0,0 +1,4 @@
+---
+fixes:
+  - |
+    Fix RTD job failing to find PBR install.
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.