Skip to content

Commit

Permalink
Have a single env file for local debugging (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-p-smith committed Aug 16, 2022
1 parent 2eeab96 commit d996a70
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"jinja": true,
"justMyCode": false,
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/templates/core/private.env",
"preLaunchTask": "Copy_env_file_for_api_debug",
"cwd": "${workspaceFolder}/api_app"
},
Expand All @@ -83,7 +82,6 @@
"justMyCode": true,
"cwd": "${workspaceFolder}/e2e_tests/",
"preLaunchTask": "Copy_env_file_for_e2e_debug",
"envFile": "${workspaceFolder}/templates/core/private.env",
"args": [
"-m",
"extended",
Expand All @@ -99,7 +97,6 @@
"justMyCode": true,
"cwd": "${workspaceFolder}/e2e_tests/",
"preLaunchTask": "Copy_env_file_for_e2e_debug",
"envFile": "${workspaceFolder}/templates/core/private.env",
"args": [
"-m",
"shared_services",
Expand All @@ -115,7 +112,6 @@
"justMyCode": true,
"cwd": "${workspaceFolder}/e2e_tests/",
"preLaunchTask": "Copy_env_file_for_e2e_debug",
"envFile": "${workspaceFolder}/templates/core/private.env",
"args": [
"-m",
"performance",
Expand All @@ -131,7 +127,6 @@
"justMyCode": true,
"cwd": "${workspaceFolder}/e2e_tests/",
"preLaunchTask": "Copy_env_file_for_e2e_debug",
"envFile": "${workspaceFolder}/templates/core/private.env",
"args": [
"-m",
"smoke",
Expand All @@ -147,7 +142,6 @@
"justMyCode": true,
"cwd": "${workspaceFolder}/e2e_tests/",
"preLaunchTask": "Copy_env_file_for_e2e_debug",
"envFile": "${workspaceFolder}/templates/core/private.env",
"args": [
"-m",
"airlock",
Expand Down Expand Up @@ -200,12 +194,12 @@
"tasks": [
{
"label": "Copy_env_file_for_api_debug",
"command": "cat ${workspaceFolder}/templates/core/.env ${workspaceFolder}/devops/auth.env > ${workspaceFolder}/api_app/.env",
"command": "cat ${workspaceFolder}/templates/core/.env ${workspaceFolder}/devops/auth.env ${workspaceFolder}/templates/core/private.env > ${workspaceFolder}/api_app/.env",
"type": "shell"
},
{
"label": "Copy_env_file_for_e2e_debug",
"command": "cat ${workspaceFolder}/templates/core/.env ${workspaceFolder}/devops/auth.env > ${workspaceFolder}/e2e_tests/.env",
"command": "cat ${workspaceFolder}/templates/core/.env ${workspaceFolder}/devops/auth.env ${workspaceFolder}/templates/core/private.env > ${workspaceFolder}/e2e_tests/.env",
"type": "shell"
},
{
Expand Down

0 comments on commit d996a70

Please sign in to comment.