-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84dff70
commit 4e9c180
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# AzureCosmosAction | ||
An extension that starts an Azure Cosmos Emulator as a step of a GitHub Actions Workflow | ||
|
||
## Example usage | ||
|
||
`uses: actions/azurecosmosaction@latest` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Azure Cosmos Emulator' | ||
description: 'Start Azure Cosmos emulator' | ||
author: 'Gutemberg Ribeiro (@galvesribeiro)' | ||
branding: | ||
icon: 'database' | ||
color: 'gray-dark' | ||
runs: | ||
using: 'docker' | ||
image: 'docker://microsoft/azure-cosmosdb-emulator' | ||
args: | ||
- '--name' | ||
- 'cosmosdb' | ||
- '--memory' | ||
- '2GB' | ||
- '--mount' | ||
- 'type=bind,source=%LOCALAPPDATA%\,destination=C:\CosmosDB.Emulator\bind-mount' | ||
- '-P' | ||
- '--interactive' | ||
- '--tty' |