Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 11, 2022

The #22127 change introduced a change how execution of docker
commnds was done (due to LD_PRELOAD change) and they started to
use entrypoint_ci, however this caused undesired effect of running
database initialization and printing extra lines which was not needed
and cluttered the output.

This PR introduced SKIP_ENVIRONMENT_INITIALIZATION that (if set to true)
skips the entire initialization of the entrypoint_ci


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk potiuk requested review from ashb and mik-laj as code owners March 11, 2022 15:55
@potiuk potiuk force-pushed the fix-extra-mypy-flake-initialization branch 2 times, most recently from a99e3b1 to 2339b80 Compare March 11, 2022 16:00
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Mar 11, 2022
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk force-pushed the fix-extra-mypy-flake-initialization branch from 2339b80 to 5d546d8 Compare March 11, 2022 17:24
@potiuk potiuk closed this Mar 11, 2022
@potiuk potiuk reopened this Mar 11, 2022
The apache#22127 change introduced a change how execution of docker
commnds was done (due to LD_PRELOAD change) and they started to
use entrypoint_ci, however this caused undesired effect of running
database initialization and printing extra lines which was not needed
and cluttered the output.

This PR introduced SKIP_ENVIRONMENT_INITIALIZATION that (if set to true)
skips the entire initialization of the entrypoint_ci
@potiuk potiuk force-pushed the fix-extra-mypy-flake-initialization branch from 5d546d8 to 0cf3f6a Compare March 11, 2022 18:26
@potiuk
Copy link
Member Author

potiuk commented Mar 11, 2022

Random failure. Merging.

@potiuk potiuk merged commit 6583d06 into apache:main Mar 11, 2022
@potiuk potiuk deleted the fix-extra-mypy-flake-initialization branch March 11, 2022 19:25
@potiuk potiuk restored the fix-extra-mypy-flake-initialization branch April 26, 2022 20:54
@potiuk potiuk deleted the fix-extra-mypy-flake-initialization branch July 29, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants