From bd30be56ee4557ff9c3ee2c71eee4048be49afb1 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Wed, 9 Feb 2022 10:46:42 +0100 Subject: [PATCH] jenkins/kola: use httpS URL for PXE boot Follow-up of: * https://github.com/flatcar-linux/mantle/pull/288 * https://github.com/flatcar-linux/Flatcar/issues/527 Signed-off-by: Mathieu Tortuyaux --- jenkins/kola/packet.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jenkins/kola/packet.sh b/jenkins/kola/packet.sh index 412906f560..0b5e91973e 100755 --- a/jenkins/kola/packet.sh +++ b/jenkins/kola/packet.sh @@ -9,10 +9,6 @@ timeout=8h set -o pipefail # Construct the URLs of the image to be used during tests. -# KERNEL/CPIO_URL will be used by iPXE and so it will use http instead of https to -# make the boot process faster (except for signed URLs). -# IMAGE_URL is downloaded through Flatcar and can do SSL just fine, so that one -# can use https:// without a significant delay if [[ "${DOWNLOAD_ROOT}" == gs://flatcar-jenkins-private/* ]]; then echo "Fetching google/cloud-sdk" docker pull google/cloud-sdk > /dev/null @@ -23,8 +19,8 @@ if [[ "${DOWNLOAD_ROOT}" == gs://flatcar-jenkins-private/* ]]; then else BASE_PATH="bucket.release.flatcar-linux.net/$(echo $DOWNLOAD_ROOT | sed 's|gs://||g')/boards/${BOARD}/${FLATCAR_VERSION}" IMAGE_URL="https://${BASE_PATH}/flatcar_production_packet_image.bin.bz2" - KERNEL_URL="http://${BASE_PATH}/flatcar_production_pxe.vmlinuz" - CPIO_URL="http://${BASE_PATH}/flatcar_production_pxe_image.cpio.gz" + KERNEL_URL="https://${BASE_PATH}/flatcar_production_pxe.vmlinuz" + CPIO_URL="https://${BASE_PATH}/flatcar_production_pxe_image.cpio.gz" fi if [[ "${KOLA_TESTS}" == "" ]]; then