-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Created AI Converter + Added Static Web App Exec Doc #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure we use generic environment variables and random postfixes.
The webapp 'show' command at the end doesn't ensure a valid output. You can also curl as an option. See LAMP doc for an example.
Echo the url to the user at the end like in LAMP/AKS docs.
Delete the AI's message at the end about the markdown being useful.
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 /> |
Have you made any progress on this issue @naman-msft? |
…r ai generated exec docs
…r ai generated exec docs
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. |
|
…neration subfolder
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!