From 3826831acdc44b569c1c7265a47d90504b230933 Mon Sep 17 00:00:00 2001 From: Andrea Panattoni Date: Mon, 19 Aug 2024 09:49:50 +0200 Subject: [PATCH] cnf-tests: Compile cluster-node-tuning operator bindata Since [1], cluster-node-tuning operator needs a compile step to run functional tests. Though a general refactor in how we run submodules functional tests would be required at this point, this commit fix the problem in the short term by invoking `make vet` right after the checkout. [1] https://github.com/openshift/cluster-node-tuning-operator/pull/1116 Signed-off-by: Andrea Panattoni --- cnf-tests/hack/init-git-submodules.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cnf-tests/hack/init-git-submodules.sh b/cnf-tests/hack/init-git-submodules.sh index de8a2b5be6..1dc3cbe043 100755 --- a/cnf-tests/hack/init-git-submodules.sh +++ b/cnf-tests/hack/init-git-submodules.sh @@ -26,3 +26,7 @@ git checkout origin/"${SRIOV_NETWORK_OPERATOR_TARGET_COMMIT}" cd ../cluster-node-tuning-operator/ git fetch --all git checkout origin/"${CLUSTER_NODE_TUNING_OPERATOR_TARGET_COMMIT}" + +# cluster-node-tuning-operator's test suite need binary files to be compiled before running test +# https://github.com/openshift/cluster-node-tuning-operator/pull/1116 +make vet