Closed
Bug 1835888
Opened 2 years ago
Closed 2 years ago
implement cloud environment variable
Categories
(Tecken :: General, task, P2)
Tecken
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: bdanforth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The migration plan for Tecken requires us to have a single codebase that's being run in two different cloud environments: AWS and GCP. There's a lot of complexity in the requirements such that we need to be able to conditionally enable/disable code depending on which cloud environment it's running in.
For this, we'll need a configuration parameter that's set via an environment variable.
Maybe CLOUD is good? Maybe something different?
Work required here:
- determine configuration setting name and environment variable name
- add variable to
tecken/settings.pywith allowed valuesAWSandGCPand documentation - add variable to settings page in admin so we can see how it's set
- add
variable=GCPto migration guide so we know to set it when setting up GCP infrastructure - add
variable=AWSto aws infrastructure
| Reporter | ||
Comment 1•2 years ago
|
||
We need this before we change how HOSTNAME and metrics work because we need to switch the functionality depending on which environment we're in.
Blocks: 1864651
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → bdanforth
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•2 years ago
|
||
| Reporter | ||
Comment 3•2 years ago
|
||
| Reporter | ||
Comment 4•2 years ago
|
||
This was pushed to production just now in bug #1869351. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•