From: Thanh Ha Date: Fri, 14 Sep 2018 00:28:44 +0000 (-0400) Subject: Update rtd jobs to use lf-infra-pre-build X-Git-Tag: v0.24.3~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F12593%2F1;p=releng%2Fglobal-jjb.git Update rtd jobs to use lf-infra-pre-build 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 --- diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 5188417a..ab74f910 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -234,9 +234,8 @@ 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 diff --git a/jjb/lf-rtd-jobs.yaml b/jjb/lf-rtd-jobs.yaml index 16409187..8f64f1fc 100644 --- a/jjb/lf-rtd-jobs.yaml +++ b/jjb/lf-rtd-jobs.yaml @@ -101,6 +101,7 @@ disabled: '{disable-job}' builders: + - lf-infra-pre-build - lf-rtd-trigger-build: rtd-build-url: '{rtd-build-url}' rtd-token: '{rtd-token}' @@ -194,6 +195,7 @@ disabled: '{disable-job}' builders: + - lf-infra-pre-build - lf-rtd-verify: doc-dir: '{doc-dir}' diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 7f403ebb..810a87cb 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others.