File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ cd ~/ovn-heater
155155```
156156
157157This step will:
158- - clone OVS, OVN and ovn-fake-multinode upstream main branches in the
158+ - clone OVS and OVN main branches in the ` runtime ` directory.
159+ - clone ovn-fake-multinode upstream latest stable tag (` v0.5 ` ) in the
159160 ` runtime ` directory.
160161- build the ` ovn/ovn-multi-node ` container image which will be used by the
161162 fake nodes spawned during the tests. OVS/OVN binaries are built with
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ ovn_branch="${OVN_BRANCH:-main}"
119119
120120# ovn-fake-multinode env vars
121121ovn_fmn_repo=" ${OVN_FAKE_MULTINODE_REPO:- https:// github.com/ ovn-org/ ovn-fake-multinode.git} "
122- ovn_fmn_branch=" ${OVN_FAKE_MULTINODE_BRANCH:- main } "
122+ ovn_fmn_branch=" ${OVN_FAKE_MULTINODE_BRANCH:- v0.5 } "
123123
124124OS_BASE=" ${OS_BASE:- fedora} "
125125OS_IMAGE_OVERRIDE=" ${OS_IMAGE_OVERRIDE} "
@@ -295,8 +295,9 @@ function record_test_config() {
295295 pushd ${rundir} /$d
296296 local origin=$( git config --get remote.origin.url)
297297 local sha=$( git rev-parse HEAD)
298- local sha_name=$( git rev-parse --abbrev-ref HEAD)
299- echo " $d (${origin} ): ${sha} (${sha_name} )" >> ${out_file}
298+ local name=$( git describe --tags --exact-match HEAD 2> /dev/null || \
299+ git rev-parse --abbrev-ref HEAD)
300+ echo " $d (${origin} ): ${sha} (${name} )" >> ${out_file}
300301 popd
301302 done
302303}
You can’t perform that action at this time.
0 commit comments