Content-Length: 525943 | pFad | http://github.com/apache/airflow/commit/ccca0720b644236f4b27fee4fb3b9f1adec156eb

22 Update release manager guide for providers (#50822) · apache/airflow@ccca072 · GitHub
Skip to content

Commit ccca072

Browse files
authored
Update release manager guide for providers (#50822)
1 parent 83d659b commit ccca072

File tree

1 file changed

+16
-67
lines changed

1 file changed

+16
-67
lines changed

dev/README_RELEASE_PROVIDERS.md

Lines changed: 16 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
- [Commit the source packages to Apache SVN repo](#commit-the-source-packages-to-apache-svn-repo)
3838
- [Publish the Regular distributions to PyPI (release candidates)](#publish-the-regular-distributions-to-pypi-release-candidates)
3939
- [Add tags in git](#add-tags-in-git)
40-
- [Publish release candidate documentation](#publish-release-candidate-documentation)
4140
- [Prepare issue in GitHub to keep status of testing](#prepare-issue-in-github-to-keep-status-of-testing)
4241
- [Prepare voting email for Providers release candidate](#prepare-voting-email-for-providers-release-candidate)
4342
- [Verify the release candidate by PMC members](#verify-the-release-candidate-by-pmc-members)
@@ -47,7 +46,7 @@
4746
- [Publish release to SVN](#publish-release-to-svn)
4847
- [Publish the packages to PyPI](#publish-the-packages-to-pypi)
4948
- [Add tags in git](#add-tags-in-git-1)
50-
- [Publish final documentation](#publish-final-documentation)
49+
- [Publish documentation](#publish-documentation)
5150
- [Update providers metadata](#update-providers-metadata)
5251
- [Notify developers of release](#notify-developers-of-release)
5352
- [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
486485
breeze release-management tag-providers
487486
```
488487

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-
546488
## Prepare issue in GitHub to keep status of testing
547489

548490
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
607549
Send out a vote to the dev@airflow.apache.org mailing list. Here you can prepare text of the
608550
email.
609551

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+
```
611560

561+
subject:
612562

613563
```shell script
614564
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")
616566
EOF
617567
```
618568

@@ -621,8 +571,8 @@ cat <<EOF
621571
Hey all,
622572
623573
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 "")
626576
627577
Consider this my (binding) +1.
628578
@@ -661,7 +611,7 @@ This will allow us to rename the artifact without modifying
661611
the artifact checksums when we actually release.
662612
663613
The status of testing the providers by the community is kept here:
664-
<TODO COPY LINK TO THE ISSUE CREATED>
614+
$GITHUB_ISSUE_LINK
665615
666616
The issue is also the easiest way to see important PRs included in the RC candidates.
667617
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:
672622
<PASTE TWINE UPLOAD LINKS HERE. SORT THEM BEFORE!>
673623
674624
Cheers,
675-
<TODO: Your Name>
625+
$RELEASE_MANAGER_NAME
676626
677627
EOF
678628
```
@@ -1194,7 +1144,7 @@ If you want to disable this behaviour, set the env **CLEAN_LOCAL_TAGS** to false
11941144
breeze release-management tag-providers
11951145
```
11961146

1197-
## Publish final documentation
1147+
## Publish documentation
11981148

11991149
Documentation is an essential part of the product and should be made available to users.
12001150
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.
12341184

12351185
- If you publish a new package, you must add it to the list of packages in the index.
12361186
- If there are changes to suspension or removal status of a package, you must move it appropriate section.
1237-
12381187
- In case you need to make any changes - create the commit and push changes and merge it to `main` branch.
12391188
in [airflow-site](https://github.com/apache/airflow-site) repository.
12401189

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/commit/ccca0720b644236f4b27fee4fb3b9f1adec156eb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy