-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Conversation
@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'; |
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.
Is this relevant for other type of Apps or this is specific to FunctionApp?
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 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) { |
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.
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'; |
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.
should value be 1 or true
* Added deployment strategy for Linux Premium Plan * Changes for premium plan * Settings changes
Reference : #11257
Fixes : #11256