-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Added deployment template that installs DNX + scaffolds console app #1974
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
Conversation
|
Hi @jochenvw, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
|
@singhkay Could you please review this PR? Thanks |
dnx-on-ubuntu/README.md
Outdated
|
|
||
| This template will install the cross platform .NET execution context (DNX) on an Ubuntu Server installation, which allows you to write .NET apps on Linux! | ||
|
|
||
| <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fjochenvw%2Fazure-quickstart-templates%2Fmaster%2Fdnx-on-ubuntu%2Fazuredeploy.json" target="_blank"> |
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.
The links should point to Azure location
|
@jochenvw Thanks for creating a template for this unique scenario! Left some comments to address |
|
@singhkay Awesome - thank you very much for your in-depth review. I'll patch up the code and update the PR. Kudos on maintaining the standards on the templates, I'll step my game up. |
- Updated links to point > official azure repo - Removed template comments - Updated parameter names - Moved non-relevant paramaters into variables
|
@jochenvw Thanks for the update! Can you use camelCase for the parameters and variable names? |
|
@singhkay Done - but I can't make anything of the Travis build error. Any tips? |
|
@jochenvw np, that's transient failure with the wildcard dns service xip.io. I've kicked off the build again. |
dnx-on-ubuntu/azuredeploy.json
Outdated
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
| "contentVersion": "1.0.0.0", | ||
| "parameters": { | ||
| "VMAdminPassword": { |
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.
this and others below should be vmAdminPassword :)
dnx-on-ubuntu/azuredeploy.json
Outdated
| } | ||
| }, | ||
| "variables": { | ||
| "NIC name": "dnx-on-ubuntu-nic", |
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.
Please rename these variables to camelCase as well. e.g. nsgName
|
@jochenvw We're good from deployment passing but I'm still seeing some non camel case parameters and variables. Left some comments where updates are needed. Also take a look at some of the existing templates to get an idea of how the parameters and variables are laid out https://github.com/Azure/azure-quickstart-templates/tree/master/201-customscript-extension-public-storage-on-ubuntu |
- Replaced 'VM*' by 'vm*' - Camelcased variables - Used prefix notation for variables for DRY-ness - Replaced location by [resourceGroup().location] - Added "autoUpgradeMinorVersion": true, - Removed default username and password
|
@singhkay I implemented all your feedback, does it look better now? |
|
@jochenvw Thank you for updating! merged |
Added deployment configuration that deploys an Ubuntu 14.04 box and installs the latest cross platform DNX. After that - a sample console application is scaffolded and built so a 'hello world' from C# .NET code on Linux is a one-liner after deploying the machine.