Skip to content

Commit

Permalink
Merge pull request #878 from sever-sever/T7026
Browse files Browse the repository at this point in the history
packages: T7026: Add a script for building VPP
  • Loading branch information
dmbaturin authored Jan 8, 2025
2 parents aeb94b7 + b04538b commit 7d71873
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/trigger_rebuild_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
- 'scripts/package-build/tacacs/**'
telegraf:
- 'scripts/package-build/telegraf/**'
vpp:
- 'scripts/package-build/vpp/**'
waagent:
- 'scripts/package-build/waagent/**'
wide-dhcpv6:
Expand Down Expand Up @@ -223,6 +225,10 @@ jobs:
trigger_build "telegraf"
fi
if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then
trigger_build "vpp"
fi
if [ "${{ steps.changes.outputs.waagent }}" == "true" ]; then
trigger_build "waagent"
fi
Expand Down
1 change: 1 addition & 0 deletions scripts/package-build/vpp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vpp/
1 change: 1 addition & 0 deletions scripts/package-build/vpp/build.py
15 changes: 15 additions & 0 deletions scripts/package-build/vpp/package.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[[packages]]
name = "vpp"
commit_id = "stable/2406"
scm_url = "https://github.com/FDio/vpp"

build_cmd = """
make UNATTENDED=yes install-dep
make pkg-deb
cp build-root/*.deb ../
"""

[dependencies]
packages = [
"llvm"
]

0 comments on commit 7d71873

Please sign in to comment.