Skip to content

Commit

Permalink
ci: do apt-get update before installing required modules
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Jun 8, 2024
1 parent a24c805 commit d3a6528
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ 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-azure linux-modules-extra-azure linux-modules-${MODPKGVER} linux-modules-extra-${MODPKGVER}
sudo apt-get install -y python3-xmltodict
ls -lR /lib/modules
sudo modprobe vrf || true
sudo modprobe mpls-iptunnel || true
sudo modprobe mpls-router || true
sudo modprobe mpls-router
docker load --input /tmp/frr-ubuntu22.tar
if ! grep CONFIG_IP_MROUTE_MULTIPLE_TABLES=y /boot/config*; then
Expand Down

0 comments on commit d3a6528

Please sign in to comment.