Add a grace period based on the contaitner start time to the SidecarHealthCondition condition to avoid reporting confusing error logs.
Change safe-pip-install to only install the given packages, rather than always install all required packages in addition to what is given. We used to do the latter to disallow installing any pip packages that might break the Airflow packages, but this is a bit too restricting, and also result in increasing the time it takes to do pip install, in addition to unnecessary logs. So, we will just instead craft a list of fundamental constraints that we enforce.
Add a new configuration variable, MWAA__CORE__STARTUP_SCRIPT_PATH, for specifying the path to look for start-up scripts instead of hard-coding it.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A
Description of changes:
SidecarHealthCondition
condition to avoid reporting confusing error logs.safe-pip-install
to only install the given packages, rather than always install all required packages in addition to what is given. We used to do the latter to disallow installing any pip packages that might break the Airflow packages, but this is a bit too restricting, and also result in increasing the time it takes to dopip install
, in addition to unnecessary logs. So, we will just instead craft a list of fundamental constraints that we enforce.MWAA__CORE__STARTUP_SCRIPT_PATH
, for specifying the path to look for start-up scripts instead of hard-coding it.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.