From: Kefu Chai Date: Sat, 22 Aug 2020 03:20:17 +0000 (+0800) Subject: ceph-perf-pull-requests: s/source/./ X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1646%2Fhead;p=ceph-build.git ceph-perf-pull-requests: s/source/./ turns out we have ubuntu test nodes labeled with "performance", and they use dash for "sh", and jenkins use "sh" for running the embedded scripts. let's avoid bashism, and use "." instead. Signed-off-by: Kefu Chai --- diff --git a/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml b/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml index 9bcbe065e..e6f30b1af 100644 --- a/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml +++ b/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml @@ -163,7 +163,7 @@ builders: - shell: | cd ${{WORKSPACE}}/cbt - source /etc/os-release || ID=ubuntu + . /etc/os-release || ID=ubuntu case $ID in debian|ubuntu) sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y python3-yaml python3-lxml python3-prettytable clang-10 @@ -189,7 +189,7 @@ ;; esac virtualenv -q --python python3 ${{WORKSPACE}}/gh-venv - source ${{WORKSPACE}}/gh-venv/bin/activate + . ${{WORKSPACE}}/gh-venv/bin/activate pip install -e ${{WORKSPACE}}/cbt/tools/githubcheck echo "please hold tight..." | github-check \ --owner {check-repo-owner} \