From 3b2c17fbfc54bc6fe110733cd9d54989b5d7a6db Mon Sep 17 00:00:00 2001 From: James Adams Date: Wed, 6 Nov 2024 15:35:48 +0000 Subject: [PATCH] ci-scripts: Don't include network backend specific schema Let the component template logic include one, otherwise we end up with duplicate type definitions. --- .ci-scripts/test-templates | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci-scripts/test-templates b/.ci-scripts/test-templates index ba2b8e232..c9aad945f 100755 --- a/.ci-scripts/test-templates +++ b/.ci-scripts/test-templates @@ -407,6 +407,9 @@ sed -i "/.*components\/ceph\/v[1-9][0-9]*\/.*/d" build_temp/test.pan # Only test default schema version of ssh component sed -i "/.*components\/ssh\/schema-.*/d" build_temp/test.pan +# Don't include nmstate network backend specific schema directly +sed -i "/.*components\/network\/types\/network\/backend\/.*/d" build_temp/test.pan + # try to compile it output=`panc --output-dir build_temp --include-path .:build_temp build_temp/test.pan 2>&1`