зеркало из https://github.com/microsoft/AzureBot.git
No more Bot Support (#154)
* add VSTS definitions * no longer supported update
This commit is contained in:
Родитель
32ed4829bd
Коммит
0a9cc37719
|
@ -0,0 +1,36 @@
|
|||
queue:
|
||||
name: Hosted
|
||||
demands:
|
||||
- msbuild
|
||||
- visualstudio
|
||||
#Your build definition references the ‘BuildPlatform’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
|
||||
#Your build definition references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
|
||||
#Your build definition references an undefined variable named ‘build.artifactstagingdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
|
||||
steps:
|
||||
- task: NuGetInstaller@0
|
||||
inputs:
|
||||
solution: "**\*.sln"
|
||||
|
||||
- task: VSBuild@1
|
||||
inputs:
|
||||
solution: "AzureBot.sln"
|
||||
vsVersion: "14.0"
|
||||
msbuildArgs: "/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation=$(build.artifactstagingdirectory)"
|
||||
platform: "$(BuildPlatform)"
|
||||
configuration: "$(BuildConfiguration)"
|
||||
|
||||
- task: CopyPublishBuildArtifacts@1
|
||||
inputs:
|
||||
CopyRoot: "$(build.artifactstagingdirectory)"
|
||||
Contents: "*.zip"
|
||||
ArtifactName: "website"
|
||||
ArtifactType: "Container"
|
||||
|
||||
- task: CopyPublishBuildArtifacts@1
|
||||
inputs:
|
||||
CopyRoot: "AzureBot.Tests"
|
||||
Contents: "**\bin\*
|
||||
**\*.runsettings"
|
||||
ArtifactName: "Tests"
|
||||
ArtifactType: "Container"
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
queue:
|
||||
name: Hosted
|
||||
demands:
|
||||
- msbuild
|
||||
- visualstudio
|
||||
- vstest
|
||||
|
||||
variables:
|
||||
BuildPlatform: "any cpu"
|
||||
BuildConfiguration: "debug"
|
||||
steps:
|
||||
- task: NuGetInstaller@0
|
||||
inputs:
|
||||
solution: "AzureBot.sln"
|
||||
|
||||
- task: VSBuild@1
|
||||
inputs:
|
||||
solution: "AzureBot.sln"
|
||||
vsVersion: "14.0"
|
||||
platform: "$(BuildPlatform)"
|
||||
configuration: "$(BuildConfiguration)"
|
||||
|
||||
- task: VSTest@1
|
||||
inputs:
|
||||
testFiltercriteria: "TestCategory=Parallel"
|
||||
runSettingsFile: "AzureBot.Tests/azurebottests.runsettings"
|
||||
overrideTestrunParameters: "MicrosoftAppId=$(BotFramework.MicrosoftAppId);DirectLineToken=$(BotFramework.DirectLineToken);FromUser=$(BotFramework.FromUser);BotId=$(BotFramework.BotId);Subscription=$(BotFramework.Subscription);VirtualMachine=$(BotFramework.VirtualMachine);ResourceGroup=$(BotFramework.ResourceGroup);RunbookWithDescription=$(BotFramework.RunbookWithDescription);RunbookDescription=$(BotFramework.RunbookDescription);RunbookWithoutDescription=$(BotFramework.RunbookWithoutDescription);RunbookInMultipleAutomationAccounts=$(BotFramework.RunbookInMultipleAutomationAccounts);RunbookNotPublished=$(BotFramework.RunbookNotPublished);AutomationAccount=$(BotFramework.AutomationAccount);RunbookThatFails=$(BotFramework.RunbookThatFails);RunbookOutput=$(BotFramework.RunbookOutput);RunbookWithParameters=$(BotFramework.RunbookWithParameters);AlternativeSubscription=$(BotFramework.AlternativeSubscription);DeallocateResourcesOnCleanup=false"
|
||||
codeCoverageEnabled: "false"
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
queue:
|
||||
name: Hosted
|
||||
demands:
|
||||
- msbuild
|
||||
- visualstudio
|
||||
- vstest
|
||||
|
||||
|
||||
variables:
|
||||
BuildPlatform: "any cpu"
|
||||
BuildConfiguration: "debug"
|
||||
steps:
|
||||
- task: NuGetInstaller@0
|
||||
inputs:
|
||||
solution: "AzureBot.sln"
|
||||
|
||||
- task: VSBuild@1
|
||||
inputs:
|
||||
solution: "AzureBot.sln"
|
||||
vsVersion: "14.0"
|
||||
platform: "$(BuildPlatform)"
|
||||
configuration: "$(BuildConfiguration)"
|
||||
|
||||
- task: VSTest@1
|
||||
inputs:
|
||||
testFiltercriteria: "TestCategory=VMs"
|
||||
runSettingsFile: "AzureBot.Tests/azurebottests.runsettings"
|
||||
overrideTestrunParameters: "MicrosoftAppId=$(BotFramework.MicrosoftAppId);DirectLineToken=$(BotFramework.DirectLineToken);FromUser=$(BotFramework.FromUser);BotId=$(BotFramework.BotId);Subscription=$(BotFramework.Subscription);VirtualMachine=$(BotFramework.VirtualMachine);ResourceGroup=$(BotFramework.ResourceGroup);RunbookWithDescription=$(BotFramework.RunbookWithDescription);RunbookDescription=$(BotFramework.RunbookDescription);RunbookWithoutDescription=$(BotFramework.RunbookWithoutDescription);RunbookInMultipleAutomationAccounts=$(BotFramework.RunbookInMultipleAutomationAccounts);RunbookNotPublished=$(BotFramework.RunbookNotPublished);AutomationAccount=$(BotFramework.AutomationAccount);RunbookThatFails=$(BotFramework.RunbookThatFails);RunbookOutput=$(BotFramework.RunbookOutput);RunbookWithParameters=$(BotFramework.RunbookWithParameters);AlternativeSubscription=$(BotFramework.AlternativeSubscription);DeallocateResourcesOnCleanup=false"
|
||||
codeCoverageEnabled: "false"
|
||||
|
||||
- task: VSTest@1
|
||||
inputs:
|
||||
testFiltercriteria: "TestCategory=Runbooks"
|
||||
runSettingsFile: "AzureBot.Tests/azurebottests.runsettings"
|
||||
overrideTestrunParameters: "MicrosoftAppId=$(BotFramework.MicrosoftAppId);DirectLineToken=$(BotFramework.DirectLineToken);FromUser=$(BotFramework.FromUser);BotId=$(BotFramework.BotId);Subscription=$(BotFramework.Subscription);VirtualMachine=$(BotFramework.VirtualMachine);ResourceGroup=$(BotFramework.ResourceGroup);RunbookWithDescription=$(BotFramework.RunbookWithDescription);RunbookDescription=$(BotFramework.RunbookDescription);RunbookWithoutDescription=$(BotFramework.RunbookWithoutDescription);RunbookInMultipleAutomationAccounts=$(BotFramework.RunbookInMultipleAutomationAccounts);RunbookNotPublished=$(BotFramework.RunbookNotPublished);AutomationAccount=$(BotFramework.AutomationAccount);RunbookThatFails=$(BotFramework.RunbookThatFails);RunbookOutput=$(BotFramework.RunbookOutput);RunbookWithParameters=$(BotFramework.RunbookWithParameters);AlternativeSubscription=$(BotFramework.AlternativeSubscription);DeallocateResourcesOnCleanup=false"
|
||||
codeCoverageEnabled: "false"
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# AzureBot
|
||||
# AzureBot Sample
|
||||
The AzureBot is a sample that showcases how the Microsoft Bot Framework and Cognitive services can be used to create intelligent bots. The sample was created to show how a bot can be used to improve the productivity of any developer, admin, or team working with Azure. If you would like to set it up yourself and contribute, follow our [Developer Set Up](https://github.com/Microsoft/AzureBot/blob/gh-pages/docs/DeveloperSetup.md).
|
||||
|
||||
We maintain the latest version of the sample running in the [Bot Framework Bot Directory](https://bots.botframework.com/bot?id=azurebot), where you can try it via Skype, Slack or GroupMe.
|
||||
As of January 29, 2018 we no longer maintain or host this Bot.
|
||||
|
||||
The current implementation focuses on authenticating to the user's Azure subscription, selecting and switching subscriptions, starting and stopping RM-based virtual machines, and listing and starting Azure Automation runbooks.
|
||||
|
||||
|
@ -19,10 +19,7 @@ If creating new commands, our [UX Guidelines](https://github.com/Microsoft/Azure
|
|||
|
||||
## Contributing
|
||||
|
||||
If you are interested in contributing to this project feel free to submit a pull request to the [beta branch](https://github.com/Microsoft/AzureBot/tree/beta). If you find issues with or desire improvements for the existing functionality, please [file an issue](https://github.com/Microsoft/AzureBot/issues) here in GitHub. Note that the AzureBot is a sample and not actively supported.
|
||||
|
||||
## Contact
|
||||
Please reach out to azurebot at microsoft dot c o m.
|
||||
Note that the AzureBot is a sample and not actively supported. If you are interested to take over maintenance of this project, please file an issue.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче