Skip to content

Commit

Permalink
T7026: Add script build vpp package
Browse files Browse the repository at this point in the history
  • Loading branch information
sever-sever committed Jan 7, 2025
1 parent aeb94b7 commit b04538b
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 b04538b

Please sign in to comment.