You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/04/16 08:12:18 UTC

[accumulo] branch main updated (af955c8 -> dd0d88e)

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

ctubbsii pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git.


    from af955c8  Remove ZK stats from Monitor overview page (#2020)
     add 1dc2101  Fix IP address in GitHub Actions container (#2024)
     new dd0d88e  Merge branch '1.10'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven-full-its.yaml  | 15 +++++++++++++++
 .github/workflows/maven-on-demand.yaml | 15 +++++++++++++++
 .github/workflows/maven.yaml           | 15 +++++++++++++++
 3 files changed, 45 insertions(+)

[accumulo] 01/01: Merge branch '1.10'

Posted by ct...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit dd0d88eb664fc60714a7283b357a51afaad3b899
Merge: af955c8 1dc2101
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Apr 16 04:11:49 2021 -0400

    Merge branch '1.10'

 .github/workflows/maven-full-its.yaml  | 15 +++++++++++++++
 .github/workflows/maven-on-demand.yaml | 15 +++++++++++++++
 .github/workflows/maven.yaml           | 15 +++++++++++++++
 3 files changed, 45 insertions(+)

diff --cc .github/workflows/maven.yaml
index 3da4bb7,b6dcf91..5a9666d
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@@ -79,9 -78,24 +79,24 @@@ jobs
            !~/.m2/repository/org/apache/accumulo
          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
          restore-keys: ${{ runner.os }}-m2
+     - name: Override DNS to fix IP address for hostname
+       run: |
+         ip -br addr
+         echo "'hostname -i' shows '$(hostname -i)'"
+         echo "'hostname -I' shows '$(hostname -I)'"
+         hostname_short=$(hostname -s)
+         hostname_long=$(hostname -f)
+         if ! grep -q $hostname_short /etc/hosts; then
+           actual_ip=$(ip -4 addr show dev eth0 | grep -o 'inet [0-9.]*' | cut -f2 -d ' ')
+           echo "Setting $hostname_long / $hostname_short to $actual_ip in /etc/hosts"
+           echo "$actual_ip $hostname_long $hostname_short" | sudo tee -a /etc/hosts
+           ip -br addr
+           echo "'hostname -i' shows '$(hostname -i)'"
+           echo "'hostname -I' shows '$(hostname -I)'"
+         fi
      - name: Build with Maven (${{ matrix.profile.name }})
        timeout-minutes: 60
 -      run: mvn -B -V -e -ntp "-Dstyle.color=always" ${{ matrix.profile.args }}
 +      run: mvn -B -V -e -ntp "-Dstyle.color=always" -DskipFormat ${{ matrix.profile.args }}
        env:
          MAVEN_OPTS: -Djansi.force=true
      - name: Upload unit test results