File: cosmos-emulator.yml

package info (click to toggle)
python-azure 20230112%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 749,544 kB
  • sloc: python: 6,815,827; javascript: 287; makefile: 195; xml: 109; sh: 105
file content (24 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
  EmulatorMsiUrl: "https://aka.ms/cosmosdb-emulator"
  StartParameters: ''

steps:
  - task: Powershell@2
    inputs:
      filePath: $(Build.SourcesDirectory)/eng/common/scripts/Cosmos-Emulator.ps1
      arguments: >
        -EmulatorMsiUrl "${{ parameters.EmulatorMsiUrl }}"
        -StartParameters "${{ parameters.StartParameters }}"
        -Stage "Install"
      pwsh: true
    displayName: Install Public Cosmos DB Emulator

  - task: Powershell@2
    inputs:
      filePath: $(Build.SourcesDirectory)/eng/common/scripts/Cosmos-Emulator.ps1
      arguments: >
        -EmulatorMsiUrl "${{ parameters.EmulatorMsiUrl }}"
        -StartParameters "${{ parameters.StartParameters }}"
        -Stage "Launch"
      pwsh: true
    displayName: Launch Public Cosmos DB Emulator