You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/07/21 17:23:36 UTC

[airflow] 07/12: Update description of branch creation to include the new Breeze (#25155)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit f18e1657496239f8d0ae91124f2670605d97badd
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Tue Jul 19 23:08:39 2022 +0200

    Update description of branch creation to include the new Breeze (#25155)
    
    * Update description of branch creation to include the new Breeze
    
    The new Breeze has a different place where default branch and
    constraints branch are kept.
    
    When we create a new "release" branch we should update it here
    as well as in the bash legacy breeze (until the bash breeze has
    stil some zombies around)
    
    (cherry picked from commit 8923e3ab0304caafd011253b52e2d644066f58fc)
---
 dev/README_RELEASE_AIRFLOW.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 287b642d69..f699e04ab2 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -341,6 +341,8 @@ Run script to re-tag images from the ``main`` branch to the  ``vX-Y-test`` branc
 
 ### Update default branches
 
+#### In the legacy, bash breeze (to be removed when the bash breeze is entirely gone)
+
 In ``./scripts/ci/libraries/_intialization.sh`` update branches to reflect the new branch:
 
 ```bash
@@ -363,6 +365,22 @@ values for comparison and regexp):
         AIRFLOW_BRANCH_FOR_PYPI_PRELOADING="vX-Y-stable"
 ```
 
+#### In the new breeze
+
+In ``./dev/breeze/src/airflow_breeze/branch_defaults.py`` update branches to reflect the new branch:
+
+```python
+AIRFLOW_BRANCH = "main"
+DEFAULT_AIRFLOW_CONSTRAINTS_BRANCH = "constraints-main"
+```
+
+should become this, where ``X-Y`` is your new branch version:
+
+```python
+AIRFLOW_BRANCH = "vX-Y-test"
+DEFAULT_AIRFLOW_CONSTRAINTS_BRANCH = "constraints-X-Y"
+```
+
 ### Commit the changes to the test branch
 
 ```bash