Skip to content

Commit

Permalink
ovs: add version 3.3.0 (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Feb 21, 2024
1 parent f1c6511 commit 5f4df0b
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-ovs-3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Build ovs 3.1
push:
branches:
- main
paths:
- '.github/workflows/build-ovs-3.1.yml'
- 'scripts/build-ovs-3.1.sh'

jobs:
build-ovs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-ovs-3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Build ovs 3.2
push:
branches:
- main
paths:
- '.github/workflows/build-ovs-3.2.yml'
- 'scripts/build-ovs-3.2.sh'

jobs:
build-ovs:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/build-ovs-3.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Build ovs 3.3

"on":
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/workflows/build-ovs-3.3.yml'
- 'scripts/build-ovs-3.3.sh'

jobs:
build-ovs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Build ovs package
run: ./scripts/build-ovs-3.3.sh

- name: Upload ovs package
uses: actions/upload-artifact@v3
with:
name: ovs
path: "*.deb"
retention-days: 5
43 changes: 43 additions & 0 deletions scripts/build-ovs-3.3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env bash

VERSION=v3.3.0

# https://docs.openvswitch.org/en/latest/intro/install/debian/#building-open-vswitch-debian-packages

sudo apt-get update
sudo apt-get install -y \
autoconf \
automake \
build-essential \
bzip2 \
debhelper-compat \
dh-exec \
dh-python \
dh-sequence-python3 \
dh-sequence-sphinxdoc \
fakeroot \
graphviz \
iproute2 \
libcap-ng-dev \
libdbus-1-dev \
libnuma-dev \
libpcap-dev \
libssl-dev \
libtool \
libunbound-dev \
openssl \
pkg-config \
procps \
python3-all-dev \
python3-setuptools \
python3-sortedcontainers \
python3-sphinx
git clone https://github.com/openvswitch/ovs.git

pushd ovs
git checkout $VERSION
./boot.sh
./configure
make debian
make debian-deb
popd

0 comments on commit 5f4df0b

Please sign in to comment.