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

[OSDEV-1514] Database. Upgrade the PostgreSQL version to 13 #479

Merged

Conversation

vladsha-dev
Copy link
Contributor

@vladsha-dev vladsha-dev commented Jan 8, 2025

[OSDEV-1514]

  • Upgraded the PostgreSQL version from 12 to 13 for the database used in local development, DB anonymization, DB restore setup, and environments in the AWS cloud. Additionally, the postgis and pg_trgm extensions have been upgraded to versions 3.4.2 and 1.5, respectively, based on the available extension versions for PostgreSQL 13.15 in AWS RDS. For more information, see Extensions supported for RDS for PostgreSQL 13. Allowed major version upgrades and activated the apply immediately flag to perform the PostgreSQL major version upgrade in AWS.
  • Corrected spelling mistakes in the src/anon-tools/do_dump.sh file and in the name of the folder database_anonymizer_sheduled_task. Removed the unused src/anon-tools/anon.sql file and the redundant src/anon-tools/initdb.sql file. Removed commented-out code in the src/anon-tools/Dockerfile.dump and deployment/terraform/database_anonymizer_scheduled_task/docker/database_anonymizer.py files.
  • Introduced rds_allow_major_version_upgrade and rds_apply_immediately Terraform variables to enable or disable major version upgrades and the apply immediately flag, depending on the environment.

@vladsha-dev vladsha-dev self-assigned this Jan 8, 2025
@vladsha-dev vladsha-dev marked this pull request as draft January 8, 2025 14:19
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:20 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:22 — with GitHub Actions Inactive
Copy link

barecheck bot commented Jan 8, 2025

React App | Jest test suite - Code coverage report

Total: 28.31%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:26 — with GitHub Actions Inactive
Copy link

barecheck bot commented Jan 8, 2025

Dedupe Hub App | Unittest test suite - Code coverage report

Total: 56.14%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:27 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 8, 2025 14:27 — with GitHub Actions Inactive
Copy link

barecheck bot commented Jan 8, 2025

Contricleaner App | Unittest test suite - Code coverage report

Total: 98.91%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

Copy link

barecheck bot commented Jan 8, 2025

Countries App | Unittest test suite - Code coverage report

Total: 100%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:33 — with GitHub Actions Inactive
Copy link
Contributor

@mazursasha1990 mazursasha1990 left a comment

Choose a reason for hiding this comment

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

LGTM

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:40 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:40 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:40 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment January 17, 2025 08:50 — with GitHub Actions Inactive
Copy link

@dmovd dmovd left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@roninzp roninzp left a comment

Choose a reason for hiding this comment

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

LGTM

@vladsha-dev vladsha-dev merged commit 128df47 into main Jan 17, 2025
21 checks passed
@vladsha-dev vladsha-dev deleted the OSDEV-1514-database-upgrade-the-postgresql-version-to-13 branch January 17, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants