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

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


The following commit(s) were added to refs/heads/master by this push:
     new 115f75dae chore(CI): Force to use actions/checkout@v3 when OS maybe 
CentOS 7 or Ubuntu 18.04 (#2072)
115f75dae is described below

commit 115f75daeb4876f69531fae1e773a7cff000644f
Author: Yingchun Lai <[email protected]>
AuthorDate: Mon Jul 15 11:29:28 2024 +0800

    chore(CI): Force to use actions/checkout@v3 when OS maybe CentOS 7 or 
Ubuntu 18.04 (#2072)
    
    To solve problem in GitHub actions:
    ```
    Run actions/checkout@v4
    /usr/bin/docker exec  
e63787d641b0351b6c65ad895ccd98db84d6796141ad087c4952bc7f68b03753 sh -c "cat 
/etc/*release | grep ^ID"
    
/__e/node[20](https://github.com/apache/incubator-pegasus/actions/runs/9908766114/job/27375256228#step:3:21)/bin/node:
 /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by 
/__e/node20/bin/node)
    ```
---
 .github/workflows/build-push-env-docker.yml   | 4 +++-
 .github/workflows/regular-build.yml           | 4 +++-
 .github/workflows/thirdparty-regular-push.yml | 8 ++++++--
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-push-env-docker.yml 
b/.github/workflows/build-push-env-docker.yml
index 3f9b4f710..f72af174a 100644
--- a/.github/workflows/build-push-env-docker.yml
+++ b/.github/workflows/build-push-env-docker.yml
@@ -50,7 +50,9 @@ jobs:
           - centos7
     steps:
       - name: Checkout
-        uses: actions/checkout@v4
+        # The glibc version on ubuntu1804 and centos7 is lower than the 
actions/checkout@v4 required, so
+        # we need to force to use actions/checkout@v3.
+        uses: actions/checkout@v3
       - name: Set up QEMU
         uses: docker/setup-qemu-action@v1
       - name: Set up Docker Buildx
diff --git a/.github/workflows/regular-build.yml 
b/.github/workflows/regular-build.yml
index 9beb7cb34..68acc5e7e 100644
--- a/.github/workflows/regular-build.yml
+++ b/.github/workflows/regular-build.yml
@@ -76,7 +76,9 @@ jobs:
         working-directory: /root/incubator-pegasus
     steps:
       - name: Clone Apache Pegasus Source
-        uses: actions/checkout@v4
+        # The glibc version on ubuntu1804 and centos7 is lower than the 
actions/checkout@v4 required, so
+        # we need to force to use actions/checkout@v3.
+        uses: actions/checkout@v3
       - name: Unpack prebuilt third-parties
         uses: "./.github/actions/unpack_prebuilt_thirdparties"
       - name: Build Pegasus
diff --git a/.github/workflows/thirdparty-regular-push.yml 
b/.github/workflows/thirdparty-regular-push.yml
index 795f4bdb5..ce8f5d5dc 100644
--- a/.github/workflows/thirdparty-regular-push.yml
+++ b/.github/workflows/thirdparty-regular-push.yml
@@ -84,7 +84,9 @@ jobs:
           - ubuntu2204
           - centos7
     steps:
-      - uses: actions/checkout@v4
+      # The glibc version on ubuntu1804 and centos7 is lower than the 
actions/checkout@v4 required, so
+      # we need to force to use actions/checkout@v3.
+      - uses: actions/checkout@v3
       - name: Set up QEMU
         uses: docker/setup-qemu-action@v1
       - name: Set up Docker Buildx
@@ -126,7 +128,9 @@ jobs:
           - ubuntu2204
           - centos7
     steps:
-      - uses: actions/checkout@v4
+      # The glibc version on ubuntu1804 and centos7 is lower than the 
actions/checkout@v4 required, so
+      # we need to force to use actions/checkout@v3.
+      - uses: actions/checkout@v3
       - name: Set up QEMU
         uses: docker/setup-qemu-action@v1
       - name: Set up Docker Buildx


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to