Mark Fickett
12/16/2022, 7:01 PMdaniel
12/16/2022, 7:02 PMMark Fickett
12/16/2022, 7:04 PMdaniel
12/16/2022, 7:04 PMMark Fickett
12/16/2022, 8:57 PMtd-dev
if you don't mind, thanks!daniel
12/16/2022, 8:58 PMMark Fickett
12/19/2022, 3:16 PMworkspace.envVars
and dagsterCloudAgent.env
. After adding that to the agent, my job runs fine.
The env var I'm looking for is PIPELINE_DATABASE
. When I have it set on the agent's chart, I can see it in the pod like:
Environment:
DAGSTER_HOME: /opt/dagster/dagster_home
PIPELINE_DATABASE: form_data16
...
Screenshot attached for how it looks in the deployment in Dagster Cloud.
I'm loading the value using decouple, so it searches in env vars (and then in a .env
file if present).daniel
12/19/2022, 3:20 PMMark Fickett
12/19/2022, 3:24 PMdaniel
12/19/2022, 3:24 PMMark Fickett
12/19/2022, 3:26 PMdaniel
12/19/2022, 3:27 PMMark Fickett
12/19/2022, 3:45 PMos.environ.get("PIPELINE_DATABASE")
just before the code that calls decouple and confirmed that that returns None
.daniel
12/21/2022, 4:36 AMMark Fickett
01/06/2023, 2:28 PMdaniel
01/06/2023, 2:28 PMMark Fickett
01/06/2023, 3:21 PM