You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2021/04/26 09:43:49 UTC
[qpid-dispatch] 01/01: DISPATCH-2078 Fix GitHub Actions SASL issue
by allowing reverse-hostname resolution through /etc/hosts
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch jiridanek-patch-4
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
commit ad6691eeb4905d749d2a6102523dabe9e2821307
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Mon Apr 26 11:43:40 2021 +0200
DISPATCH-2078 Fix GitHub Actions SASL issue by allowing reverse-hostname resolution through /etc/hosts
---
.github/workflows/build.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 7740f11..f9c174f 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -184,6 +184,11 @@ jobs:
LD_LIBRARY_PATH: ${{github.workspace}}/install/lib
steps:
+ # DISPATCH-2078: Workaround for https://github.com/actions/virtual-environments/issues/3185
+ - name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
+ 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
+
- name: Show environment (Linux)
if: ${{ always() && runner.os == 'Linux' }}
run: env -0 | sort -z | tr '\0' '\n'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org