Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Oct 22, 2024

#43260)

When "Always" tests are running in v2* branches, they also tested provider examples for importability. However sometimes those tests failed because we have not cherry-picked some of the provider's changes that were necessary for the examples to get imported.

This PR excludes provider's examples from the "always" running importability tests, when the branch we are running it in is not main (i.e. we are in one of the past v2-branches).

(cherry picked from commit 0f38be1)


^ 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.

…pache#43260)

When "Always" tests are running in v2* branches, they also tested
provider examples for importability. However sometimes those tests
failed because we have not cherry-picked some of the provider's
changes that were necessary for the examples to get imported.

This PR excludes provider's examples from the "always" running
importability tests, when the branch we are running it in is
not main (i.e. we are in one of the past v2-branches).

(cherry picked from commit 0f38be1)
@potiuk
Copy link
Member Author

potiuk commented Oct 22, 2024

Backport of #43260 - should help with getting v2-10-test PRs green - excluding provider examples from importability checks

@potiuk
Copy link
Member Author

potiuk commented Oct 22, 2024

Hmm. For some reason it does not work :)

@potiuk
Copy link
Member Author

potiuk commented Oct 22, 2024

OK. I know why it did not work (and actully found a teething problem with provider folder move). Proper fix is in #43273 - but it will be easier to merge that one and the apply #43273 once merged to avoid conflicts.

@potiuk potiuk merged commit 728515c into apache:v2-10-test Oct 22, 2024
47 of 48 checks passed
@potiuk potiuk deleted the skip-providers-examples-cherry-pick branch October 22, 2024 17:53
utkarsharma2 pushed a commit that referenced this pull request Oct 23, 2024
…43260) (#43263)

When "Always" tests are running in v2* branches, they also tested
provider examples for importability. However sometimes those tests
failed because we have not cherry-picked some of the provider's
changes that were necessary for the examples to get imported.

This PR excludes provider's examples from the "always" running
importability tests, when the branch we are running it in is
not main (i.e. we are in one of the past v2-branches).

(cherry picked from commit 0f38be1)
utkarsharma2 pushed a commit that referenced this pull request Oct 24, 2024
…43260) (#43263)

When "Always" tests are running in v2* branches, they also tested
provider examples for importability. However sometimes those tests
failed because we have not cherry-picked some of the provider's
changes that were necessary for the examples to get imported.

This PR excludes provider's examples from the "always" running
importability tests, when the branch we are running it in is
not main (i.e. we are in one of the past v2-branches).

(cherry picked from commit 0f38be1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants