]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-perf-pull-requests: s/source/./ 1646/head
authorKefu Chai <kchai@redhat.com>
Sat, 22 Aug 2020 03:20:17 +0000 (11:20 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 22 Aug 2020 03:25:45 +0000 (11:25 +0800)
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 <kchai@redhat.com>
ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml

index 9bcbe065e1757df1d9fa46ff2e5bff931d6b1ff6..e6f30b1afce712326578b6f3600b307b7f33b3e0 100644 (file)
     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
               ;;
           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}                   \