aws/amazon-mwaa-docker-images

Extract common functionality from Airflow 2.9.2 code base to avoid duplication

Opened this issue · 0 comments

Overview

A lot of the code for the 2.9.2 version isn't actually 2.9.2-related, and thus should be extracted and made reusable to avoid unnecessary duplication.

Acceptance Criteria

  • Build a list identifying the portions of code inside the 2.9.2 directory that are not 2.9.2-specific.
  • Move the code outside the 2.9.2 folder.
    • If the common code is not related to the 2.9.2 version, but still related to Airflow images, then it should be put under the images/airflow directory.
    • If the common code is not even Airflow specific, e.g. utility functions like creating sub-processes, then it should be put outside the images/airflow directory so it can be used anywhere in the repository.

Additional Info

N/A