-
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
Merged
+236
−544
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d0d4f56
Merge manifests
sasha-dresden 4eb288b
Changes to test deploy
sasha-dresden 9892fe8
Try to fix issue with deploy
sasha-dresden dcaedac
Rollback deployment
sasha-dresden fd43793
Accidentally had web-service listed twice
sasha-dresden 9d517c2
Adding FEC_AGENCY_ID environment variable and making all prod instanc…
sasha-dresden 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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,59 @@ | ||
--- | ||
defaults: &defaults | ||
instances: 1 | ||
stack: cflinuxfs4 | ||
buildpacks: | ||
- python_buildpack | ||
memory: 1G | ||
services: | ||
- fecfile-api-rds | ||
- fecfile-api-s3 | ||
- fecfile-api-redis | ||
- fecfile-api-creds-dev | ||
env: | ||
DISABLE_COLLECTSTATIC: 1 | ||
DJANGO_SETTINGS_MODULE: fecfiler.settings.production | ||
FFAPI_COOKIE_DOMAIN: fecfile.fec.gov | ||
LOGIN_REDIRECT_CLIENT_URL: https://dev.fecfile.fec.gov | ||
LOGIN_REDIRECT_SERVER_URL: https://dev-api.fecfile.fec.gov/api/v1/oidc/login-redirect | ||
LOGOUT_REDIRECT_URL: https://dev-api.fecfile.fec.gov/api/v1/oidc/logout-redirect | ||
PRODUCTION_OPEN_FEC_API: https://api.open.fec.gov/v1/ | ||
STAGE_OPEN_FEC_API: https://api-stage.open.fec.gov/v1/ | ||
FEC_AGENCY_ID: FEC | ||
SESSION_COOKIE_AGE: 64800 | ||
BP_PIP_VERSION: latest | ||
LOG_FORMAT: KEY_VALUE | ||
MOCK_EFO: True | ||
SYSTEM_STATUS_CACHE_AGE: 60 | ||
INITIAL_POLLING_INTERVAL: 10 | ||
INITIAL_POLLING_DURATION: 900 | ||
SECONDARY_POLLING_INTERVAL: 3600 | ||
SECONDARY_POLLING_DURATION: 86400 | ||
# ---- FEATURE FLAGS ---- | ||
FLAG__COMMITTEE_DATA_SOURCE: TEST # Values are PRODUCTION, TEST, MOCKED | ||
ENABLE_DEVELOPER_COMMANDS: True | ||
|
||
applications: | ||
- name: fecfile-web-api | ||
<<: *defaults | ||
instances: 2 | ||
routes: | ||
- route: fecfile-web-api-dev.apps.internal | ||
command: bin/run-api.sh | ||
memory: 2G | ||
- name: fecfile-web-services | ||
<<: *defaults | ||
instances: 2 | ||
no-route: true | ||
health-check-type: process | ||
command: bin/run-celery-worker.sh | ||
- name: fecfile-api-migrator | ||
<<: *defaults | ||
command: bin/run-api.sh | ||
memory: 2G | ||
no-route: true | ||
- name: fecfile-scheduler | ||
<<: *defaults | ||
no-route: true | ||
health-check-type: process | ||
command: bin/run-scheduler.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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,57 @@ | ||
--- | ||
defaults: &defaults | ||
instances: 0 | ||
stack: cflinuxfs4 | ||
buildpacks: | ||
- python_buildpack | ||
memory: 1G | ||
services: | ||
- fecfile-api-rds | ||
- fecfile-api-s3 | ||
- fecfile-api-redis | ||
- fecfile-api-creds-prod | ||
env: | ||
DISABLE_COLLECTSTATIC: 1 | ||
DJANGO_SETTINGS_MODULE: fecfiler.settings.production | ||
FFAPI_COOKIE_DOMAIN: fecfile.fec.gov | ||
LOGIN_REDIRECT_CLIENT_URL: https://fecfile.fec.gov | ||
LOGIN_REDIRECT_SERVER_URL: https://api.fecfile.fec.gov/api/v1/oidc/login-redirect | ||
LOGOUT_REDIRECT_URL: https://api.fecfile.fec.gov/api/v1/oidc/logout-redirect | ||
PRODUCTION_OPEN_FEC_API: https://api.open.fec.gov/v1/ | ||
STAGE_OPEN_FEC_API: https://api-stage.open.fec.gov/v1/ | ||
FEC_FILING_API: https://efoservices.stage.efo.fec.gov | ||
FEC_AGENCY_ID: FEC | ||
SESSION_COOKIE_AGE: 64800 | ||
BP_PIP_VERSION: latest | ||
LOG_FORMAT: KEY_VALUE | ||
SYSTEM_STATUS_CACHE_AGE: 60 | ||
INITIAL_POLLING_INTERVAL: 10 | ||
INITIAL_POLLING_DURATION: 900 | ||
SECONDARY_POLLING_INTERVAL: 3600 | ||
SECONDARY_POLLING_DURATION: 86400 | ||
# ---- FEATURE FLAGS ---- | ||
FLAG__COMMITTEE_DATA_SOURCE: PRODUCTION # Values are PRODUCTION, TEST, and MOCKED | ||
ENABLE_DEVELOPER_COMMANDS: False | ||
|
||
applications: | ||
- name: fecfile-web-api | ||
<<: *defaults | ||
routes: | ||
- route: fecfile-web-api-prod.apps.internal | ||
command: bin/run-api.sh | ||
memory: 2G | ||
- name: fecfile-web-services | ||
<<: *defaults | ||
no-route: true | ||
health-check-type: process | ||
command: bin/run-celery-worker.sh | ||
- name: fecfile-api-migrator | ||
<<: *defaults | ||
command: bin/run-api.sh | ||
memory: 2G | ||
no-route: true | ||
- name: fecfile-scheduler | ||
<<: *defaults | ||
no-route: true | ||
health-check-type: process | ||
command: bin/run-scheduler.sh |
Oops, something went wrong.
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.
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.