From 2393888cb2d10599e461f8013ba9a78c4f5b2baa Mon Sep 17 00:00:00 2001 From: domoberzin <74132255+domoberzin@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:10:15 +0800 Subject: [PATCH] Change docker compose command (#13159) --- .github/workflows/axe.yml | 2 +- .github/workflows/component.yml | 2 +- .github/workflows/e2e-sql.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/jdk17.yml | 2 +- .github/workflows/jdk21.yml | 2 +- .github/workflows/lnp.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/axe.yml b/.github/workflows/axe.yml index 8507df2a98a..0f84e11637d 100644 --- a/.github/workflows/axe.yml +++ b/.github/workflows/axe.yml @@ -37,7 +37,7 @@ jobs: - name: Update Property File run: mv src/e2e/resources/test.ci-${{ matrix.browser }}.properties src/e2e/resources/test.properties - name: Run Solr search service + local Datastore emulator - run: docker-compose up -d + run: docker compose up -d - name: Create Config Files run: ./gradlew createConfigs testClasses generateTypes - name: Install Frontend Dependencies diff --git a/.github/workflows/component.yml b/.github/workflows/component.yml index 4cb3261a8ab..0f3c0cbcde0 100644 --- a/.github/workflows/component.yml +++ b/.github/workflows/component.yml @@ -90,7 +90,7 @@ jobs: run: mv src/test/resources/test.ci-${{ matrix.os }}.properties src/test/resources/test.properties - name: Run Solr search service if: matrix.os == 'ubuntu-latest' # Docker does not work well on Windows env - run: docker-compose run -d -p 8983:8983 solr + run: docker compose run -d -p 8983:8983 solr - name: Run Backend Tests run: | ./gradlew createConfigs componentTests --continue diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml index c1d70b8b1f5..cb542933069 100644 --- a/.github/workflows/e2e-sql.yml +++ b/.github/workflows/e2e-sql.yml @@ -41,7 +41,7 @@ jobs: - name: Update Property File run: mv src/e2e/resources/test.ci-${{ matrix.browser }}.properties src/e2e/resources/test.properties - name: Run Solr search service + local Datastore emulator - run: docker-compose up -d + run: docker compose up -d - name: Create Config Files run: ./gradlew createConfigs testClasses generateTypes - name: Install Frontend Dependencies diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 565253ba2f4..f685cc33aff 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -41,7 +41,7 @@ jobs: - name: Update Property File run: mv src/e2e/resources/test.ci-${{ matrix.browser }}.properties src/e2e/resources/test.properties - name: Run Solr search service + local Datastore emulator - run: docker-compose up -d + run: docker compose up -d - name: Create Config Files run: ./gradlew createConfigs testClasses generateTypes - name: Install Frontend Dependencies diff --git a/.github/workflows/jdk17.yml b/.github/workflows/jdk17.yml index 2b6fc3b987f..acc6593fb6f 100644 --- a/.github/workflows/jdk17.yml +++ b/.github/workflows/jdk17.yml @@ -29,6 +29,6 @@ jobs: - name: Update Property File run: mv src/test/resources/test.ci-ubuntu-latest.properties src/test/resources/test.properties - name: Run Solr search service - run: docker-compose run -d -p 8983:8983 solr + run: docker compose run -d -p 8983:8983 solr - name: Run Backend Tests run: ./gradlew createConfigs componentTests --continue diff --git a/.github/workflows/jdk21.yml b/.github/workflows/jdk21.yml index 6b4eecd021e..6dc23e8a566 100644 --- a/.github/workflows/jdk21.yml +++ b/.github/workflows/jdk21.yml @@ -29,6 +29,6 @@ jobs: - name: Update Property File run: mv src/test/resources/test.ci-ubuntu-latest.properties src/test/resources/test.properties - name: Run Solr search service - run: docker-compose run -d -p 8983:8983 solr + run: docker compose run -d -p 8983:8983 solr - name: Run Backend Tests run: ./gradlew createConfigs componentTests --continue diff --git a/.github/workflows/lnp.yml b/.github/workflows/lnp.yml index 595ad697efc..11ab41b461f 100644 --- a/.github/workflows/lnp.yml +++ b/.github/workflows/lnp.yml @@ -29,7 +29,7 @@ jobs: - name: Create Config Files run: ./gradlew createConfigs - name: Run Solr search service + local Datastore emulator - run: docker-compose up -d + run: docker compose up -d - name: Start Server run: ./gradlew serverRun & - name: Wait until server is running