From b42f623ad64ba7474dee4fc1c912455a789e8dc2 Mon Sep 17 00:00:00 2001 From: Reactor Scram Date: Tue, 13 Feb 2024 20:54:42 -0600 Subject: [PATCH] ci(linux): add CI setup script for NetworkManager (#3641) No user-facing changes. Just making sure I can install NM in the runner. --- .github/workflows/ci.yml | 4 ++++ scripts/dns-nm-setup.bash | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100755 scripts/dns-nm-setup.bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a97d7e40..e9a6f173f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/scripts/dns-nm-setup.bash b/scripts/dns-nm-setup.bash new file mode 100755 index 000000000..370221e74 --- /dev/null +++ b/scripts/dns-nm-setup.bash @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -euo pipefail + +nslookup github.com +sudo apt-get install -y network-manager +nslookup github.com