diff options
-rw-r--r-- | .github/workflows/trigger_rebuild_packages.yml | 6 | ||||
-rw-r--r-- | scripts/package-build/vpp/.gitignore | 1 | ||||
l--------- | scripts/package-build/vpp/build.py | 1 | ||||
-rw-r--r-- | scripts/package-build/vpp/package.toml | 15 |
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" +] |