Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jun 30, 2022

The recent changes in selective checks introduced a few problems
in non-main branches:

  • constraints branch was not used by CI build in non-main branch
    this was not a proble, (until it started to fail) because
    other branches always work in "upgradeDepencies" case

  • default branch calculation did not account for the selective-check
    that was run before default branch was retrieved. Therefore
    we did not run build as from 2.3 branch. Now the branch is retrieved
    before selective checks are run.

  • Some precomits should be skiped in non-main branch

  • Integration was also excluded additionally to Providers tests as
    integration tests are not at all useful for non-main branch

  • Two more outputs added for selective checks:

    • docs-filter - allows to filer which documentation should be built
    • skip-pre-commit - allows to dynamically choose which pre-commits
      should be skipped

^ 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 a newsfragement file, named {pr_number}.significant.rst, in newsfragments.

@potiuk potiuk force-pushed the add-fixes-for-non-main-branch-building branch 5 times, most recently from ff8af57 to 6d57cd4 Compare July 1, 2022 08:57
@potiuk potiuk requested a review from ephraimbuddy July 1, 2022 09:02
The recent changes in selective checks introduced a few problems
in non-main branches:

* constraints branch was not used by CI build in non-main branch
  this was not a proble, (until it started to fail) because
  other branches always work in "upgradeDepencies" case

* default branch calculation did not account for the selective-check
  comment that was run before default branch was retrieved. Therefore
  we did not run build as from 2.3 branch

* Some precomits should be skiped in non-main branch

* Integration was also excluded from Provider Check

* Two more commit outputs added:
  * docs-filter -  depends whether you are with more packages
  * skip-pre-commit - allows to dynamically choose which pre-commits
    should be skipped
@potiuk potiuk force-pushed the add-fixes-for-non-main-branch-building branch from 6d57cd4 to 9fa05ea Compare July 1, 2022 09:10
@potiuk potiuk merged commit c8d3850 into apache:main Jul 1, 2022
@potiuk potiuk deleted the add-fixes-for-non-main-branch-building branch July 1, 2022 10:46
@potiuk potiuk added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jul 1, 2022
@potiuk potiuk added this to the Airflow 2.3.3 milestone Jul 1, 2022
potiuk added a commit that referenced this pull request Jul 1, 2022
The recent changes in selective checks introduced a few problems
in non-main branches:

* constraints branch was not used by CI build in non-main branch
  this was not a proble, (until it started to fail) because
  other branches always work in "upgradeDepencies" case

* default branch calculation did not account for the selective-check
  comment that was run before default branch was retrieved. Therefore
  we did not run build as from 2.3 branch

* Some precomits should be skiped in non-main branch

* Integration was also excluded from Provider Check

* Two more commit outputs added:
  * docs-filter -  depends whether you are with more packages
  * skip-pre-commit - allows to dynamically choose which pre-commits
    should be skipped

(cherry picked from commit c8d3850)
potiuk added a commit that referenced this pull request Jul 1, 2022
The recent changes in selective checks introduced a few problems
in non-main branches:

* constraints branch was not used by CI build in non-main branch
  this was not a proble, (until it started to fail) because
  other branches always work in "upgradeDepencies" case

* default branch calculation did not account for the selective-check
  comment that was run before default branch was retrieved. Therefore
  we did not run build as from 2.3 branch

* Some precomits should be skiped in non-main branch

* Integration was also excluded from Provider Check

* Two more commit outputs added:
  * docs-filter -  depends whether you are with more packages
  * skip-pre-commit - allows to dynamically choose which pre-commits
    should be skipped

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

Labels

area:dev-tools area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) kind:documentation provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants