From 4e0a8987c7d19004d33c153b107057f684b547de Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 22 Aug 2020 11:20:17 +0800 Subject: [PATCH] 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 --- .../config/definitions/ceph-perf-pull-requests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9bcbe065..e6f30b1a 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} \ -- 2.39.5