Pass the mandatory parameters to support testing on ARM64

The parameters are needed to build the test binaries, e.g. `e2e_node.test`
`ginkgo` etc.

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen 2023-06-08 17:26:57 +08:00
parent a2b8297a89
commit 54cae70678

View File

@ -94,6 +94,8 @@ if [ "${remote}" = true ] && [ "${remote_mode}" = gce ] ; then
gubernator=${GUBERNATOR:-"false"} gubernator=${GUBERNATOR:-"false"}
image_config_file=${IMAGE_CONFIG_FILE:-""} image_config_file=${IMAGE_CONFIG_FILE:-""}
image_config_dir=${IMAGE_CONFIG_DIR:-""} image_config_dir=${IMAGE_CONFIG_DIR:-""}
use_dockerized_build=${USE_DOCKERIZED_BUILD:-""}
target_build_arch=${TARGET_BUILD_ARCH:-""}
runtime_config=${RUNTIME_CONFIG:-""} runtime_config=${RUNTIME_CONFIG:-""}
if [[ ${hosts} == "" && ${images} == "" && ${image_config_file} == "" ]]; then if [[ ${hosts} == "" && ${images} == "" && ${image_config_file} == "" ]]; then
gci_image=$(gcloud compute images list --project "${image_project}" \ gci_image=$(gcloud compute images list --project "${image_project}" \
@ -172,6 +174,8 @@ if [ "${remote}" = true ] && [ "${remote_mode}" = gce ] ; then
--runtime-config="${runtime_config}" --preemptible-instances="${preemptible_instances}" \ --runtime-config="${runtime_config}" --preemptible-instances="${preemptible_instances}" \
--ssh-user="${ssh_user}" --ssh-key="${ssh_key}" --ssh-options="${ssh_options}" \ --ssh-user="${ssh_user}" --ssh-key="${ssh_key}" --ssh-options="${ssh_options}" \
--image-config-dir="${image_config_dir}" \ --image-config-dir="${image_config_dir}" \
--use-dockerized-build="${use_dockerized_build}" \
--target-build-arch="${target_build_arch}" \
--extra-envs="${extra_envs}" --kubelet-config-file="${kubelet_config_file}" --test-suite="${test_suite}" \ --extra-envs="${extra_envs}" --kubelet-config-file="${kubelet_config_file}" --test-suite="${test_suite}" \
"${timeout_arg}" \ "${timeout_arg}" \
2>&1 | tee -i "${artifacts}/build-log.txt" 2>&1 | tee -i "${artifacts}/build-log.txt"