]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/rados/test_envlibrados_rocksdb: Build correct rocksdb
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 9 Apr 2020 04:33:51 +0000 (14:33 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Wed, 13 May 2020 02:45:31 +0000 (12:45 +1000)
We should be building the version of rocksdb the release is pinned to,
not master. Let's just update the rocksdb submodule and clone that.

Fixes: https://tracker.ceph.com/issues/44981
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index 762a44f189d8e2ca709a8ab568452a46c607ef75..d56066daa2fb531b598574f87a3e9455d1d6865e 100755 (executable)
@@ -68,7 +68,11 @@ echo "Compile rocksdb"
 if [ -e rocksdb ]; then
        rm -fr rocksdb
 fi
-git clone https://github.com/facebook/rocksdb.git --depth 1
+
+pushd $(dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/bash.sh)/../../../
+git submodule update --init src/rocksdb
+popd
+git clone $(dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/bash.sh)/../../../src/rocksdb rocksdb
 
 # compile code
 cd rocksdb