Update IPv6 connectivity test in workflow to ping google.com instead of local address fd00::1
All checks were successful
TMW Global Networks Dokumentation / build (push) Successful in 5s
All checks were successful
TMW Global Networks Dokumentation / build (push) Successful in 5s
This commit is contained in:
parent
8ca889b339
commit
d04a2de949
@ -6,26 +6,5 @@ jobs:
|
||||
build:
|
||||
runs-on: alpine-latest
|
||||
steps:
|
||||
- name: Enable IPv6 in Runner and prepare for IPv6
|
||||
run: |
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.eth0.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.all.accept_ra=1
|
||||
sudo sysctl -w net.ipv6.conf.default.accept_ra=1
|
||||
- name: show ip addr
|
||||
run: ip a
|
||||
- name: show ip route
|
||||
run: ip -6 route
|
||||
- name: adding an ipv6 address to the runner
|
||||
run: |
|
||||
ip addr add fd00::2/64 dev eth0
|
||||
- name: adding default route
|
||||
run: ip -6 route add default via fd00::1 dev eth0 metric 1
|
||||
- name: show ip addr
|
||||
run: ip a
|
||||
- name: show ip route
|
||||
run: ip -6 route
|
||||
- name: Test IPv6 connectivity
|
||||
run: ping6 -c 3 fd00::1 || echo "IPv6 not working on runner"
|
||||
- name: ping google.com
|
||||
run: ping6 -c 3 google.com || echo "IPv6 not working on runner"
|
||||
|
||||
Reference in New Issue
Block a user