From 7291e35e901d085351a7066fe8cb751835b65e16 Mon Sep 17 00:00:00 2001 From: Frederic Gurr Date: Wed, 14 Sep 2022 16:05:13 +0200 Subject: [PATCH] Bypass cache for banner frame Change-Id: I96560937cda0df0f467201c219a98c949c74f7dd --- infoCenter/orchestrate.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/infoCenter/orchestrate.sh b/infoCenter/orchestrate.sh index 72351b5..7d13bc1 100755 --- a/infoCenter/orchestrate.sh +++ b/infoCenter/orchestrate.sh @@ -39,7 +39,9 @@ open_infocenter_in_browser() { local url="https://help.eclipse.org/${release_name}" # This might require something like: wget -O - --tries=1 --header='X-Cache-Bypass: true' "${url}" > /dev/null - + # Update banner specifically + wget -O - --tries=1 --header='X-Cache-Bypass: true' "${url}/topic/org.foundation.helpbanner2/banner.html" > /dev/null + # open url in browser open_url "${url}" } @@ -204,8 +206,8 @@ update_latest_redirection(){ cat "${route_latest_file}" #- Deploy the route oc apply -f "${route_latest_file}" - echo "Sleep for 10 seconds..." - sleep 10 + echo "Sleep for 20 seconds..." + sleep 20 echo "Check that https://help.eclipse.org/latest shows the latest version..." open_infocenter_in_browser "latest" echo "TODO:"