mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Pin virtiofsd-rs to a specific revision
In order to avoid CI issues, from now on, we'll update the virtiofsd-rs revision manually. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
5ac013df8b
commit
bebc5f957e
@@ -202,7 +202,8 @@ update_workloads() {
|
|||||||
VIRTIOFSD_RS_DIR="virtiofsd_rs_build"
|
VIRTIOFSD_RS_DIR="virtiofsd_rs_build"
|
||||||
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
||||||
pushd $WORKLOADS_DIR
|
pushd $WORKLOADS_DIR
|
||||||
git clone --depth 1 "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
||||||
|
git checkout c847ab63acabed2ed6e6913b9c76bb5099a1d4cb
|
||||||
pushd $VIRTIOFSD_RS_DIR
|
pushd $VIRTIOFSD_RS_DIR
|
||||||
time cargo build --release
|
time cargo build --release
|
||||||
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
||||||
|
|||||||
@@ -122,7 +122,8 @@ VIRTIOFSD_RS="$WORKLOADS_DIR/virtiofsd-rs"
|
|||||||
VIRTIOFSD_RS_DIR="virtiofsd_rs_build"
|
VIRTIOFSD_RS_DIR="virtiofsd_rs_build"
|
||||||
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
||||||
pushd $WORKLOADS_DIR
|
pushd $WORKLOADS_DIR
|
||||||
git clone --depth 1 "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
||||||
|
git checkout c847ab63acabed2ed6e6913b9c76bb5099a1d4cb
|
||||||
pushd $VIRTIOFSD_RS_DIR
|
pushd $VIRTIOFSD_RS_DIR
|
||||||
time cargo build --release
|
time cargo build --release
|
||||||
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user