feat: Add support for developer experience #614
+1,548
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
build-push-acr.ps1for building and pushing Docker images to ACR.build-push-acr.shfor the same purpose, ensuring compatibility with Unix-like environments.Purpose
This pull request introduces new infrastructure and automation for building and deploying the backend Docker image to Azure Container Registry (ACR) as part of the deployment workflow. It adds a custom Dockerfile for the backend, a new Azure deployment configuration, and scripts for building and pushing the Docker image, supporting both Windows and POSIX environments.
Key infrastructure and deployment automation changes:
Docker build and deployment pipeline:
Dockerfile.backendto build a multi-stage Docker image for the backend, including both frontend and backend build steps, and configured it for deployment with Gunicorn.azure_custom.yamlto define a custom Azure deployment workflow, including pre- and post-provision hooks that trigger the build and push scripts for both Windows and POSIX systems, ensuring proper image creation and deployment.Automation scripts:
scripts/build-push-acr.sh, a Bash script to automate building and pushing the Docker image to ACR for POSIX systems, with error handling and environment variable support.scripts/build-push-acr.ps1, a PowerShell script with equivalent functionality for Windows environments, ensuring cross-platform automation support.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information