-
Notifications
You must be signed in to change notification settings - Fork 9
[OSDEV-1947] Introduced support for RBA deployment, disabled CSV export in RBA, and fixed FE environment check. #614
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
17ab15b
Add deployment configs for RBA instance
vladsha-dev 95b5c56
Add toggle for export csv job and add RBA to the DB - Apply Anonymize…
vladsha-dev fd3de6f
Replaced state with is_enabled
vladsha-dev 7a899c1
Update bucket name
vladsha-dev eb9423f
Remove default values and fixed bug in local env indentification
vladsha-dev 9a9849b
Merge branch 'main' into OSDEV-1947-add-new-environment-for-rba
vladsha-dev 6bfc398
reduce amount of Django containers
vladsha-dev 9cc4945
Reduce resources for Django
vladsha-dev eb7cae1
Fix restore database
vladsha-dev 5c3e83a
Replace Rba with RBA
vladsha-dev cfccc7a
Removed unrelated changes
vladsha-dev 51dc49f
Updated release notes.
vladsha-dev 9ecf5a1
Merge branch 'main' into OSDEV-1947-add-new-environment-for-rba
vladsha-dev e9b87fe
Add an empty line
vladsha-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| project = "OpenSupplyHub" | ||
| environment = "Rba" | ||
|
|
||
| aws_region = "eu-west-1" | ||
| aws_availability_zones = ["eu-west-1a", "eu-west-1b"] | ||
|
|
||
| r53_private_hosted_zone = "osh.internal" | ||
| r53_public_hosted_zone = "opensupplyhub.org" | ||
|
|
||
| cloudfront_price_class = "PriceClass_All" | ||
|
|
||
| bastion_ami = "ami-0bb3fad3c0286ebd5" | ||
| bastion_instance_type = "t3.nano" | ||
|
|
||
| rds_allocated_storage = "256" | ||
| rds_engine_version = "16" | ||
| rds_parameter_group_family = "postgres16" | ||
| rds_instance_type = "db.m6in.4xlarge" | ||
| rds_database_identifier = "opensupplyhub-enc-rba" | ||
| rds_database_name = "opensupplyhub" | ||
| rds_multi_az = false | ||
| rds_storage_encrypted = true | ||
|
|
||
| app_ecs_desired_count = "4" | ||
| app_ecs_deployment_min_percent = "100" | ||
| app_ecs_deployment_max_percent = "400" | ||
| app_ecs_grace_period_seconds = "420" | ||
| app_fargate_cpu = "1024" | ||
| app_fargate_memory = "2048" | ||
|
|
||
| app_ecs_max_cpu_threshold = 85 | ||
| app_ecs_min_cpu_threshold = 15 | ||
| app_ecs_scale_target_max_capacity = 4 | ||
| app_ecs_scale_target_min_capacity = 2 | ||
| app_ecs_cooldown_scale_down = 300 | ||
| app_ecs_cooldown_scale_up = 180 | ||
|
|
||
| cli_fargate_cpu = "1024" | ||
| cli_fargate_memory = "8192" | ||
|
|
||
| batch_default_ce_spot_fleet_bid_percentage = 60 | ||
| batch_ami_id = "ami-002e2fef4b94f8fd0" | ||
|
|
||
| batch_default_ce_min_vcpus = 0 | ||
| batch_default_ce_max_vcpus = 128 | ||
| batch_default_job_memory = 8192 | ||
|
|
||
| batch_default_ce_instance_types = ["c5", "m5"] | ||
|
|
||
| gunicorn_worker_timeout = "360" | ||
|
|
||
| ec_memcached_identifier = "opensupplyhub-rba" | ||
|
|
||
| rds_final_snapshot_identifier = "opensupplyhub-rds-rba" | ||
| topic_dedup_basic_name = "basic-name" | ||
| dedupe_hub_live = true | ||
| dedupe_hub_name = "deduplicate" | ||
| dedupe_hub_version = 1 | ||
| app_cc_ecs_desired_count = 0 | ||
| app_dd_fargate_cpu = 4096 | ||
| app_dd_fargate_memory = 16384 | ||
| app_dd_ecs_desired_count = 1 | ||
| django_log_level="DEBUG" | ||
|
|
||
| opensearch_instance_type = "m6g.large.search" | ||
|
|
||
| app_logstash_fargate_cpu = 256 | ||
| app_logstash_fargate_memory = 2048 | ||
|
|
||
| export_csv_enabled = false |
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.