mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
ci: don't ping gateway before running perf (#3649)
Running perf byitself should be enough to establish a connection, we don't need to explicitly do that before. Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -235,19 +235,13 @@ jobs:
|
||||
include:
|
||||
- test_name: direct-perf
|
||||
setup: echo 'Noop'
|
||||
execute: |
|
||||
# Establish a channel
|
||||
docker compose exec -it client timeout 60 \
|
||||
sh -c 'until ping -W 1 -c 1 172.20.0.100 &>/dev/null; do true; done'
|
||||
execute: echo 'Noop'
|
||||
- test_name: relayed-perf
|
||||
setup: |
|
||||
# Disallow traffic between gateway and client container
|
||||
sudo iptables -I FORWARD 1 -s 172.28.0.100 -d 172.28.0.105 -j DROP
|
||||
sudo iptables -I FORWARD 1 -s 172.28.0.105 -d 172.28.0.100 -j DROP
|
||||
execute: |
|
||||
# Establish a channel
|
||||
docker compose exec -it client timeout 60 \
|
||||
sh -c 'until ping -W 1 -c 1 172.20.0.100 &>/dev/null; do true; done'
|
||||
execute: echo 'Noop'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user