Skip to content
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

Added deployment strategy for Linux Premium Plan #11736

Merged
merged 10 commits into from
Nov 19, 2019

Conversation

eaarora-ms
Copy link
Contributor

@eaarora-ms eaarora-ms commented Nov 12, 2019

Reference : #11257
Fixes : #11256

@eaarora-ms
Copy link
Contributor Author

@SumiranAgg Tested the changes from Azure Function App. The package is getting deployed successfully.

@@ -9,6 +9,7 @@ var zipUtility = require('azurermdeploycommon/webdeployment-common/ziputility.js

const linuxFunctionStorageSetting: string = '-WEBSITES_ENABLE_APP_SERVICE_STORAGE true';
const linuxFunctionRuntimeSettingName: string = '-FUNCTIONS_WORKER_RUNTIME ';
const premiumPlanRunsFromPackage: string = ' -WEBSITE_RUN_FROM_PACKAGE true';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this relevant for other type of Apps or this is specific to FunctionApp?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is specific to function app

@@ -32,6 +33,10 @@ export class BuiltInLinuxWebAppDeploymentProvider extends AzureRmWebAppDeploymen
linuxFunctionRuntimeSetting = linuxFunctionRuntimeSettingName + linuxFunctionRuntimeSettingValue.get(this.taskParams.RuntimeStack);
}
var linuxFunctionAppSetting = linuxFunctionRuntimeSetting + linuxFunctionStorageSetting;
if(this.taskParams.isPremium) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add !! before variable in if

@@ -9,6 +9,7 @@ var zipUtility = require('azurermdeploycommon/webdeployment-common/ziputility.js

const linuxFunctionStorageSetting: string = '-WEBSITES_ENABLE_APP_SERVICE_STORAGE true';
const linuxFunctionRuntimeSettingName: string = '-FUNCTIONS_WORKER_RUNTIME ';
const premiumPlanRunsFromPackage: string = ' -WEBSITE_RUN_FROM_PACKAGE true';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should value be 1 or true

@eaarora-ms eaarora-ms merged commit b5eeb94 into microsoft:master Nov 19, 2019
leantk pushed a commit that referenced this pull request Dec 23, 2019
* Added deployment strategy for Linux Premium Plan

* Changes for premium plan

* Settings changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Functions - Linux Premium Plan support
4 participants