Clover testcase hook patch:
https://gerrit.opnfv.org/gerrit/#/c/54541/
Change-Id: Iab6c2c4fc65e482604d48ca2cbd028453b8a437a
Signed-off-by: QiLiang <liangqi1@huawei.com>
(cherry picked from commit
76ce0009feed821920837cab55c6ff0017aaf69f)
pip install \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
- /src/functest-kubernetes stor4nfv-tests && \
+ /src/functest-kubernetes stor4nfv-tests clover && \
rm -rf /src/k8s.io/kubernetes/.git /src/functest-kubernetes && \
bash -c "mkdir -p /var/lib/xtesting /home/opnfv" && \
ln -s /var/lib/xtesting /home/opnfv/functest && \
pip install \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
- stor4nfv-tests && \
+ stor4nfv-tests clover && \
apk del .build-deps
COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]