You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes release image preparation to use PyPI packages
Since we released all teh provider packages to PyPI now in
RC version, we can now change the mechanism to prepare the
production to use released packages in case of tagged builds.
The "branch" production images are still prepared using the
CI images and .whl packages built from sources, but the
release packages are built from officially released PyPI
packages.
Also some corrections and updates were made to the release process:
* the constraint tags when RC candidate is sent should contain
rcn suffix.
* there was missing step about pushing the release tag once the
release is out
* pushing tag to GitHub should be done after the PyPI packages
are uploaded, so that automated image building in DockerHub
can use those packages.
* added a note that in case we will release some provider
packages that depend on the just released airflow version
they shoudl be released after airflow is in PyPI but before
the tag is pushed to GitHub (also to allow the image to be
build automatically from the released packages)
Fixes: #12970
(The migration should include renaming the files so that they no longer have the RC number in their filenames.)
484
531
485
-
The best way of doing this is to svn cp between the two repos (this avoids having to upload the binaries again, and gives a clearer history in the svn commit logs):
532
+
The best way of doing this is to svn cp between the two repos (this avoids having to upload the binaries again, and gives a clearer historyin the svn commit logs):
486
533
487
534
```shell script
488
535
# First clone the repo
@@ -552,6 +599,59 @@ At this point we release an official package:
552
599
553
600
- Update CHANGELOG.md with the details, and commit it.
554
601
602
+
- Re-Tag & Push the constraints files with the final release version.
603
+
604
+
```shell script
605
+
git checkout constraints-${RC}
606
+
git tag -s "constraints-${VERSION}"
607
+
git push origin "constraints-${VERSION}"
608
+
```
609
+
610
+
- Push Tag for the final version
611
+
612
+
This step should only be done now and not before, because it triggers an automated build of
613
+
the production docker image, using the packages that are currently released in PyPI
614
+
(both airflow and latest provider packages).
615
+
616
+
```shell script
617
+
git push origin ${VERSION}
618
+
```
619
+
620
+
## \[Optional\] - Manually prepare production Docker Image
621
+
622
+
Production Docker images should be automatically built in 2-3 hours after the release tag has been
623
+
pushed. If this did not happen - please login to DockerHub and check the status of builds:
0 commit comments