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

liuhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 4ca7cad  Fixing missing `docker-compose` command (#191)
4ca7cad is described below

commit 4ca7cad7e828a50b328269c9ae2a003e49c21ea5
Author: mrproliu <[email protected]>
AuthorDate: Mon Aug 5 17:26:26 2024 +0800

    Fixing missing `docker-compose` command (#191)
---
 .github/workflows/plugin-tests.yaml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/plugin-tests.yaml 
b/.github/workflows/plugin-tests.yaml
index 7c6038d..c31ccdd 100644
--- a/.github/workflows/plugin-tests.yaml
+++ b/.github/workflows/plugin-tests.yaml
@@ -115,6 +115,14 @@ jobs:
           if ls test/plugins/dist/skywalking-agent-test-validator-1.0.0.tgz; 
then
             docker load -i 
test/plugins/dist/skywalking-agent-test-validator-1.0.0.tgz
           fi
+      - name: Install docker-compose
+        shell: bash
+        run: |
+          if ! command docker-compose 2>&1 > /dev/null; then
+            echo "Installing docker-compose"
+            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
+          fi
       - name: Run Test
         run: bash test/plugins/run.sh ${{ matrix.case }}
       - uses: actions/upload-artifact@v2
@@ -163,6 +171,14 @@ jobs:
           if ls test/plugins/dist/skywalking-agent-test-validator-1.0.0.tgz; 
then
             docker load -i 
test/plugins/dist/skywalking-agent-test-validator-1.0.0.tgz
           fi
+      - name: Install docker-compose
+        shell: bash
+        run: |
+          if ! command docker-compose 2>&1 > /dev/null; then
+            echo "Installing docker-compose"
+            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
+          fi
       - name: Run Test
         run: bash test/plugins/run.sh short_versions_gin
       - uses: actions/upload-artifact@v2

Reply via email to