diff options
author | Christian Hopps <chopps@labn.net> | 2024-06-08 21:37:47 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-06-08 23:29:19 +0200 |
commit | e973c1dd481b99171774a7dd127695864d5a7b09 (patch) | |
tree | 103f5b87db545c04f21b97f542d6bcaa30def8c3 | |
parent | Merge pull request #16150 from LabNConsulting/chopps/native-message-comments (diff) | |
download | frr-e973c1dd481b99171774a7dd127695864d5a7b09.tar.xz frr-e973c1dd481b99171774a7dd127695864d5a7b09.zip |
ci: do apt-get update before installing required modules
- Use `uname -r` to also install specific module versions since
with github runners the running kernel can become out-dated with
the deployed packages.
Signed-off-by: Christian Hopps <chopps@labn.net>
-rw-r--r-- | .github/workflows/build-test-docker.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build-test-docker.yml b/.github/workflows/build-test-docker.yml index de9f620c9..3f53f32d3 100644 --- a/.github/workflows/build-test-docker.yml +++ b/.github/workflows/build-test-docker.yml @@ -68,11 +68,13 @@ jobs: - name: Run topotests run: | uname -a - sudo apt-get install -y linux-modules-extra-azure || true - sudo apt-get install -y python3-xmltodict || true + MODPKGVER=$(uname -r) + sudo apt-get update -y + # Github is running old kernels but installing newer packages :( + sudo apt-get install -y linux-modules-extra-azure linux-modules-${MODPKGVER} linux-modules-extra-${MODPKGVER} python3-xmltodict sudo modprobe vrf || true - sudo modprobe mpls-iptunnel || true - sudo modprobe mpls-router || true + sudo modprobe mpls-iptunnel + sudo modprobe mpls-router docker load --input /tmp/frr-ubuntu22.tar if ! grep CONFIG_IP_MROUTE_MULTIPLE_TABLES=y /boot/config*; then |