forked from Azure-App-Service/KuduLite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding dotnet support * Test Commit for new build options * Oryx build optimizations * Fix bug in source directory * Fix python builds to use virtualenv flags correctly * Fix expressbuilder issue * Update ExpressBuilder.cs Correcting the SitePackages root path * Fixed the bug where kudu didn't handle symlinks in zip files for zip deploy * Added functionality to return the deployment log url at the end of a git deployment * Added functionality to switch between volatile logs and mounted dir logs * Update ExpressBuilder.cs Fix typo node_modules.zip * Minor fixes to the Kudu Ui.Added tail 10 lines to log stream startup * Increasing log stream timeout and new line fix * Enable functions detector deeplink * Add: support for .sh file in PostDeploymentActions * Add execution mode before running the script * Add logging for running powershell script in RemoteSigned * Add support for function app build by oryx * Fix issue when redeploying using zipdeploy function app * Add: Url support for ZipDeploy * Use ReadAsStreamAsync to reduce thread blocking time * Change sitepackage.txt to packageversion.txt (fixes Azure-App-Service#36) * Updates for .NET core Builds * .NET core use temp directory for build * Fix issues with functionapp build * Enhance SimpleWebTokenHelper * Add: HostAssignmentContext * Remove unnecessary SettingsKeys.cs * Update function app express build artifacts * Fix .net core 1.0 and 2.0 builds with oryx * Add authorization and authentication * Rename Instance Controller to LinuxConsumptionInstanceAdmin Controller * Fix: controller name * Add some comments to explain the /assign and /info endpoints * Remove PlaceholderMode setting in InitializeProcess * Remove initialize process * Move extensions to KuduWebUtils * Squash Commit Add admin/instance/assign and admin/instance/info endpoints Reset launchSettings.json Rename WebhostEnvironment to LinuxConsumptionEnvironment Rename InstanceAdmin namespace to LinuxConsumptionInstanceAdmin Add Linux Consumption Specialization logic * Added VFS path to log stream, fixed line break problem with logstream * Update LogStreamManager.cs
- Loading branch information
1 parent
30942e3
commit 19acdba
Showing
50 changed files
with
2,177 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System.Threading.Tasks; | ||
|
||
namespace Kudu.Contracts | ||
{ | ||
public interface ILinuxConsumptionEnvironment | ||
{ | ||
/// <summary> | ||
/// Gets a value indicating whether requests should be delayed. | ||
/// </summary> | ||
bool DelayRequestsEnabled { get; } | ||
|
||
Task DelayCompletionTask { get; } | ||
|
||
/// <summary> | ||
/// Gets a value indicating whether the current environment is in standby mode. | ||
/// </summary> | ||
bool InStandbyMode { get; } | ||
|
||
/// <summary> | ||
/// Flags that requests under this environment should be delayed. | ||
/// </summary> | ||
void DelayRequests(); | ||
|
||
/// <summary> | ||
/// Flags that requests under this environment should be resumed. | ||
/// </summary> | ||
void ResumeRequests(); | ||
|
||
/// <summary> | ||
/// Flags the current environment as ready and specialized. | ||
/// This sets <see cref="EnvironmentSettingNames.AzureWebsitePlaceholderMode"/> to "0" | ||
/// and <see cref="EnvironmentSettingNames.AzureWebsiteContainerReady"/> to "1" against | ||
/// the current environment. | ||
/// </summary> | ||
void FlagAsSpecializedAndReady(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.