Skip to content
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

feat(condo): INFRA-202 multiple database sources #4618

Open
wants to merge 47 commits into
base: master
Choose a base branch
from

Conversation

sitozzz
Copy link
Member

@sitozzz sitozzz commented Apr 15, 2024

  • Need to deal with adapter cache!!!
  • Stand tests
  • Load tests

@sitozzz sitozzz force-pushed the feat/condo/INFRA-202/multiple-database-sources branch 5 times, most recently from 6a93b34 to db441c8 Compare April 29, 2024 13:22
@sitozzz sitozzz force-pushed the feat/condo/INFRA-202/multiple-database-sources branch 3 times, most recently from 1f957e4 to 046aaa6 Compare May 6, 2024 06:48
@sitozzz sitozzz marked this pull request as ready for review May 6, 2024 10:48
@sitozzz sitozzz added 👶 small Easy to review changes up to 50 lines of code ✋🙂 Review please Comments are resolved, take a look, please labels May 6, 2024
run: |
docker run -e POSTGRES_USER=$POSTGRES_USER -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD -e POSTGRES_DB=$POSTGRES_DB -p="127.0.0.1:5432:5432" -d swr.ru-moscow-1.hc.sbercloud.ru/doma/utils/postgres:13.2
touch ./pg_hba.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script looks very complex. Ideally, I'd like to see something like docker-compose up postgres postgres-replica, and all the magic with replication should happen automatically. This way, there's no need to do it all manually in CI, and it can be properly tested locally.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's true. But for now we can't run compose modules with self-hosted runner. This will be fixed in the future updates

@sitozzz sitozzz force-pushed the feat/condo/INFRA-202/multiple-database-sources branch 3 times, most recently from 86f7aa3 to 1ff970a Compare May 23, 2024 17:29
sitozzz added 28 commits May 24, 2024 15:38
@sitozzz sitozzz force-pushed the feat/condo/INFRA-202/multiple-database-sources branch from db580d7 to 04db392 Compare May 24, 2024 10:39
Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✋🙂 Review please Comments are resolved, take a look, please 👶 small Easy to review changes up to 50 lines of code
Development

Successfully merging this pull request may close these issues.

None yet

2 participants