Skip to content

Commit

Permalink
refactor(services/rocksdb): migrate to test planner (#3636)
Browse files Browse the repository at this point in the history
* refactor(services/rocksdb): migrate to test planner

* Don't link with static rocksbd

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
Co-authored-by: Xuanwo <[email protected]>
  • Loading branch information
G-XD and Xuanwo authored Nov 22, 2023
1 parent 26b52cc commit 52fa5ae
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 60 deletions.
1 change: 0 additions & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ runs:
run: |
# Set rocksdb lib path
echo "ROCKSDB_LIB_DIR=/tmp/rocksdb/lib" >> $GITHUB_ENV
echo "ROCKSDB_STATIC=true" >> $GITHUB_ENV
- name: Cache rocksdb
id: cache-rocksdb
Expand Down
32 changes: 32 additions & 0 deletions .github/services/rocksdb/rocksdb/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: rocksdb
description: 'Behavior test for RocksDB'

runs:
using: "composite"
steps:
- name: Setup
shell: bash
run: |
cat << EOF >> $GITHUB_ENV
LD_LIBRARY_PATH=/tmp/rocksdb/lib:${{ env.LD_LIBRARY_PATH }}
RUST_TEST_THREADS=1
OPENDAL_ROCKSDB_ROOT=/
OPENDAL_ROCKSDB_DATADIR=/tmp/opendal/rocksdb/
EOF
59 changes: 0 additions & 59 deletions .github/workflows/service_test_rocksdb.yml

This file was deleted.

0 comments on commit 52fa5ae

Please sign in to comment.