Skip to content

Commit 3bb470a

Browse files
committed
Load RonDB tar.gz tarball into Dockerfile
1 parent 8563105 commit 3bb470a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build_test_push.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
RONDB_VERSION: 22.10.5
2727
RONDB_TARBALL_URI: https://repo.hops.works/master/rondb-22.10.5-linux-glibc2.28-x86_64.tar.gz
2828
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
3031
IMAGE_NAME: rondis:latest
3132
CONTAINER_NAME: rondis
3233
RONDIS_PORT: 6379
@@ -42,15 +43,16 @@ jobs:
4243

4344
- name: Download RonDB
4445
run: |
45-
wget $RONDB_TARBALL_URI -O /tmp/temp_tarball.tar.gz
46+
wget $RONDB_TARBALL_URI -O $RONDB_DOCKER_DIR/$RONDB_TARBALL_FILE
4647
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
4849
4950
- name: Run rondb-docker
5051
run: |
52+
cd $RONDB_DOCKER_DIR
5153
# 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 \
5456
--rondb-version $RONDB_VERSION \
5557
--size small \
5658
--num-mgm-nodes 1 \

0 commit comments

Comments
 (0)