From 8da035c230fffe59b18edfa5d801029fe2dc440f Mon Sep 17 00:00:00 2001 From: GMHDBJD <35025882+GMHDBJD@users.noreply.github.com> Date: Fri, 27 Dec 2024 15:47:30 +0800 Subject: [PATCH] dm: download docker-compose in github action (#11944) close pingcap/tiflow#4287 --- .github/workflows/dm_mariadb_master_down_and_up.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dm_mariadb_master_down_and_up.yaml b/.github/workflows/dm_mariadb_master_down_and_up.yaml index 5727b6e460f..deed66175a5 100644 --- a/.github/workflows/dm_mariadb_master_down_and_up.yaml +++ b/.github/workflows/dm_mariadb_master_down_and_up.yaml @@ -40,6 +40,8 @@ jobs: - name: Setup containers run: | + sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + sudo chmod +x /usr/local/bin/docker-compose docker-compose -f ./dm/tests/mariadb_master_down_and_up/docker-compose.yml up -d - name: Run test cases