mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
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>
This commit is contained in:
parent
a24c8050e1
commit
e973c1dd48
10
.github/workflows/build-test-docker.yml
vendored
10
.github/workflows/build-test-docker.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue