When new drivers are introduced, the cache key is not accurately computed.
Before the commit 1a1b3106d90e ("ci: Separate DPDK from OVS build."), the
DPDK build process was integrated in .ci/linux-{setup,build}.sh scripts,
where specific lines were employed to generate the key. Since it is now
separated in .ci/dpdk-{setup,build}.sh, this patch computes the key based
on the content of those dedicated scripts.
Fixes: 4e90baca89f0 ("system-dpdk: Run traffic tests.")
Signed-off-by: Eelco Chaudron <[email protected]>
---
.github/workflows/build-and-test.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build-and-test.yml
b/.github/workflows/build-and-test.yml
index d74668f61..e9a2714fb 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -30,7 +30,7 @@ jobs:
# This also allows us to use cache from any branch as long as version
# and a way we're building DPDK stays the same.
run: |
- grep -irE 'RTE_|DPDK|meson|ninja' .ci/dpdk-* > dpdk-ci-signature
+ cat .ci/dpdk-* > dpdk-ci-signature
grep -rwE 'DPDK_GIT|DPDK_VER' .github/ >> dpdk-ci-signature
if [ "${DPDK_VER##refs/*/}" != "${DPDK_VER}" ]; then
git ls-remote --heads $DPDK_GIT $DPDK_VER >> dpdk-ci-signature
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev