From: Kefu Chai Date: Mon, 1 Jun 2020 08:52:16 +0000 (+0800) Subject: ceph-perf-pull-requests: install clang for crimson build X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=79804b74cea6effc1582391351ab16c92981c13a;p=ceph-build.git ceph-perf-pull-requests: install clang for crimson build so we can detect build failures on clang 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 32a72a72..cf39aa6d 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 @@ -94,6 +94,7 @@ project-type: freestyle defaults: global concurrent: true + # use lastest rhel and ubuntu for crimson for clang build node: performance display-name: 'ceph: {osd-flavor} perf test' quiet-period: 5 @@ -145,11 +146,14 @@ - shell: | cd ${{WORKSPACE}}/cbt source /etc/os-release || ID=ubuntu + if test {osd-flavor} = "crimson" ; then + extra_pkgs=clang + fi case $ID in debian|ubuntu) - sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y python3-yaml python3-lxml python3-prettytable;; + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y python3-yaml python3-lxml python3-prettytable ${{extra_pkgs}};; centos|fedora|rhel) - sudo yum install -y python3-pyyaml python3-lxml python3-prettytable;; + sudo yum install -y python3-pyyaml python3-lxml python3-prettytable ${{extra_pkgs}};; *) echo "unknown distro: $ID" exit 1