Skip to content

Commit a994ff5

Browse files
committed
Updating workflow and readme
1 parent fda0468 commit a994ff5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/main.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
with:
4444
script: | # This is the default connection string for the Azure Cosmos DB Emulator
4545
npm install @azure/cosmos
46-
$env:COSMOS_CONNECTION_STRING="AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="
47-
const cosmosClient = new CosmosClient(process.env.COSMOS_CONNECTION_STRING);
46+
const cosmosClient = new CosmosClient("AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==");
4847
const sampleSP = require('StoredProcedures/SampleStoredProcedure.js')
4948
const { database } = await cosmosClient.databases.createIfNotExists({ id: 'SampleDatabase' })
5049
const { container } = await database.containers.createIfNotExists({ id: 'SampleContainer' })

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Demo environment used in the 'DevOps Practices for Azure Cosmos DB' session for
33

44
[![CI/CD](https://github.com/dsanchezcr/DevOpsPracticesForAzureCosmosDB/actions/workflows/main.yml/badge.svg)](https://github.com/dsanchezcr/DevOpsPracticesForAzureCosmosDB/actions/workflows/main.yml)
55

6-
What the session here:
6+
Watch the session here:
77

8-
[![Watch the video](https://img.youtube.com/vi/kfkCCJ7jLyU/0.jpg)](https://youtu.be/kfkCCJ7jLyU)
8+
[![Watch the video](https://img.youtube.com/vi/kfkCCJ7jLyU/0.jpg)](https://youtu.be/kfkCCJ7jLyU)
9+
10+
Deploy Azure resources (manually):
11+
12+
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fdsanchezcr%2FDevOpsPracticesForAzureCosmosDB%2Fmain%2FIaC%2Fcosmosdb.json)

0 commit comments

Comments
 (0)