This is an automated email from the ASF dual-hosted git repository.

jimin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-seata-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new ee69491c fix: fix e2e test github action docker-compose version to V1 
(#687)
ee69491c is described below

commit ee69491c79929cbb616e0a38b87a1665b95890d9
Author: A Cabbage <928124...@qq.com>
AuthorDate: Thu Aug 29 19:32:10 2024 +0800

    fix: fix e2e test github action docker-compose version to V1 (#687)
---
 .github/workflows/E2E.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.github/workflows/E2E.yml b/.github/workflows/E2E.yml
index e662eae9..c81b4b04 100644
--- a/.github/workflows/E2E.yml
+++ b/.github/workflows/E2E.yml
@@ -24,6 +24,18 @@ jobs:
       fail-fast: false
       max-parallel: 2
     steps:
+      - name: Uninstall Docker Compose v2
+        run: sudo rm -f /usr/local/bin/docker-compose
+
+      - name: Install Docker Compose v1
+        run: |
+          DOCKER_COMPOSE_VERSION=1.29.2
+          sudo curl -L 
"https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname
 -s)-$(uname -m)" -o /usr/local/bin/docker-compose
+          sudo chmod +x /usr/local/bin/docker-compose
+
+      - name: Verify Docker Compose v1 installation
+        run: docker-compose --version
+
       - name: Check out code into
         uses: actions/checkout@v3
 


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to