Skip to content

Commit

Permalink
GH actions: load VRF kernel module
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kennelly <[email protected]>
(cherry picked from commit dd1cb80)
  • Loading branch information
martinkennelly authored and trozet committed Aug 7, 2024
1 parent 3e9f84e commit ea7ae5d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ jobs:
cache-dependency-path: "**/*.sum"
id: go

- name: Install VRF kernel module
if: steps.is_pr_image_build_needed.outputs.PR_IMAGE_RESTORED != 'true' && success()
run: |
set -x
sudo apt-get install linux-modules-extra-$(uname -r) -y
sudo modprobe vrf
- name: Build and Test - from current pr branch
if: steps.is_pr_image_build_needed.outputs.PR_IMAGE_RESTORED != 'true' && success()
run: |
Expand Down Expand Up @@ -456,6 +463,12 @@ jobs:
OVN_ENABLE_DNSNAMERESOLVER: "${{ matrix.dns-name-resolver == 'enable-dns-name-resolver' }}"
steps:

- name: Install VRF kernel module
run: |
set -x
sudo apt-get install linux-modules-extra-$(uname -r) -y
sudo modprobe vrf
- name: Free up disk space
run: |
sudo rm -rf /usr/local/lib/android/sdk
Expand Down

0 comments on commit ea7ae5d

Please sign in to comment.