You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ru...@apache.org on 2021/04/14 19:51:29 UTC

[iceberg] branch master updated: [INFRA] Workaround for Reverse DNS lookup on Ubuntu GitHub runners (#2480)

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

russellspitzer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f0ecad  [INFRA] Workaround for Reverse DNS lookup on Ubuntu GitHub runners (#2480)
6f0ecad is described below

commit 6f0ecad37b936ab3e90fd0743cf239ed05258d13
Author: Robert Stupp <sn...@snazy.de>
AuthorDate: Wed Apr 14 21:51:13 2021 +0200

    [INFRA] Workaround for Reverse DNS lookup on Ubuntu GitHub runners (#2480)
    
    See https://github.com/apache/iceberg/pull/2451#issuecomment-819674109
    See https://lists.apache.org/thread.html/r40b2da182952f21a3b94696e6f1bf8594e7ff16e1c5979fe8b2d51c8%40%3Cbuilds.apache.org%3E
    
    Fixes #2475
---
 .github/workflows/java-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml
index d0fe65a..6911135 100644
--- a/.github/workflows/java-ci.yml
+++ b/.github/workflows/java-ci.yml
@@ -48,6 +48,7 @@ jobs:
         path: ~/.gradle/caches
         key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
         restore-keys: ${{ runner.os }}-gradle
+    - run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
     - run: ./gradlew check -Pquick=true -x javadoc
     - uses: actions/upload-artifact@v2
       if: failure()