Conversation
|
New Issues
|
justindbaur
left a comment
There was a problem hiding this comment.
I'm so sorry for sitting on this to long, I still want to get this in and this will make things so much easier.
| "vscode": { | ||
| "settings": {}, | ||
| "features": {}, | ||
| "extensions": ["ms-dotnettools.csharp"] |
There was a problem hiding this comment.
Since I sat on this to long the C# Dev Kit has come out and we should probably use that instead.
| "extensions": ["ms-dotnettools.csharp"] | |
| "extensions": ["ms-dotnettools.csdevkit"] |
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
justindbaur
left a comment
There was a problem hiding this comment.
Thank you so much, @MGibson1 you're up!
MGibson1
left a comment
There was a problem hiding this comment.
I think I only have two comments, but this feature is totally new to me
- I might be old fashioned, but I like manually controlling when migrations are run in dev
⚠️ the correct sdk does not appear to be installed by the containers by default. Is it possible to add this to the post-install script?
|
|
|
||
| echo "Running migrations..." | ||
| sleep 5 # wait for DB container to start | ||
| dotnet run --project ./util/MsSqlMigratorUtility "$SQL_CONNECTION_STRING" |
There was a problem hiding this comment.
🎉 -- this is how our cloud is now performing migrations.
|
I like where this is at but will let the other two guys give an approval. Warning: auto-merge is on. |



Type of change
Objective
This adds VSCode devcontainers, which should make the dev environment setup process easier for those that choose to utilize this workflow.
Code changes
.devcontainer/bitwarden_common/docker-compose.yml: a baseline set of services that are used in both the internal and community dev configurations.devcontainer/(community_dev|internal_dev)/devcontainer.json: the declaration files for the VSCode dev containers.devcontainer/internal_dev/docker-compose.override.yml: adds Azurite container for internal dev config.devcontainer/(community_dev|internal_dev)/postCreateCommand.sh: these optional one-time setup scripts configuresecrets.jsonwith the DB password, installation ID and key, and certificate thumbprints to enable runningsetup_secrets.ps1automatically after the devcontainer initializesBefore you submit
dotnet format --verify-no-changes) (required)