ci(linux): add CI setup script for NetworkManager (#3641)

No user-facing changes. Just making sure I can install NM in the runner.
This commit is contained in:
Reactor Scram
2024-02-13 20:54:42 -06:00
committed by GitHub
parent 1056af4020
commit b42f623ad6
2 changed files with 11 additions and 0 deletions

View File

@@ -274,6 +274,10 @@ jobs:
docker compose exec -it client timeout 60 \
sh -c 'until ping -W 1 -c 1 172.20.0.100 &>/dev/null; do true; done'
- test_name: dns-nm
setup: scripts/dns-nm-setup.bash
execute: echo 'Noop'
# Performance Tests
- test_name: direct-perf
# Set this to enable performance testing for this test

7
scripts/dns-nm-setup.bash Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
nslookup github.com
sudo apt-get install -y network-manager
nslookup github.com