Skip to content

Improve the creation of the postgres_data Airflow connection #7

@openp2pdesign

Description

@openp2pdesign

In the Airflow entrypoint.sh a postgres_data connection is created for storing the data from DAGs. However this is done multiple times; not a big deal, but we might add a check in order to skip it:

DataVisPlanner-airflow-webserver | 
DataVisPlanner-airflow-webserver | 	A connection with `conn_id`=postgres_data already exists
DataVisPlanner-airflow-webserver | 
DataVisPlanner-airflow-worker | 
DataVisPlanner-airflow-worker | 	A connection with `conn_id`=postgres_data already exists
DataVisPlanner-airflow-worker | 
DataVisPlanner-airflow-scheduler | 
DataVisPlanner-airflow-scheduler | 	A connection with `conn_id`=postgres_data already exists
DataVisPlanner-airflow-scheduler | 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions