From 30a071a70e8caecc94902d00e731504ceeef195f Mon Sep 17 00:00:00 2001 From: George Pollard Date: Fri, 10 Jun 2022 07:13:32 +1200 Subject: [PATCH] Devcontainer additions (#2029) Add extensions for: * Bicep * .NET test runner * Azure Functions Include in setup script: * `cargo-audit` & `cargo-license` (pre-reqs for the CI script) --- .devcontainer/devcontainer.json | 5 ++++- .devcontainer/post-create-script.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e3b313a72..b96922912 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -25,7 +25,10 @@ "tamasfe.even-better-toml", "serayuzgur.crates", "ms-dotnettools.csharp", - "ms-python.python" + "ms-python.python", + "ms-azuretools.vscode-bicep", + "formulahendry.dotnet-test-explorer", + "ms-azuretools.vscode-azurefunctions" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], diff --git a/.devcontainer/post-create-script.sh b/.devcontainer/post-create-script.sh index b8c8ec36a..bc600173d 100755 --- a/.devcontainer/post-create-script.sh +++ b/.devcontainer/post-create-script.sh @@ -19,6 +19,7 @@ sudo cp ./azcopy_linux_amd64_*/azcopy /usr/bin/ # Restore rust dependencies echo "Restoring rust dependencies" +cargo install cargo-audit cargo-license # requirements if you want to run ci/agent.sh cd /workspaces/onefuzz/src/agent cargo fetch