Jonathan Chu
04/06/2021, 12:40 AMChris White
Jonathan Chu
04/06/2021, 12:44 AM-l
and -e
params
https://docs.prefect.io/api/latest/cli/agent.html#docker-startJonathan Chu
04/06/2021, 12:44 AMRun
panel in the UI, or via graphql api, then that would override the settings on the agent?Chris White
-l
label on agents are for setting the labels on the agent which affects what runs the agent can pick up. If you want to change the settings of your run, then yea whatever you put in the Run panel on the UI or set via the GraphQL API will take precedenceJonathan Chu
04/06/2021, 12:51 AMlabels=["staging", "prodctuion"]
in the code run config, and maybe some default values for vars
and then the agent would have the label staging
or production
, then use the -e
param to override some vars, and then also add in the environment-specific passwords
and then i might do a one-off run to modify one of the env vars to see how it changes things
does that all sound kind of reasonable?Chris White
Jonathan Chu
04/06/2021, 12:57 AM