[PATCH lkp-tests] tests/deploy-cci: specifying the repository version

22 Dec
2020
22 Dec
'20
2:51 p.m.
Signed-off-by: Hu XueJiao <1034502035@qq.com> --- tests/deploy-cci | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/deploy-cci b/tests/deploy-cci index e296568f..55835544 100755 --- a/tests/deploy-cci +++ b/tests/deploy-cci @@ -19,6 +19,9 @@ mkdir -p /c cd /c || exit git clone https://gitee.com/wu_fengguang/compass-ci.git +cd /c/compass-ci || exit +[ -n "$compass_commitid" ] && git reset --hard "$compass_commitid" + # Need mount tmpfs to fix compass-ci/container/os-nfs/start error # "exportfs: /exports/result does not support NFS export" mount -t tmpfs none /srv -- 2.23.0
1527
Age (days ago)
1527
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hu Xuejiao