-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add cpt firmware dependency for VPP package
Added automatic CPT Firmware dependency in VPP workflow Signed-off-by: Nagendra T P <[email protected]>
- Loading branch information
Nagendra T P
committed
Aug 23, 2024
1 parent
93531b0
commit 31c13aa
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,11 @@ jobs: | |
mkdir -p "${PWD}/artifacts" | ||
git tag --points-at HEAD > /tmp/tags | ||
[ -s /tmp/tags ] && PKG_POSTFIX= || PKG_POSTFIX=-devel | ||
if [ $PKG_POSTFIX = -devel ]; then | ||
FW_PKG_POSTFIX= | ||
else | ||
FW_PKG_POSTFIX=$PKG_POSTFIX | ||
fi | ||
[ -s /tmp/tags ] && NIGHTLY=false || NIGHTLY=true | ||
echo "PKG_VERSION_NAME=`./src/scripts/version | awk -F '-' '{print $1}'`" >> "${PWD}/artifacts/env" | ||
echo "MRVL_PKG_VERSION=`cat MRVL_VERSION`" >> "${PWD}/artifacts/env" | ||
|
@@ -136,7 +141,7 @@ jobs: | |
echo 'Package: vpp-'$PKG_VERSION_NAME'-cn10k'$PKG_POSTFIX >> DEBIAN/control | ||
echo 'Version: '$MRVL_PKG_VERSION >> DEBIAN/control | ||
echo "Maintainer: Jerin Jacob ([email protected])" >> DEBIAN/control | ||
echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn10k (= '$DPDK_PKG_VERSION')' >> DEBIAN/control | ||
echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn10k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn10k'${FW_PKG_POSTFIX} (= '$MRVL_PKG_VERSION')' >> DEBIAN/control | ||
echo "Architecture: arm64" >> DEBIAN/control | ||
echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control | ||
echo "Description: Vector Packet Processing (VPP) for Octeon10" >> DEBIAN/control | ||
|