diff --git a/.github/workflows/trigger_rebuild_packages.yml b/.github/workflows/trigger_rebuild_packages.yml index ffff020fb1..6cac73626e 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 0000000000..100411c469 --- /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 0000000000..3c76af73e2 --- /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 0000000000..255c39432f --- /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" +]