Skip to content

Commit

Permalink
cnf-tests: Compile cluster-node-tuning operator bindata
Browse files Browse the repository at this point in the history
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] openshift/cluster-node-tuning-operator#1116

Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke authored and natifridman committed Sep 29, 2024
1 parent 73f8a83 commit 3826831
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cnf-tests/hack/init-git-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3826831

Please sign in to comment.