Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 19, 2022

We do not need to run upgrade kubernetes tests for all python
versions and all kubernetes versions. It is enough to run them
for the minimum and maximum versions. We already run all k8s tests
in main for all executors, so they "generally" work, and it
is very, very unlikely that if it works for Python 3.7, and 3.10,
it will not work for 3.8 or 3.9 (similarly for K8S version).

This will speed up the build at least 2 times.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk added the full tests needed We need to run full set of tests for this PR to merge label Jul 19, 2022
@potiuk potiuk requested review from eladkal and ephraimbuddy July 19, 2022 12:10
@potiuk potiuk changed the title Speed up kuberntes upgrade tests at least 2x Speed up Kubernetes upgrade tests at least 2x Jul 19, 2022
@potiuk potiuk force-pushed the speed-up-upgrade-kubernetes-tests-5-times-in-main branch from 157d848 to 47d4c2c Compare July 19, 2022 12:11
@potiuk potiuk force-pushed the speed-up-upgrade-kubernetes-tests-5-times-in-main branch from 47d4c2c to cf9ec97 Compare July 19, 2022 16:47
@potiuk
Copy link
Member Author

potiuk commented Jul 19, 2022

Running 🤞

@potiuk
Copy link
Member Author

potiuk commented Jul 19, 2022

@jedcunningham @ephraimbuddy - 19m instead of 41m -> not bad at all. I am just going to push an update to the name of the job but I believe this one is good to go.

@potiuk potiuk force-pushed the speed-up-upgrade-kubernetes-tests-5-times-in-main branch from cf9ec97 to d7b57f4 Compare July 19, 2022 19:38
@potiuk potiuk requested a review from dstandish July 19, 2022 19:39
We do not need to run upgrade kubernetes tests for all python
versions and all kubernetes versions. It is enough to run them
for the minimum and maximum versions. We already run all k8s tests
in main for all executors, so they "generally" work, and it
is very, very unlikely that if it works for Python 3.7, and 3.10,
it will not work for 3.8 or 3.9 (similarly for K8S version).

This will speed up the build at least 2 times.
@potiuk potiuk force-pushed the speed-up-upgrade-kubernetes-tests-5-times-in-main branch from d7b57f4 to 873a3db Compare July 19, 2022 20:29
@potiuk potiuk merged commit 907e720 into apache:main Jul 19, 2022
@potiuk potiuk deleted the speed-up-upgrade-kubernetes-tests-5-times-in-main branch July 19, 2022 20:30
potiuk added a commit that referenced this pull request Jul 21, 2022
We do not need to run upgrade kubernetes tests for all python
versions and all kubernetes versions. It is enough to run them
for the minimum and maximum versions. We already run all k8s tests
in main for all executors, so they "generally" work, and it
is very, very unlikely that if it works for Python 3.7, and 3.10,
it will not work for 3.8 or 3.9 (similarly for K8S version).

This will speed up the build at least 2 times.

(cherry picked from commit 907e720)
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.4 milestone Aug 15, 2022
@ephraimbuddy ephraimbuddy added type:misc/internal Changelog: Misc changes that should appear in change log changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) and removed type:misc/internal Changelog: Misc changes that should appear in change log labels Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) 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.

3 participants