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

Feature/1945 - Merge manifest files #1311

Merged
merged 6 commits into from
Feb 3, 2025
Merged

Feature/1945 - Merge manifest files #1311

merged 6 commits into from
Feb 3, 2025

Conversation

sasha-dresden
Copy link
Contributor

Issue FECFILE-1945

@danguyf danguyf self-requested a review January 31, 2025 14:37
Copy link
Contributor

@danguyf danguyf left a comment

Choose a reason for hiding this comment

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

Great reduction in duplication. Looks optimal now.

@@ -92,7 +92,7 @@ def _login_to_cf(ctx, space):


def _do_deploy(ctx, space, app):
manifest_filename = f"manifests/manifest-{space}-{MANIFEST_LABEL.get(app)}.yml"
manifest_filename = f"manifests/manifest-{space}.yml"
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's get rid of MANIFEST_LABEL now that it's not used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh good catch, always nice to remove dead content. Usually VSCode lets you know when something isn't used by turning it grey but for some reason it didn't this time. But double checked and it's definitely no longer used and can be safely removed.

memory: 2G
- name: fecfile-web-services
<<: *defaults
instances: 2
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't catch this when we made the migrator and scheduler, but we want 0 instances for all apps in prod for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh good to know, I was trying to match what we currently have. Updated to set default to 0 on prod and not override it for any of them.

SECONDARY_POLLING_DURATION: 86400
# ---- FEATURE FLAGS ----
FLAG__COMMITTEE_DATA_SOURCE: PRODUCTION # Values are PRODUCTION, TEST, and MOCKED
ENABLE_DEVELOPER_COMMANDS: False
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add FEC_AGENCY_ID: FEC from the old web-services environment varaibles. All the other environment variables are good

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated for all environments.

SECONDARY_POLLING_DURATION: 86400
# ---- FEATURE FLAGS ----
FLAG__COMMITTEE_DATA_SOURCE: TEST # Values are PRODUCTION, TEST, and MOCKED
ENABLE_DEVELOPER_COMMANDS: True
Copy link
Contributor

Choose a reason for hiding this comment

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

Add FEC_AGENCY_ID: FEC

SECONDARY_POLLING_DURATION: 86400
# ---- FEATURE FLAGS ----
FLAG__COMMITTEE_DATA_SOURCE: TEST # Values are TEST and PRODUCTION
ENABLE_DEVELOPER_COMMANDS: True
Copy link
Contributor

Choose a reason for hiding this comment

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

add FEC_AGENCY_ID: FEC

Copy link

sonarqubecloud bot commented Feb 3, 2025

@toddlees toddlees merged commit 1aafdb3 into develop Feb 3, 2025
3 checks passed
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.

3 participants