Azure DevOps Hosted Build Controller-Azure Storage Emulatorはサポートされていますか?

サイモンネス

Azure DevOpsビルドの実際のストレージではなく、Azure StorageEmulatorを利用するユニット/統合テストを実行したいと思います。

エミュレーターは、Azure SDKの通常の場所(C:\ Program Files(x86)\ Microsoft SDKs \ Azure \ Storage Emulator \ AzureStorageEmulator.exe)の一部としてHosted BuildControllerにインストールされます。

ただし、エミュレータはビルドコントローラで初期化されていない状態です。コマンドラインからコマンドInitを実行しようとすると、次のエラーが発生します。

This operation requires an interactive window station

これに対する既知の回避策はありますか、またはAzure DevOpsビルドでエミュレーターをサポートする予定ですか?

ココワラ

これとは反対のすべての答えにもかかわらず、私はVS2017でホストされているビルドエージェントでAzure StorageEmulatorを1年以上実行しています。

秘訣は、最初にSQL LocalDBを初期化し(エミュレーターがそれを使用)、次にエミュレーターを起動することです。これは、以下を実行するコマンドラインタスクで実行できます。

sqllocaldb create MSSQLLocalDB
sqllocaldb start MSSQLLocalDB
sqllocaldb info MSSQLLocalDB

"C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Azure DevOps Hosted Build Agent MSI

分類Dev

Azure Devops - Build Automation

分類Dev

Azure PipelinesBizTalk-Microsoft Hosted Build Agent

分類Dev

Azure Devops build variables not updating during build

分類Dev

Azure DevOps Build Pipeline - A failed build still gets deployed to Azure

分類Dev

Connect containerized self-hosted agent with Azure DevOps

分類Dev

Build pipeline for service fabric app on Azure devops

分類Dev

Azure Storage Emulatorはファイル共有をサポートしていますか?

分類Dev

Azure DevOps hosted-agentがWindowsのプルに失敗しました:2004

分類Dev

Azure devops microsoft hosted buildserverに依存関係の新しいバージョンをインストールします

分類Dev

Azure Blob Storageはhttp2をサポートしていますか?

分類Dev

Azure DevOps Pipeline Hosted Agent-システム機能はどこにありますか?

分類Dev

How to specify which version of nuget.exe to use with self-hosted agent in Azure DevOps?

分類Dev

How to fetch non secret build parameters with Azure DevOps REST Api?

分類Dev

Set Azure DevOps Build Number to Gitversion MajorMinorPatch number

分類Dev

Is there a way to identify the TFS branch that was checked into in an Azure Devops CI build?

分類Dev

Azure Devops Build Pipeline for solution with multiple project types

分類Dev

passing pipeline variable as argument into Powershell build step not working in Azure DevOps

分類Dev

Azure Devops Marketplace-Azure Devops Server2020のサポート

分類Dev

Azure DevOps Hosted Agents-エージェントにツール(PSモジュール)を追加

分類Dev

azure devops YMLファイルの実行中、アンカーは現在サポートされていません

分類Dev

Azure DevOps Build PiplinesのVariablesグループに格納されているネストされた変数の値を解凍またはフェッチするにはどうすればよいですか?

分類Dev

azure devops variable group

分類Dev

Azure DevOps REST API

分類Dev

azure devops repos url

分類Dev

Gzip file in Azure DevOps

分類Dev

How to build F# projects with Azure Devops Pipelines? I get error 'The target "Build" does not exist in the project'

分類Dev

Pass file content as build argument in azure devops pipeline docker build task

分類Dev

Azure Storage Emulator 400 Bad Request(redux)

Related 関連記事

  1. 1

    Azure DevOps Hosted Build Agent MSI

  2. 2

    Azure Devops - Build Automation

  3. 3

    Azure PipelinesBizTalk-Microsoft Hosted Build Agent

  4. 4

    Azure Devops build variables not updating during build

  5. 5

    Azure DevOps Build Pipeline - A failed build still gets deployed to Azure

  6. 6

    Connect containerized self-hosted agent with Azure DevOps

  7. 7

    Build pipeline for service fabric app on Azure devops

  8. 8

    Azure Storage Emulatorはファイル共有をサポートしていますか?

  9. 9

    Azure DevOps hosted-agentがWindowsのプルに失敗しました:2004

  10. 10

    Azure devops microsoft hosted buildserverに依存関係の新しいバージョンをインストールします

  11. 11

    Azure Blob Storageはhttp2をサポートしていますか?

  12. 12

    Azure DevOps Pipeline Hosted Agent-システム機能はどこにありますか?

  13. 13

    How to specify which version of nuget.exe to use with self-hosted agent in Azure DevOps?

  14. 14

    How to fetch non secret build parameters with Azure DevOps REST Api?

  15. 15

    Set Azure DevOps Build Number to Gitversion MajorMinorPatch number

  16. 16

    Is there a way to identify the TFS branch that was checked into in an Azure Devops CI build?

  17. 17

    Azure Devops Build Pipeline for solution with multiple project types

  18. 18

    passing pipeline variable as argument into Powershell build step not working in Azure DevOps

  19. 19

    Azure Devops Marketplace-Azure Devops Server2020のサポート

  20. 20

    Azure DevOps Hosted Agents-エージェントにツール(PSモジュール)を追加

  21. 21

    azure devops YMLファイルの実行中、アンカーは現在サポートされていません

  22. 22

    Azure DevOps Build PiplinesのVariablesグループに格納されているネストされた変数の値を解凍またはフェッチするにはどうすればよいですか?

  23. 23

    azure devops variable group

  24. 24

    Azure DevOps REST API

  25. 25

    azure devops repos url

  26. 26

    Gzip file in Azure DevOps

  27. 27

    How to build F# projects with Azure Devops Pipelines? I get error 'The target "Build" does not exist in the project'

  28. 28

    Pass file content as build argument in azure devops pipeline docker build task

  29. 29

    Azure Storage Emulator 400 Bad Request(redux)

ホットタグ

アーカイブ