Skip to content

Commit

Permalink
Bypass cache for banner frame
Browse files Browse the repository at this point in the history
Change-Id: I96560937cda0df0f467201c219a98c949c74f7dd
  • Loading branch information
fredg02 committed Sep 14, 2022
1 parent e88fa8b commit 7291e35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions infoCenter/orchestrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down Expand Up @@ -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:"
Expand Down

0 comments on commit 7291e35

Please sign in to comment.