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 2023/12/18 18:30:32 UTC
(airflow) branch main updated: Move removal of chicken-egg providers to before releasing image (#36286)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 663dfd0070 Move removal of chicken-egg providers to before releasing image (#36286)
663dfd0070 is described below
commit 663dfd007000824a71f84f6db84a43654a2dbe4f
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Dec 18 19:30:25 2023 +0100
Move removal of chicken-egg providers to before releasing image (#36286)
Once Airflow is relesed to PyPI we should remove chicken-egg
providers for that release and cherry-pick them to v2-*-test in
order to prepare container images in case the image contains the
providers as default extras.
---
dev/README_RELEASE_AIRFLOW.md | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 2074e88995..797f24ef9e 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -40,6 +40,7 @@
- [Publish the final Apache Airflow release](#publish-the-final-apache-airflow-release)
- [Summarize the voting for the Apache Airflow release](#summarize-the-voting-for-the-apache-airflow-release)
- [Publish release to SVN](#publish-release-to-svn)
+ - [Remove chicken-egg providers](#remove-chicken-egg-providers)
- [Manually prepare production Docker Image](#manually-prepare-production-docker-image)
- [Verify production images](#verify-production-images)
- [Publish documentation](#publish-documentation)
@@ -764,6 +765,20 @@ export AIRFLOW_REPO_ROOT=$(pwd)
breeze release-management start-release --release-candidate ${RC} --previous-release <PREVIOUS RELEASE>
```
+## Remove chicken-egg providers
+
+For the first MINOR (X.Y.0) release - remove all providers from ``CHICKEN_EGG_PROVIDERS`` list
+in ``src/airflow_breeze/global_constants.py`` that have >= ``X.Y.0`` in the corresponding provider.yaml file.
+
+In case the provider should also be installed in the image (it is part of ``airflow/providers/installed_providers.txt``)
+it should also be added at this moment to ``Dockerfile`` to the list of default extras in the lin with ``AIRFLOW_EXTRAS``:
+
+```Dockerfile
+ARG AIRFLOW_EXTRAS=".....,<provider>,...."
+```
+
+This change needs to be merged to ``main`` and cherry-picked to ``v2-*-test`` branch before building the image.
+
## Manually prepare production Docker Image
Building the image is triggered by running the
@@ -774,7 +789,7 @@ When you trigger it you need to pass:
* Airflow Version
* Optional "true" in skip latest field if you do not want to re-tag the latest image
-Make sure you use v2-*-stable branch to run the workflow.
+Make sure you use ``v2-*-test`` branch to run the workflow.

@@ -980,8 +995,6 @@ This includes:
- Sync `RELEASE_NOTES.rst` (including deleting relevant `newsfragments`) and `README.md` changes.
- Updating `Dockerfile` with the new version.
- Updating `airflow_bug_report.yml` issue template in `.github/ISSUE_TEMPLATE/` with the new version.
-- For the first MINOR (X.Y.0) release - remove all providers from ``CHICKEN_EGG_PROVIDERS`` list
- in ``src/airflow_breeze/global_constants.py`` that have >= ``X.Y.0`` in the corresponding provider.yaml file.
## Update default Airflow version in the helm chart