Closed naman-msft closed 5 months ago
made the changes and pushed with updates
@vmarcella: how to troubleshoot this part of the code where I am replicating the curl command to see if the website is live and working but it keeps running in my local ubuntu terminal although a valid URL has been generated.
runtime="5 minute";
endtime=$(date -ud "$runtime" +%s);
while [[ $(date -u +%s) -le $endtime ]]; do
if curl -L -s -f $MY_STATIC_WEB_APP_URL > /dev/null ; then
curl -L -s -f $MY_STATIC_WEB_APP_URL > /dev/null | head -n 9
break
else
echo "Waiting for the static web app to be deployed..."
sleep 10
fi;
done
Results:
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8 />
<meta name=viewport content="width=device-width, initial-scale=1.0" />
<meta http-equiv=X-UA-Compatible content="IE=edge" />
<title>Azure Static Web Apps - Welcome</title>
<link rel="shortcut icon" href=https://appservice.azureedge.net/images/static-apps/v3/favicon.svg type=image/x-icon />
<link rel=stylesheet href=https://ajax.aspnetcdn.com/ajax/bootstrap/4.1.1/css/bootstrap.min.css crossorigin=anonymous />
@vmarcella: how to troubleshoot this part of the code where I am replicating the curl command to see if the website is live and working but it keeps running in my local ubuntu terminal although a valid URL has been generated.
- Validate that the static web app is running by curling the application url:
runtime="5 minute"; endtime=$(date -ud "$runtime" +%s); while [[ $(date -u +%s) -le $endtime ]]; do if curl -L -s -f $MY_STATIC_WEB_APP_URL > /dev/null ; then curl -L -s -f $MY_STATIC_WEB_APP_URL > /dev/null | head -n 9 break else echo "Waiting for the static web app to be deployed..." sleep 10 fi; done
Results:
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8 /> <meta name=viewport content="width=device-width, initial-scale=1.0" /> <meta http-equiv=X-UA-Compatible content="IE=edge" /> <title>Azure Static Web Apps - Welcome</title> <link rel="shortcut icon" href=https://appservice.azureedge.net/images/static-apps/v3/favicon.svg type=image/x-icon /> <link rel=stylesheet href=https://ajax.aspnetcdn.com/ajax/bootstrap/4.1.1/css/bootstrap.min.css crossorigin=anonymous />
Have you made any progress on this issue @naman-msft?
The converter files should not be in the top level of the repo, they should be in a specific folder. Can you also add to the description of the PR the AI converter changes? Right now it appears that the PR is just for the static web app.
The converter files should not be in the top level of the repo, they should be in a specific folder. Can you also add to the description of the PR the AI converter changes? Right now it appears that the PR is just for the static web app.
Created the static web app exec doc with the similarity blocks generated by AI. It works now. Had to get modify the original Azure doc to get around the Git authentication part, which could be reinstated once we allow users to add variables while running the exec doc. Let me know if there are any comments or question!