Skip to content

Commit

Permalink
Merge pull request #34 from seesharprun/revamp-devcontainers
Browse files Browse the repository at this point in the history
Revamp devcontainers
  • Loading branch information
seesharprun authored Aug 31, 2023
2 parents 1fda2b3 + 8fe9c01 commit d3990c2
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/data-binning/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/data-binning/source/",
"updateContentCommand": "dotnet build",
"updateContentCommand": "dotnet build Cosmos_Patterns_Bucketing.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/distributed-counter/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion .devcontainer/distributed-counter/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/distributed-counter/source/",
"updateContentCommand": "dotnet build",
"updateContentCommand": "dotnet build Cosmos_Patterns_DistributedCounter.sln",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/distributed-lock/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/distributed-lock/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Distributed Lock",
"name": "Distributed lock pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/distributed-lock/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build consoleapp/Cosmos_Patterns_GlobalLock.sln",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/document-versioning/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/document-versioning/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Document Versioning",
"name": "Document versioning pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/document-versioning/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build function-app/function-app.csproj && dotnet build website/website.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/event-sourcing/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/event-sourcing/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Event Sourcing",
"name": "Event sourcing pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/event-sourcing/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build Cosmos_Patterns_EventSourcing.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/materialized-view/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/materialized-view/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Materialized View",
"name": "Materialized view pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/materialized-view/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build data-generator/data-generator.csproj && dotnet build function-app/MaterializeViews.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/preallocation/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/preallocation/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Preallocation",
"name": "Preallocation pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/preallocation/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build Cosmos_Patterns_Preallocation.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down
12 changes: 0 additions & 12 deletions .devcontainer/schema-versioning/Dockerfile

This file was deleted.

6 changes: 3 additions & 3 deletions .devcontainer/schema-versioning/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Schema Versioning",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"name": "Schema versioning pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:7.0",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/schema-versioning/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Attribute.sln",
"updateContentCommand": "dotnet build data-generator/data-generator.csproj && dotnet build website/website.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
Expand Down

0 comments on commit d3990c2

Please sign in to comment.