-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
manifests/manifest-prod.yml
Outdated
memory: 2G | ||
- name: fecfile-web-services | ||
<<: *defaults | ||
instances: 2 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
Quality Gate passedIssues Measures |
Issue FECFILE-1945