mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
and update the script in `ci/` accordingly. When only parts of the Kata Containers repositories are checked out (e.g. when building with Snap) and no Rust version is provided in calling `install_rust.sh`, the scripts will attempt to clone the appropriate repos to read the version, which will fail because the directories already exist. Since we have read the version already, we can just specify it. Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
17 lines
220 B
Bash
Executable File
17 lines
220 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) 2019 Ant Financial
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -e
|
|
|
|
cidir=$(dirname "$0")
|
|
source "${cidir}/lib.sh"
|
|
|
|
clone_tests_repo
|
|
|
|
pushd ${tests_repo_dir}
|
|
.ci/install_rust.sh ${1:-}
|
|
popd
|