summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-01-08 13:04:08 +0000
committerGitHub <noreply@github.com>2025-01-08 13:04:08 +0000
commit7d71873472eabe5e082a079bea0dd51ba2978b99 (patch)
tree950ab03520eb0444253e1598e1096e82e2cbf243
parentaeb94b726fd238e507cbeb4f6bad3909574871c1 (diff)
parentb04538b9b205509e0d3adb016913e8e5d8f8d6c4 (diff)
downloadvyos-build-7d71873472eabe5e082a079bea0dd51ba2978b99.tar.gz
vyos-build-7d71873472eabe5e082a079bea0dd51ba2978b99.zip
Merge pull request #878 from sever-sever/T7026
packages: T7026: Add a script for building VPP
-rw-r--r--.github/workflows/trigger_rebuild_packages.yml6
-rw-r--r--scripts/package-build/vpp/.gitignore1
l---------scripts/package-build/vpp/build.py1
-rw-r--r--scripts/package-build/vpp/package.toml15
4 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/trigger_rebuild_packages.yml b/.github/workflows/trigger_rebuild_packages.yml
index ffff020f..6cac7362 100644
--- a/.github/workflows/trigger_rebuild_packages.yml
+++ b/.github/workflows/trigger_rebuild_packages.yml
@@ -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:
@@ -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
diff --git a/scripts/package-build/vpp/.gitignore b/scripts/package-build/vpp/.gitignore
new file mode 100644
index 00000000..100411c4
--- /dev/null
+++ b/scripts/package-build/vpp/.gitignore
@@ -0,0 +1 @@
+/vpp/
diff --git a/scripts/package-build/vpp/build.py b/scripts/package-build/vpp/build.py
new file mode 120000
index 00000000..3c76af73
--- /dev/null
+++ b/scripts/package-build/vpp/build.py
@@ -0,0 +1 @@
+../build.py \ No newline at end of file
diff --git a/scripts/package-build/vpp/package.toml b/scripts/package-build/vpp/package.toml
new file mode 100644
index 00000000..255c3943
--- /dev/null
+++ b/scripts/package-build/vpp/package.toml
@@ -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"
+]