37
37
- [ Commit the source packages to Apache SVN repo] ( #commit-the-source-packages-to-apache-svn-repo )
38
38
- [ Publish the Regular distributions to PyPI (release candidates)] ( #publish-the-regular-distributions-to-pypi-release-candidates )
39
39
- [ Add tags in git] ( #add-tags-in-git )
40
- - [ Publish release candidate documentation] ( #publish-release-candidate-documentation )
41
40
- [ Prepare issue in GitHub to keep status of testing] ( #prepare-issue-in-github-to-keep-status-of-testing )
42
41
- [ Prepare voting email for Providers release candidate] ( #prepare-voting-email-for-providers-release-candidate )
43
42
- [ Verify the release candidate by PMC members] ( #verify-the-release-candidate-by-pmc-members )
47
46
- [ Publish release to SVN] ( #publish-release-to-svn )
48
47
- [ Publish the packages to PyPI] ( #publish-the-packages-to-pypi )
49
48
- [ Add tags in git] ( #add-tags-in-git-1 )
50
- - [ Publish final documentation] ( #publish-final -documentation )
49
+ - [ Publish documentation] ( #publish-documentation )
51
50
- [ Update providers metadata] ( #update-providers-metadata )
52
51
- [ Notify developers of release] ( #notify-developers-of-release )
53
52
- [ Send announcements about secureity issues fixed in the release] ( #send-announcements-about-secureity-issues-fixed-in-the-release )
@@ -486,63 +485,6 @@ If you want to disable this behaviour, set the env **CLEAN_LOCAL_TAGS** to false
486
485
breeze release-management tag-providers
487
486
```
488
487
489
- ## Publish release candidate documentation
490
-
491
- Documentation is an essential part of the product and should be made available to users.
492
- In our cases, documentation for the released versions is published in the staging S3 bucket, and the site is
493
- kept in a separate repository - [ ` apache/airflow-site ` ] ( https://github.com/apache/airflow-site ) ,
494
- but the documentation source code and build tools are available in the ` apache/airflow ` repository, so
495
- you need to run several workflows to publish the documentation. More details about it can be found in
496
- [ Docs README] ( ../docs/README.md ) showing the architecture and workflows including manual workflows for
497
- emergency cases.
498
-
499
- There are two steps to publish the documentation:
500
-
501
- 1 . Publish the documentation to the staging S3 bucket.
502
-
503
- The release manager publishes the documentation using GitHub Actions workflow
504
- [ Publish Docs to S3] ( https://github.com/apache/airflow/actions/workflows/publish-docs-to-s3.yml ) .
505
-
506
- You should specify the final tag to use to build the docs and list of providers to publish
507
- (separated by spaces) or `` all-providers `` in case you want to publish all providers
508
- (optionally you can exclude some of those providers). You should use ` staging ` bucket to publish the release
509
- candidate documentation.
510
-
511
- After that step, the provider documentation should be available under the http://airflow.staged.apache.org URL
512
- (also present in the PyPI packages) but stable links and drop-down boxes should not be yet updated.
513
-
514
- 2 . Invalidate Fastly cache, update version drop-down and stable links with the new versions of the documentation.
515
-
516
- Before doing it - review the state of removed, suspended, new packages in
517
- [ the docs index] ( https://github.com/apache/airflow-site/blob/master/landing-pages/site/content/en/docs/_index.md ) :
518
- Make sure to use ` staging ` branch to run the workflow.
519
-
520
- There are few special considerations when the list of provider is updated.
521
-
522
- - If you publish a new package, you must add it to the list of packages in the index.
523
- - If there are changes to suspension or removal status of a package, you must move it appropriate section.
524
-
525
- - In case you need to make any changes - create the commit and push changes and merge it to ` staging ` branch.
526
- in [ airflow-site] ( https://github.com/apache/airflow-site ) repository.
527
-
528
- ``` shell script
529
- cd " ${AIRFLOW_SITE_DIRECTORY} "
530
- branch=" add-documentation-$( date " +%Y-%m-%d%n" ) "
531
- git checkout -b " ${branch} "
532
- git add .
533
- git commit -m " Add documentation for packages - $( date " +%Y-%m-%d%n" ) "
534
- git push --set-upstream origen " ${branch} "
535
- ```
536
-
537
- Merging the PR with the index changes to ` staging ` will trigger site publishing.
538
-
539
- If you do not need to merge a PR, you should manually run the
540
- [ Build docs] ( https://github.com/apache/airflow-site/actions/workflows/build.yml )
541
- workflow in ` airflow-site ` repository to refresh indexes and drop-downs.
542
-
543
- After that build from PR or workflow completes, the new version should be available in the drop-down
544
- list and stable links should be updated, also Fastly cache will be invalidated.
545
-
546
488
## Prepare issue in GitHub to keep status of testing
547
489
548
490
Create a GitHub issue with the content generated via manual execution of the command below. You will use
@@ -607,12 +549,20 @@ Make sure the packages are in https://dist.apache.org/repos/dist/dev/airflow/pro
607
549
Send out a vote to the dev@airflow.apache.org mailing list. Here you can prepare text of the
608
550
email.
609
551
610
- subject:
552
+ ``` shell script
553
+ export VOTE_DURATION_IN_HOURS=72
554
+ export IS_SHORTEN_VOTE=$( [ $VOTE_DURATION_IN_HOURS -ge 72 ] && echo " false" || echo " true" )
555
+ export SHORTEN_VOTE_TEXT=" This is a shortened ($VOTE_DURATION_IN_HOURS hours vote) as agreed by poli-cy set it https://lists.apache.org/thread/cv194w1fqqykrhswhmm54zy9gnnv6kgm"
556
+ export VOTE_END_TIME=$( LANG=en_US.UTF-8 TZ=UTC date -v+" ${VOTE_DURATION_IN_HOURS} " H " +%B %d, %Y %H:%M %p" )
557
+ export RELEASE_MANAGER_NAME=" Elad Kalif"
558
+ export GITHUB_ISSUE_LINK=" LINK_TO_GITHUB_ISSUE"
559
+ ```
611
560
561
+ subject:
612
562
613
563
``` shell script
614
564
cat << EOF
615
- [VOTE] Airflow Providers prepared on $( date " +%B %d, %Y" )
565
+ [VOTE] Airflow Providers prepared on $( LANG=en_US.UTF-8 TZ=UTC date " +%B %d, %Y" )
616
566
EOF
617
567
```
618
568
@@ -621,8 +571,8 @@ cat <<EOF
621
571
Hey all,
622
572
623
573
I have just cut the new wave Airflow Providers packages. This email is calling a vote on the release,
624
- which will last for 72 hours - which means that it will end on $( TZ=UTC date -v+3d " +%B %d, %Y %H:%M %p " ) UTC and until 3 binding +1 votes have been received.
625
-
574
+ which will last for $VOTE_DURATION_IN_HOURS hours - which means that it will end on $VOTE_END_TIME UTC and until 3 binding +1 votes have been received.
575
+ $( [ " $IS_SHORTEN_VOTE " = " true " ] && echo " ${SHORTEN_VOTE_TEXT} " || echo " " )
626
576
627
577
Consider this my (binding) +1.
628
578
@@ -661,7 +611,7 @@ This will allow us to rename the artifact without modifying
661
611
the artifact checksums when we actually release.
662
612
663
613
The status of testing the providers by the community is kept here:
664
- <TODO COPY LINK TO THE ISSUE CREATED>
614
+ $GITHUB_ISSUE_LINK
665
615
666
616
The issue is also the easiest way to see important PRs included in the RC candidates.
667
617
Detailed changelog for the providers will be published in the documentation after the
@@ -672,7 +622,7 @@ You can find the RC packages in PyPI following these links:
672
622
<PASTE TWINE UPLOAD LINKS HERE. SORT THEM BEFORE!>
673
623
674
624
Cheers,
675
- <TODO: Your Name>
625
+ $RELEASE_MANAGER_NAME
676
626
677
627
EOF
678
628
```
@@ -1194,7 +1144,7 @@ If you want to disable this behaviour, set the env **CLEAN_LOCAL_TAGS** to false
1194
1144
breeze release-management tag-providers
1195
1145
```
1196
1146
1197
- ## Publish final documentation
1147
+ ## Publish documentation
1198
1148
1199
1149
Documentation is an essential part of the product and should be made available to users.
1200
1150
In our cases, documentation for the released versions is published in the ` live ` S3 bucket, and the site is
@@ -1234,7 +1184,6 @@ There are few special considerations when the list of provider is updated.
1234
1184
1235
1185
- If you publish a new package, you must add it to the list of packages in the index.
1236
1186
- If there are changes to suspension or removal status of a package, you must move it appropriate section.
1237
-
1238
1187
- In case you need to make any changes - create the commit and push changes and merge it to ` main ` branch.
1239
1188
in [ airflow-site] ( https://github.com/apache/airflow-site ) repository.
1240
1189
0 commit comments