CI: Stop hijacking the hosts file
authorTim Duesterhus <tim@bastelstu.be>
Wed, 11 Nov 2020 21:36:54 +0000 (22:36 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 7 Dec 2021 17:59:48 +0000 (18:59 +0100)
vtest/VTest#24 is merged now. This step is no longer required.

(cherry picked from commit fa1747dc7d2689a6309b3fa5b0cd2dbb37f44851)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>

.github/workflows/vtest.yml

index c3571b8..28e8141 100644 (file)
@@ -101,12 +101,6 @@ jobs:
         echo "::endgroup::"
         haproxy -vv
         echo "::set-output name=version::$(haproxy -v |awk 'NR==1{print $3}')"
-    - name: Adjust hosts file
-      # This step can be removed if https://github.com/vtest/VTest/pull/24 is
-      # fixed.
-      run: |
-        cat /etc/hosts
-        sudo sed -i.bak '/::1/s/^/#/' /etc/hosts
     - name: Install problem matcher for VTest
       # This allows one to more easily see which tests fail.
       run: echo "::add-matcher::.github/vtest.json"