From b275897e907c6b9442557a5c84b5210af3ec6ae0 Mon Sep 17 00:00:00 2001 From: "Andy(Jingzhang)Chen" Date: Wed, 14 Aug 2024 14:16:41 +0800 Subject: [PATCH] upgrade docker-compose to v3 version (#912) --- .github/workflows/maven.yml | 4 ++-- .travis.yml | 2 +- Building.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 14dff3f2f..a9e908700 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: setup redis - run: docker-compose up -d + run: docker compose up -d - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -36,4 +36,4 @@ jobs: run: mvn -B -DjacocoReports=jetcache-test/target/site/jacoco-aggregate/jacoco.xml clean install org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report -DrepoToken=${{ secrets.COV_TOKEN }} -Dtick=3 - name: Build without coveralls report if: ${{ env.cov_token == '' }} - run: mvn -B clean test \ No newline at end of file + run: mvn -B clean test diff --git a/.travis.yml b/.travis.yml index 0e471d6de..1164b0663 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,5 @@ jdk: services: - docker before_install: - - docker-compose up -d + - docker compose up -d script: mvn -B -DjacocoReports=jetcache-test/target/site/jacoco-aggregate/jacoco.xml clean test jacoco:report-aggregate coveralls:report diff --git a/Building.txt b/Building.txt index 0de858af9..5b2e6276d 100644 --- a/Building.txt +++ b/Building.txt @@ -13,7 +13,7 @@ 1.1 Run redis At first we run redis server using Docker, under jetcache directory, run: - docker-compose up + docker compose up This will run 1 redis server with 2 slaves, 3 sentinels, and 6 redis cluster node (3 masters, 3 slaves).