File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 26
26
RONDB_VERSION : 22.10.5
27
27
RONDB_TARBALL_URI : https://repo.hops.works/master/rondb-22.10.5-linux-glibc2.28-x86_64.tar.gz
28
28
RONDB_DOCKER_DIR : /tmp/rondb-docker
29
- RONDB_PATH : /tmp/rondb-docker/rondb
29
+ RONDB_TARBALL_FILE : rondb.tar.gz
30
+ RONDB_PATH : /tmp/rondb
30
31
IMAGE_NAME : rondis:latest
31
32
CONTAINER_NAME : rondis
32
33
RONDIS_PORT : 6379
@@ -42,15 +43,16 @@ jobs:
42
43
43
44
- name : Download RonDB
44
45
run : |
45
- wget $RONDB_TARBALL_URI -O /tmp/temp_tarball.tar.gz
46
+ wget $RONDB_TARBALL_URI -O $RONDB_DOCKER_DIR/$RONDB_TARBALL_FILE
46
47
mkdir -p $RONDB_PATH
47
- tar xfz /tmp/temp_tarball.tar.gz -C $RONDB_PATH --strip-components=1
48
+ tar xfz $RONDB_DOCKER_DIR/$RONDB_TARBALL_FILE -C $RONDB_PATH --strip-components=1
48
49
49
50
- name : Run rondb-docker
50
51
run : |
52
+ cd $RONDB_DOCKER_DIR
51
53
# The script expects a relative path to the tarball
52
- cd $RONDB_DOCKER_DIR && ./build_run_docker.sh -d \
53
- --rondb-tarball-path ./rondb \
54
+ ./build_run_docker.sh -d \
55
+ --rondb-tarball-path ./$RONDB_TARBALL_FILE \
54
56
--rondb-version $RONDB_VERSION \
55
57
--size small \
56
58
--num-mgm-nodes 1 \
You can’t perform that action at this time.
0 commit comments