Skip to content

Comments

Coorect branch used for non-main builds#25545

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:correct-branch-for-non-main
Aug 4, 2022
Merged

Coorect branch used for non-main builds#25545
potiuk merged 1 commit intoapache:mainfrom
potiuk:correct-branch-for-non-main

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Aug 4, 2022

Shell parameters should determine the branch based on environment
variables so that main version of Breeze can properly build images
in build-images.yml workflow.

While CI/PROD params were ok, Shell Param was always using main
and this failed PRs to v2-3-stable/test.

This PR unifies branch selection to use env variables (which are
properly set in CI).


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

Shell parameters should determine the branch based on environment
variables so that main version of Breeze can properly build images
in build-images.yml workflow.

While CI/PROD params were ok, Shell Param was always using main
and this failed PRs to v2-3-stable/test.

This PR unifies branch selection to use env variables (which are
properly set in CI).
@potiuk
Copy link
Member Author

potiuk commented Aug 4, 2022

Last thing to make non-brain PRs to work (will be useful for 2.4 branch when we have it).

@potiuk
Copy link
Member Author

potiuk commented Aug 4, 2022

@potiuk potiuk merged commit 85e3b35 into apache:main Aug 4, 2022
@potiuk potiuk deleted the correct-branch-for-non-main branch August 4, 2022 22:17
potiuk added a commit that referenced this pull request Aug 5, 2022
Shell parameters should determine the branch based on environment
variables so that main version of Breeze can properly build images
in build-images.yml workflow.

While CI/PROD params were ok, Shell Param was always using main
and this failed PRs to v2-3-stable/test.

This PR unifies branch selection to use env variables (which are
properly set in CI).

(cherry picked from commit 85e3b35)
@potiuk potiuk added this to the Airflow 2.3.4 milestone Aug 5, 2022
potiuk added a commit that referenced this pull request Aug 5, 2022
Shell parameters should determine the branch based on environment
variables so that main version of Breeze can properly build images
in build-images.yml workflow.

While CI/PROD params were ok, Shell Param was always using main
and this failed PRs to v2-3-stable/test.

This PR unifies branch selection to use env variables (which are
properly set in CI).

(cherry picked from commit 85e3b35)
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label 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..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants