Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Azure Storage Emulator on Azure Pipelines
# Install the latest preview
sudo npm install -g azurite
# Install the latest stable
sudo npm install -g azurite@2.7.1
sudo azurite --silent --location /tmp --debug /tmp/debug.log &
steps:
...
- task: ShellScript@3
displayName: 'Install Azurite'
inputs:
targetType: inline
script: |
sudo npm install -g azurite
- task: ShellScript@3
displayName: 'Run Azurite'
inputs:
targetType: inline
script: |
sudo azurite --silent --location /tmp --debug /tmp/debug.log &
...
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" init ^
/server "(localdb)\MsSqlLocalDb"
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator" start
steps:
...
- task: CmdLine@2
displayName: 'Run Azure Storage Emulator'
inputs:
script: |
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" init /server "(localdb)\MsSqlLocalDb"
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.