-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1249 from GSA/main
2/27/2024 Production Deployment
- Loading branch information
Showing
29 changed files
with
570 additions
and
387 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
|
@@ -81,8 +81,7 @@ class Config(object): | |
"IBAN": "GB33BUKB20201555555555", | ||
"swift": "ABCDEF12", | ||
"notify_billing_email_addresses": [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
], | ||
} | ||
|
||
|
@@ -152,6 +151,34 @@ class Staging(Production): | |
HEADER_COLOUR = "#00ff00" # $green | ||
|
||
|
||
class E2ETest(Staging): | ||
""" | ||
An environment config that is intended to operate as if it were in the | ||
staging environment but with the configuration of the development and test | ||
environments so the E2E tests work. | ||
""" | ||
|
||
# Borrowed from development environment | ||
DEBUG = True | ||
SESSION_COOKIE_SECURE = False | ||
SESSION_PROTECTION = None | ||
HTTP_PROTOCOL = "http" | ||
ASSET_DOMAIN = "" | ||
ASSET_PATH = "/static/" | ||
|
||
# Borrowed from test environment | ||
TESTING = True | ||
WTF_CSRF_ENABLED = False | ||
|
||
# buckets - mirror staging | ||
CSV_UPLOAD_BUCKET = cloud_config.s3_credentials( | ||
"notify-api-csv-upload-bucket-staging" | ||
) | ||
LOGO_UPLOAD_BUCKET = cloud_config.s3_credentials( | ||
"notify-admin-logo-upload-bucket-staging" | ||
) | ||
|
||
|
||
class Demo(Staging): | ||
HEADER_COLOUR = "#6F72AF" # $mauve | ||
|
||
|
@@ -173,6 +200,7 @@ class Scanning(Production): | |
configs = { | ||
"development": Development, | ||
"test": Test, | ||
"e2etest": E2ETest, | ||
"scanning": Scanning, | ||
"staging": Staging, | ||
"demo": Demo, | ||
|
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
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
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
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
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
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
Oops, something went wrong.