-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to Project structure #4269
Merged
Merged
Conversation
This file contains 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
- Project installs as packaget on dist image - Rebuild dockerfile structure - removed unused file - addjusted entrypoint and manage.py
domdinicola
approved these changes
Sep 30, 2024
wozniakpl
approved these changes
Oct 1, 2024
domdinicola
added a commit
that referenced
this pull request
Oct 8, 2024
* 2201639_Individuals_Add_a_new_section_to_Display_Delivery_mechanism_details_for_an_individual * mypy * mypy * move all the changes into new structure * linter * adjust options * try with assert * adjust factory * fix e2e * PaymentPlan details show Exchange Rate + Summary PDF (#4240) * update pdf template * black * add exchange rate in pp details * upd fe schema --------- Co-authored-by: Maciej Szewczyk <maciej.szewczyk@tivix.com> * 208491: RDI - Rename label to 'Total number of registered Individuals' (#4261) * upd label * upd fe test snap * fix e2e * snaps --------- Co-authored-by: Maciej Szewczyk <maciej.szewczyk@tivix.com> * Deduplication engine integration demo fixes (#4253) * e2e edjustment + increase retry * resolve migration conflict * add compose file for running selenium locally, adjust readme * try * trial * try * ? * ok * hotfix_add_financial_payment_provider_inline_validation (#4193) * remove lazy query * fixed health check * fix e2e * added db host * validate unique ind for role in hh * linter * noqa * Changes to Project structure (#4269) * structure * fix docker compose * Changes to project structure and Docker image building - Project installs as packaget on dist image - Rebuild dockerfile structure - removed unused file - addjusted entrypoint and manage.py * fix code style * selenium test fixes * changed settings --------- Co-authored-by: Domenico DiNicola <dom.dinicola@gmail.com> * mypy * fixes after structure change * fail fast selenium * fix e2e yesy * remove comented headless * e2e fixes * fixed file path * fixed report path * run all tests * fixes to reports and coverage * 2212815_Needs_adjudication_Delays_in_creating_duplicate_tickets_after… (#4276) * Program cycle requred for TP, adjust create TP from list in admin * linter * fix tests creating TPs without cycles * skip forms * fixed test * bring back nighlt runs for tests marked before * 2216761_Adapt_Dedup_integration (#4280) * 2216761_Adapt_Dedup_integration * add migration --------- Co-authored-by: marekbiczysko <marek.biczysko@tivix.com> * remove usd from label (#4281) Co-authored-by: Maciej Szewczyk <maciej.szewczyk@tivix.com> * text * skip trivy failure * Project structure 3 (#4287) * chenged tests dir * fixed all linter problems * fix precomit * fix compose * fixed tests root dir * Update compose.yml uncoment volume * adjust test to testcase * remove edopomoga * include src in path * linter * PM: Supporting documents (#4260) * add new model * add new urls * add test & migrations * imports * tests & fixes * add modal for supporting documents * add delete, fix doc layout * add supporting docs to follow up pages * add title validation * textfield size small * regenerate schema * add error for > 10 files, accept other filetypes * add message when deleting doc * display both title and file name * upd e2e test_smoke_details_payment_plan * review * fix urls in tests * migrations * fix download resp * fix * add get_id * supporting docs fixes * mypy * fixes --------- Co-authored-by: Maciej Szewczyk <maciej.szewczyk@tivix.com> * fix test admin * fix coveragerc * add ignore to codecov files * move ignored paths to codecov.yml * fixed retrieving version * add vision app (#4274) * contrib refactoring * contrib refactoring --------- Co-authored-by: Pavlo Mokiichuk <pv.pasha.pv@gmail.com> * change text of xlsx individual update for invalid phone no * include file * linter * Provide superusers and testers via env/arg to `initdemo` (#4295) * add index on document number * 216761 adapt dedup integration (#4298) * [Back merge] prod>STG (#4294) (#4296) * [hotfix] 216567 deduplication key error when deduplicating records (#4271) * 2216567_Deduplication_Key_Error_when_deduplicating_records * black * remove distinct * fix dedup logic, add ut * lint --------- * skip trivy failure * fix document status when copy population (#4291) --------- Co-authored-by: Pavlo Mokiichuk <pv.pasha.pv@gmail.com> Co-authored-by: Marek Biczysko <34810846+MarekBiczysko@users.noreply.github.com> Co-authored-by: marekbiczysko <marek.biczysko@tivix.com> Co-authored-by: Bartosz Woźniak <17177420+wozniakpl@users.noreply.github.com> --------- Co-authored-by: marekbiczysko <marek.biczysko@tivix.com> Co-authored-by: Marek Biczysko <34810846+MarekBiczysko@users.noreply.github.com> Co-authored-by: Paulina Kujawa <p.kujawa2f@gmail.com> Co-authored-by: Pavlo Mokiichuk <pv.pasha.pv@gmail.com> Co-authored-by: Maciej Szewczyk <maciej.szewczyk@tivix.com> Co-authored-by: Maciej Szewczyk <34482854+mmaciekk@users.noreply.github.com> Co-authored-by: Paulina Kujawa <42150286+pkujawa@users.noreply.github.com> Co-authored-by: Jan Romaniak <jan.romaniak@kellton.com> Co-authored-by: Jan Romaniak <jan.romaniak@tivix.com> Co-authored-by: Bartosz Woźniak <17177420+wozniakpl@users.noreply.github.com>
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 focuses on extracting
pdm.lock
andpyproject.toml
to the root directory and installing the project as a Python package rather than as copied directories.It includes several changes to the Docker setup, configuration files, and project structure to streamline the build process and improve maintainability. Key changes include updates to the Dockerfile for better environment management, changes to configuration paths, and renaming and restructuring of key project files.
Docker and Environment Management:
docker/Dockerfile
: Updated the Dockerfile to create separate stages forpdm
anddist-builder
, removed unnecessary environment variables, and adjusted theCOPY
commands for better file organization. [1] [2] [3] [4]docker/entrypoint.sh
: Changed the path for the Gunicorn configuration file to/conf/gunicorn_config.py
.Configuration Paths:
src/hct_mis_api/config/settings.py
: Updated the SSL certificate paths for database connections to use/certs/psql-cert.crt
instead of/code/psql-cert.crt
.Project Structure:
manage.py
: Renamed fromsrc/manage.py
to the project root for better accessibility.pyproject.toml
: Renamed fromsrc/pyproject.toml
and updated to include build-system requirements and reorganized dependencies. [1] [2] [3]README.md
: Removed outdated development instructions specific to the previous project structure.Volume Mounts:
development_tools/compose.yml
: Adjusted volume mounts forpyproject.toml
andpdm.lock
to reflect their new locations.