mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
Devcontainer Improvements (#4466)
* Optionally Run `docker-compose` * Use Traversal Projects Over Solution Files * Cleanup VSCode Tasks * Bind DataProtection Keys to Host - Makes it so the container can be rebuilt without corrupting data * Update .vscode/tasks.json Co-authored-by: Matt Bishop <mbishop@bitwarden.com> --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
33
.vscode/tasks.json
vendored
33
.vscode/tasks.json
vendored
@@ -3,6 +3,7 @@
|
||||
"tasks": [
|
||||
{
|
||||
"label": "buildIdentityApi",
|
||||
"hide": true,
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"buildIdentity",
|
||||
@@ -14,6 +15,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildIdentityApiAdmin",
|
||||
"hide": true,
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"buildIdentity",
|
||||
@@ -26,6 +28,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildFullServer",
|
||||
"hide": true,
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"buildAdmin",
|
||||
@@ -40,6 +43,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildSelfHostBit",
|
||||
"hide": true,
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"buildAdmin",
|
||||
@@ -52,6 +56,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildSelfHostOss",
|
||||
"hide": true,
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"buildAdmin",
|
||||
@@ -62,6 +67,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildIcons",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -74,6 +80,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildPortal",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -86,6 +93,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildSso",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -98,6 +106,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildEvents",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -110,6 +119,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildEventsProcessor",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -122,6 +132,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildAdmin",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -134,6 +145,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildIdentity",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -146,6 +158,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildAPI",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -162,6 +175,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildNotifications",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -178,6 +192,7 @@
|
||||
},
|
||||
{
|
||||
"label": "buildBilling",
|
||||
"hide": true,
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
@@ -192,20 +207,6 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "clean",
|
||||
"type": "shell",
|
||||
"command": "dotnet clean",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": true,
|
||||
"clear": false
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "test",
|
||||
"type": "shell",
|
||||
@@ -225,13 +226,15 @@
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "Setup Secrets",
|
||||
"label": "Set Up Secrets",
|
||||
"detail": "A task to run setup_secrets.ps1",
|
||||
"type": "shell",
|
||||
"command": "pwsh -WorkingDirectory ${workspaceFolder}/dev -Command '${workspaceFolder}/dev/setup_secrets.ps1 -clear:$${input:setupSecretsClear}'",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Install Dev Cert",
|
||||
"detail": "A task to install the Bitwarden developer cert to run your local install as an admin.",
|
||||
"type": "shell",
|
||||
"command": "dotnet tool install -g dotnet-certificate-tool -g && certificate-tool add --file ${workspaceFolder}/dev/dev.pfx --password '${input:certPassword}'",
|
||||
"problemMatcher": []
|
||||
|
||||
Reference in New Issue
Block a user