microsoft / tailwindtraders Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://microsoft.github.io/TailwindTraders
License: MIT License
Home Page: https://microsoft.github.io/TailwindTraders
License: MIT License
Similar to when you deploy a resource via the Azure Portal, we really should have checks in place to better ensure the deployment will succeed. Examples are
In the "Configuring the Azure Continuous Integration Pipeline"
https://github.com/microsoft/TailwindTraders/tree/master/Documents/DemoScripts/Integrating%20Azure%20DevOps%2C%20Microsoft%20Teams%20and%20GitHub#configuring-the-azure-continuous-integration-pipeline
section
the step to "Replace the default template with the below YAML snippet and substitute the below variables with relevant values" has sample code that uses Docker@1 instead of Docker@2.
While using Docker@1 worked when I tried it today, I believe Docker@2 is recommended now. Docker@2 is what is documented on docs.microsoft.com:
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops
so it would be nice to update the documentation to use Docker@2 instead of Docker@1
I'm getting same issue, It fails on step 16 of
https://github.com/microsoft/TailwindTraders/tree/master/Documents/DemoScripts/Integrating%20Azure%20DevOps%2C%20Microsoft%20Teams%20and%20GitHub#integrating-azure-devops-microsoft-teams-and-github
Your help is much appreciated
Checking if the following resource group exists: windtailtraders.
Resource group exists: true.
Creating deployment parameters.
##[error]Check out the troubleshooting guide to see if your issue is addressed: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
##[error]Error: Could not find any file matching the template file pattern
Finishing: Azure Deployment
Provide a AZ CLI based script to deploy the Azure Resources, which will provide more clarity on the resources needed to standup an ENV. This will go next to the Deploy button
Here is the ARM deployment: -
resourceGroups/TailwindBackend/providers/Microsoft.Sql/servers/ttsqlserverjhn2shwkybtso", "resourceType": "Microsoft.Sql/servers", "resourceName": "ttsqlserverjhn2shwkybtso" }, "request": { "content": { "location": "eastus", "properties": { "administratorLogin": "sqladmin", "administratorLoginPassword": "P2SSWORD", "version": "12.0" } } }, "response": { "content": { "name": "68353530-ef45-49b1-b0d9-b7fc60206bb8", "status": "Failed", "startTime": "2019-02-13T17:17:21.39Z", "error": { "code": "PasswordNotComplex", "message": "Password validation failed. The password does not meet policy requirements because it is not complex enough." } } } }}
All Tailwind Traders Apps should use GitHub Actions for CI/CD
These Actions should include
I was just trying to learn more about this app but it's painful to use.
I was browsing the list of items and picked the first one from here to Add to List.
http://tailwindtraders.com/list/sink
After 30 seconds this page loads
http://tailwindtraders.com/product/detail/9
I'm not logged in and it happens with other items (tried a few).
I just noticed that the tailwindtraders public website is not functional:
Login with documented credentials doesn't work (login: [email protected]
, password: password
).
Clicking on the menu links is not loading anything. Stuck on loading/spinner indicator.
The related Azure DevOps project seems to have been decommissioned.
Can anyone please take a look and verify?
When running the android app in Release mode, crashes loading the Login Page. Crashes with null exception where it says "No source code is available"
Following through the Azure Pipelines, GitHub and Azure Boards script, the build pipeline created by the Azure DevOps Demo Generator fails at the Build an Image step. The error is as follows:
##[error]Unhandled: No Dockerfile matching /home/vsts/work/1/s/Source/Dockerfile was found.
The Dockerfile
section of the step contains a value of Source/Dockerfile
which appears to be incorrect. Updating this value to Source/Tailwind.Traders.Web/Dockerfile
allows the build to progress.
the prompt to specify a postgres version keeps failing me. I've tried 11.4, 9.6, 9, 11 and all fail. I'm passing it using single quotes''. Please advise, with this failure the WorkspaceDeployment and the SolutionDeployment both succeed so I think it's just the PostGres that isn't created.
Below is error message (RESOURCE ID removed)
{ "id": "/subscriptions/9aa7299f-fdd4-47b8-acaf-825d2bdc8bba/resourceGroups/AKSThirdAttempt/providers/Microsoft.Resources/deployments/deployment/operations/3F5E3780F0842002", "operationId": "3F5E3780F0842002", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-07-26T17:08:48.2614439Z", "duration": "PT1M1.0999929S", "trackingId": "0cbfe728-4ada-4d3c-80c8-ccd10fb1e5cc", "statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "InvalidVersion", "message": "Version ''11'' is not supported." } ] } }, "targetResource": { "id": "/subscriptions/9aa7299f-fdd4-47b8-acaf-825d2bdc8bba/resourceGroups/AKSThirdAttempt/providers/Microsoft.DBforPostgreSQL/servers/ttpggneoho5zai6dw", "resourceType": "Microsoft.DBforPostgreSQL/servers", "resourceName": "ttpggneoho5zai6dw" } }}
In item 9 it is mentioned
Select the Variables tab and add the following variables as detailed below.
appservice-name | Your appservice-name
it is greyed out, I am not able to understand what this variable should have? I tried the my of
Container Registory
the name of my
Repository
When I create a release I get
2020-07-03T18:17:54.0154275Z [command]/usr/bin/az account set --subscription f151ee3f-4725-460d-8e3b-82512dfda843
2020-07-03T18:17:54.8737754Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/home/vsts/work/_temp/azureclitaskscript1593800269234.ps1'
2020-07-03T18:17:58.0953285Z ResourceNotFound - The Resource 'Microsoft.Web/sites/sierac' under resource group 'IgniteLearningPath' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
2020-07-03T18:17:58.4543468Z ##[error]Script failed with exit code: 1
2020-07-03T18:17:58.4565142Z [command]/usr/bin/az account clear
2020-07-03T18:17:59.2981765Z ##[section]Finishing: Configure Container settings to App Service
Wjat should be the service name?
Thanks
Following through the Azure Pipelines, GitHub and Azure Boards script, the build pipeline created by the Azure DevOps Demo Generator fails at the "Azure Deployment:Create Or Update Resource Group action on $(resourcegroup)" step as follows
##[error]Deployment template validation failed: 'The template parameters 'userEmail' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'sku, skuCode, registrySku, workerSize, dockerRegistryUrl, dockerimage, apiBaseUrl'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.
##[error]Task failed while creating or updating the template deployment.
The override template parameters
section of the step contains a value -userEmail $(useremail)
removing this value allows the build to proceed.
The provisioning of the app takes place in a bootstrap container. The container runs the following (for example):
https://github.com/microsoft/ignite-learning-paths-training-ops/blob/main/deployment/deploy.sh
which does a whole host of tasks including pre-loading the db, etc.
The actions for this script should instead be performed now in a ARM script action.
Also, the ARM templates include hardcoded regions
The README.md file links to https://github.com/Microsoft/connect-petdetector
which results in a 404.
Azure Notebook no longer exists, right?
trying to set up for a demo of the Tailwind website using product search by image - i am getting:
Exception thrown: 'System.DivideByZeroException' in Microsoft.ML.OnnxRuntime.dll
I get this using any of the test images in the Documents/TestImages folder
In the main overview picture:
https://github.com/microsoft/TailwindTraders/blob/master/Documents/Images/Diagram.png
The Cart API is defined as ".NET Core", however when I look at the code it's node.js
?
I get an error when trying to follow these links:
product-list.zip: https://1drv.ms/u/s!Asa-selZwiFlg_QVhlC9O8sRaYcAvQ
coupon-list.zip: https://1drv.ms/u/s!Asa-selZwiFlg_QT-bBrsoBLq2yrSQ
product-detail.zip: https://1drv.ms/u/s!Asa-selZwiFlg_QUACkViDBOqpII_Q
profiles-list.zip: https://1drv.ms/u/s!Asa-selZwiFlg_QSAl40JUEPiKivDw
This guide is missing in the repo, https://github.com/microsoft/TailwindTraders/blob/master/Documents/DeploymentGuide.md Not sure if it was moved.
I'm using Azure CLI 2.4.0 on MacOS.
When I follow the instruction towards the creation of the RBAC security:
az ad sp create-for-rbac --name TTapp --password Pa$$w0rd01
The CLI gives me error: "az: error: unrecognized arguments: --password Pa19428w0rd01"
Hi all,
in this page [https://github.com/microsoft/TailwindTraders/tree/master/Documents/DemoScripts/Managing%20backend%20with%20Azure%20Kubernetes%20Service%20(AKS)] you explain how to use Azure Dev Spaces, but it's deprecated since 2021 [https://azure.microsoft.com/it-it/updates/azure-dev-spaces-is-retiring-on-31-october-2023/].
Could it be possible to update the article with reference to Bridge to Kubernetes https://devblogs.microsoft.com/visualstudio/bridge-to-kubernetes-ga/ ?
Thanks a lot,
Luca Bovo - beanTech
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.