Skip to content

Commit

Permalink
Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
galvesribeiro committed Nov 13, 2019
1 parent 84dff70 commit 4e9c180
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
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`
19 changes: 19 additions & 0 deletions action.yml
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'

0 comments on commit 4e9c180

Please sign in to comment.