Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ jobs:
- attach_workspace:
at: .
- run: sudo apt-get install net-tools
- run:
name: Clone mocked RDI server
command: |
git clone https://$GH_RDI_MOCKED_SERVER_KEY@github.com/RedisInsight/RDI_server_mocked.git tests/e2e/rte/rdi
- run:
name: .AppImage tests
command: |
Expand Down Expand Up @@ -461,6 +465,10 @@ jobs:
name: Load built docker image from workspace
command: |
docker image load -i /tmp/release/docker/docker-linux-alpine.amd64.tar
- run:
name: Clone mocked RDI server
command: |
git clone https://$GH_RDI_MOCKED_SERVER_KEY@github.com/RedisInsight/RDI_server_mocked.git tests/e2e/rte/rdi
- run:
name: Run tests
command: |
Expand Down
1 change: 1 addition & 0 deletions .circleci/e2e/test.app-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ yarn --cwd tests/e2e install

# create folder before tests run to prevent permissions issue
mkdir -p tests/e2e/remote
mkdir -p tests/e2e/rdi

# run rte
docker-compose -f tests/e2e/rte.docker-compose.yml build
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ remote
.redisinsight
.redisinsight-v2
.redisinsight-app
rihomedir
rihomedir
rdi
rte/rdi

1 change: 1 addition & 0 deletions tests/e2e/docker.web.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- rihomedir:/root/.redisinsight-app
- tmp:/tmp
- ./remote:/root/remote
- ./rdi:/root/rdi
env_file:
- ./.env
entrypoint: [
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/local.web.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- ./test-data/certs:/root/certs
- ./test-data/ssh:/root/ssh
- ./remote:/root/remote
- ./rdi:/root/rdi
env_file:
- ./.env
environment:
Expand Down
10 changes: 10 additions & 0 deletions tests/e2e/rte.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ services:
- ./remote:/app/remote
ports:
- 5551:5551
# RDI mocked
rdi:
logging: *logging
build:
context: rte/rdi
dockerfile: Dockerfile
volumes:
- ./rdi:/data
ports:
- 4000:4000
# ssh
ssh:
logging: *logging
Expand Down