Skip to content

Commit

Permalink
Create Rondis image first
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv committed Oct 25, 2024
1 parent 5b06d7e commit a900b40
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_test_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
CONTAINER_NAME: rondis
RONDIS_PORT: 6379
steps:
- name: Build Rondis image
run: docker build -t $IMAGE_NAME -f Dockerfile .

- name: Run rondb-docker
env:
RONDB_DOCKER_DIR: /tmp/rondb-docker
Expand Down Expand Up @@ -49,11 +52,6 @@ jobs:
(set +e; ls -la $RONDB_PATH)
echo $pwd && ls -la
- run: echo $pwd && ls -la

- name: Build Rondis image
run: docker build -t $IMAGE_NAME -f Dockerfile .

- name: Create Rondis environment
run: docker run -d \
--name=$CONTAINER_NAME \
Expand All @@ -63,6 +61,7 @@ jobs:
--entrypoint=/bin/bash \
$IMAGE_NAME

# TODO: Run SQL against MySQL
- name: Build Pink
run: docker exec -it $CONTAINER_NAME bash -c "cd pink && make"

Expand Down

0 comments on commit a900b40

Please sign in to comment.