mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 12:29:49 +00:00
tests: Make sure to install yq before using it
Make sure to install yq before using it to modify YAML files. Signed-off-by: ChengyuZhu6 <chengyu.zhu@intel.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
c52b356482
commit
2c0bc8855b
@@ -203,6 +203,7 @@ set_container_command() {
|
||||
local yaml="${1}"
|
||||
local container_idx="${2}"
|
||||
shift 2
|
||||
|
||||
for command_value in "$@"; do
|
||||
yq write -i "${yaml}" "spec.containers[${container_idx}].command[+]" --tag '!!str' "${command_value}"
|
||||
done
|
||||
|
Reference in New Issue
Block a user