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

Profile.ps1 support and removal of auto-auth to azure #114

Merged
merged 14 commits into from Dec 13, 2018

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Dec 12, 2018

This allows you to put a Profile.ps1 in your Function App root that will be run at every COLD START of your Function App. Please refer to the empty example/PSCoreApp/Profile.ps1 for usecases.

fixes #110

@TylerLeonhardt TylerLeonhardt changed the title WIP: Profile.ps1 support and removal of auto-auth to azure Profile.ps1 support and removal of auto-auth to azure Dec 12, 2018
@TylerLeonhardt
Copy link
Member Author

removed WIP. This is ready for review.

@TylerLeonhardt
Copy link
Member Author

and CI is 💚

src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
examples/PSCoreApp/Profile.ps1 Outdated Show resolved Hide resolved
.vscode/tasks.json Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/PowerShell/PowerShellManager.cs Outdated Show resolved Hide resolved
src/FunctionLoader.cs Outdated Show resolved Hide resolved
test/E2E/TestFunctionApp/Profile.ps1 Show resolved Hide resolved
test/Unit/PowerShell/PowerShellManagerTests.cs Outdated Show resolved Hide resolved
@daxian-dbw daxian-dbw merged commit eca0b1e into Azure:dev Dec 13, 2018
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.

Add support to Profile.ps1 in PS function app.
2 participants