From 5cfc0e0465f80d35489dedbd367290eb8c20082f Mon Sep 17 00:00:00 2001 From: Nicole00 Date: Thu, 4 Nov 2021 09:42:04 +0800 Subject: [PATCH] test --- .github/workflows/maven.yml | 24 +++++++++---------- .../resources/docker-compose-casigned.yaml | 1 + .../resources/docker-compose-selfsigned.yaml | 5 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a586efa34..a2bd7428b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,18 +32,18 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- -# - name: Install nebula-graph -# run: | -# mkdir tmp -# pushd tmp -# git clone https://github.com/vesoft-inc/nebula-docker-compose.git -# pushd nebula-docker-compose/ -# cp ../../client/src/test/resources/docker-compose.yaml . -# docker-compose up -d -# sleep 30 -# docker-compose ps -# popd -# popd + - name: Install nebula-graph + run: | + mkdir tmp + pushd tmp + git clone https://github.com/vesoft-inc/nebula-docker-compose.git + pushd nebula-docker-compose/ + cp ../../client/src/test/resources/docker-compose.yaml . + docker-compose up -d + sleep 30 + docker-compose ps + popd + popd - name: Install nebula-graph with CA SSL run: | diff --git a/client/src/test/resources/docker-compose-casigned.yaml b/client/src/test/resources/docker-compose-casigned.yaml index 50ffa413f..cf55d12fd 100644 --- a/client/src/test/resources/docker-compose-casigned.yaml +++ b/client/src/test/resources/docker-compose-casigned.yaml @@ -119,6 +119,7 @@ services: - 13000 - 13002 volumes: + - ./data/graph:/data/graph:Z - ./logs/graph:/logs:Z - ./ssl:/share/resources:Z networks: diff --git a/client/src/test/resources/docker-compose-selfsigned.yaml b/client/src/test/resources/docker-compose-selfsigned.yaml index 82d743ad5..8a5a71d84 100644 --- a/client/src/test/resources/docker-compose-selfsigned.yaml +++ b/client/src/test/resources/docker-compose-selfsigned.yaml @@ -32,7 +32,7 @@ services: - 11000 - 11002 volumes: - - ./data/meta:/data/meta:Z + - ./data/meta_self:/data/meta:Z - ./logs/meta:/logs:Z - ./ssl:/share/resources:Z networks: @@ -76,7 +76,7 @@ services: - 12000 - 12002 volumes: - - ./data/storage:/data/storage:Z + - ./data/storage_self:/data/storage:Z - ./logs/storage:/logs:Z - ./ssl:/share/resources:Z networks: @@ -118,6 +118,7 @@ services: - 13000 - 13002 volumes: + - ./data/graph_self:/data/graph:Z - ./logs/graph:/logs:Z - ./ssl:/share/resources:Z networks: