Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dev/README_RELEASE_AIRFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ As a PMC member, you should be able to clone the SVN repository
or update it if you already checked it out:

```shell script
cd ${AIRFLOW_REPO_ROOT}
cd ..
[ -d asf-dist ] || svn checkout --depth=immediates https://dist.apache.org/repos/dist asf-dist
svn update --set-depth=infinity asf-dist/dev/airflow
Expand All @@ -728,12 +729,12 @@ Optionally you can use the `breeze release-management check-release-files` comma
present in SVN. This command may also help with verifying installation of the packages.

```shell script
breeze release-management check-release-files airflow --version ${VERSION_RC} --path-to-airflow-svn "${PATH_TO_AIRFLOW_SVN}"
breeze release-management check-release-files airflow --version ${VERSION_RC}
```


```shell script
breeze release-management check-release-files task-sdk --version ${TASK_SDK_VERSION_RC} --path-to-airflow-svn "${PATH_TO_AIRFLOW_SVN}/task-sdk"
breeze release-management check-release-files task-sdk --version ${TASK_SDK_VERSION_RC}
```

## Licence check
Expand Down
49 changes: 46 additions & 3 deletions dev/breeze/doc/09_release_management_tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,32 @@ When testing from HEAD of the branch when the tag
:width: 100%
:alt: Breeze release-management prepare-tarball

Validating Release Candidate for PMC
"""""""""""""""""""""""""""""""""""""

PMC members can use Breeze to automate verification of release candidates instead of manually
running multiple verification steps. This command validates SVN files, GPG signatures, SHA512
checksums, Apache RAT licenses, and reproducible builds.

.. code-block:: bash

breeze release-management validate-rc-by-pmc --distribution airflow --version 3.1.3rc1 --task-sdk-version 1.1.3rc1 --svn-path ~/asf-dist/dev/airflow

You can run individual checks by specifying the ``--checks`` flag:

.. code-block:: bash

breeze release-management validate-rc-by-pmc \
--distribution airflow \
--version 3.1.3rc1 \
--svn-path ~/asf-dist/dev/airflow \
--checks svn,signatures,checksums,licenses

.. image:: ./images/output_release-management_validate-rc-by-pmc.svg
:target: https://raw.githubusercontent.com/apache/airflow/main/dev/breeze/doc/images/output_release-management_validate-rc-by-pmc.svg
:width: 100%
:alt: Breeze release-management validate-rc-by-pmc

Start minor branch of Airflow
"""""""""""""""""""""""""""""

Expand Down Expand Up @@ -281,10 +307,10 @@ This command can be utilized to manage git tags for providers within the Airflow
Sometimes in cases when there is a connectivity issue to GitHub, it might be possible that local tags get created and lead to annoying errors.
The default behaviour would be to clean such local tags up.

The flag ``--clean-local-tags`` can be used to delete the local tags.
The flag ``--clean-tags`` can be used to delete the local tags.

However, If you want to disable this behaviour, set the envvar CLEAN_LOCAL_TAGS to false or use the
``--no-clean-local-tags`` flag.
``--no-clean-tags`` flag.

.. code-block:: bash

Expand Down Expand Up @@ -381,6 +407,23 @@ You can also add ``--answer yes`` to perform non-interactive build.
:width: 100%
:alt: Breeze prepare-provider-documentation

Updating provider next version
""""""""""""""""""""""""""""""

You can use Breeze to update references to other providers automatically to the
next version of dependent providers, when they are commented with ``# use next version``.

The below example perform the upgrade.

.. code-block:: bash

breeze release-management update-providers-next-version


.. image:: ./images/output_release-management_update-providers-next-version.svg
:target: https://raw.githubusercontent.com/apache/airflow/main/dev/breeze/doc/images/output_release-management_update-providers-next-version.svg
:alt: Breeze update-providers-next-version

Preparing providers
"""""""""""""""""""

Expand Down Expand Up @@ -428,7 +471,7 @@ Installing providers
""""""""""""""""""""

In some cases we want to just see if the providers generated can be installed with Airflow without
verifying them. This happens automatically on CI for sdist pcackages but you can also run it manually if you
verifying them. This happens automatically on CI for ``sdist`` packages but you can also run it manually if you
just prepared providers and they are present in ``dist`` folder.

.. code-block:: bash
Expand Down
64 changes: 34 additions & 30 deletions dev/breeze/doc/images/output_release-management.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/breeze/doc/images/output_release-management.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eac5e457db3b3fa57c5180ad88ee7c05
adf95164020fa37164c778e10dcdaa36
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c025f2c9ea1fa5f8b3e3e5b8f01dcd6d
4a8d979dd9f841744b5b400de502144b
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
27169c83fcbcca907a0b32a5c4faeb48
4d19d7c6652330646ee94bf409c14787
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1d031671d50f0a45410fda366afe659f
92b4cf987fa3fa7bf32c06a96408a1c6
Loading
Loading