]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados/test_envlibrados_rocksdb: Build correct rocksdb 35443/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 9 Apr 2020 04:33:51 +0000 (14:33 +1000)
committerNathan Cutler <ncutler@suse.com>
Sat, 6 Jun 2020 08:30:08 +0000 (10:30 +0200)
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>
(cherry picked from commit 1361913f5995f8a4c8e1b0f5c661ad09e66fe9aa)

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