Automate deployment through Azure Developer Cli (azd)#8
Draft
mateo762 wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces several significant changes to the project, including the addition of new Dockerfiles, updates to configuration files, and improvements to the deployment infrastructure. The most important changes are grouped into themes for clarity.
Infrastructure and Configuration Updates:
azure.yaml: Added a new configuration file for Azure deployment, specifying workflows, infrastructure, and services.docker-compose.yml: Updated the Docker Compose file to version 3.8 and added configurations for multiple services, includingui,indexer,subject_space,output,note_indexer,pdf_indexer,website_indexer, andpodcast.infra/main.bicep: Added a new Bicep file to define the infrastructure for Azure, including resource groups and deployment modules.infra/main.parameters.json: Added a new parameters file for Bicep deployment, specifying environment variables for Azure.Dockerfile Additions:
indexer,output,pdf_indexer,podcast_generator, andsubject_space, specifying base images, working directories, dependencies, and commands to run the applications. [1] [2] [3] [4] [5]Code and Dependency Updates:
src/note_indexer/note_indexer.py: Added print statements for debugging purposes to log environment variables and status endpoints. [1] [2]src/note_indexer/requirements.txtandsrc/podcast_generator/requirements.txt: Updated dependencies, including addingazure-search-documentsandazure-identity, and modifying theopenaidependency. [1] [2]Minor Fixes:
src/output/output.py: Corrected the environment variable name fromSUBJECT_SPACE_API_URLtoSUBJECT_SPACE_ENDPOINT.src/note_indexer/Dockerfile: Adjusted the base image and improved the build process for better caching.src/subject_space/requirements.txt: Updated thefastapidependency to include the[standard]extras.These changes collectively enhance the deployment process, improve infrastructure management, and ensure better dependency management across various services.