[
https://issues.apache.org/jira/browse/FLINK-31567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703628#comment-17703628
]
Matthias Pohl commented on FLINK-31567:
---------------------------------------
FLINK-27518 will make the test data generation for the migration tests easier.
> Promote the release
> -------------------
>
> Key: FLINK-31567
> URL: https://issues.apache.org/jira/browse/FLINK-31567
> Project: Flink
> Issue Type: New Feature
> Reporter: Matthias Pohl
> Priority: Major
>
> Once the release has been finalized (FLINK-31562), the last step of the
> process is to promote the release within the project and beyond. Please wait
> for 24h after finalizing the release in accordance with the [ASF release
> policy|http://www.apache.org/legal/release-policy.html#release-announcements].
> *Final checklist to declare this issue resolved:*
> # Website pull request to [list the
> release|http://flink.apache.org/downloads.html] merged
> # Release announced on the user@ mailing list.
> # Blog post published, if applicable.
> # Release recorded in
> [reporter.apache.org|https://reporter.apache.org/addrelease.html?flink].
> # Release announced on social media.
> # Completion declared on the dev@ mailing list.
> # Update Homebrew:
> [https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request] (seems to be done
> automatically - at least for minor releases for both minor and major
> releases)
> # Update quickstart scripts in {{{}flink-web{}}}, under the {{q/}} directory
> # Updated the japicmp configuration
> ** corresponding SNAPSHOT branch japicmp reference version set to the just
> released version, and API compatibiltity checks for {{@PublicEvolving}} was
> enabled
> ** (major only) master branch japicmp reference version set to the just
> released version
> ** (major only) master branch japicmp exclusions have been cleared
> # Update the list of previous version in {{docs/config.toml}} on the master
> branch.
> # Set {{show_outdated_warning: true}} in {{docs/config.toml}} in the branch
> of the _previous_ Flink version
> # Update stable and master alias in
> [https://github.com/apache/flink/blob/master/.github/workflows/docs.yml]
> {code:bash}
> if [ "${currentBranch}" = "master" ]; then
> echo "flink_alias=release-1.16" >> ${GITHUB_ENV}
> elif [ "${currentBranch}" = "release-1.14" ]; then
> echo "flink_alias=stable" >> ${GITHUB_ENV}
> fi
> ->
> if [ "${currentBranch}" = "master" ]; then
> echo "flink_alias=release-1.16" >> ${GITHUB_ENV}
> elif [ "${currentBranch}" = "release-1.15" ]; then
> echo "flink_alias=stable" >> ${GITHUB_ENV}
> fi
> {code}
> # Update docs to "stable" in {{docs/config.toml}} in the branch of the
> _just-released_ version:
> ** Change V{{{}ersion{}}} from {{{}x.y-SNAPSHOT }}to \{{{}x.y.z{}}}, i.e.
> {{1.6-SNAPSHOT}} to {{1.6.0}}
> ** Change V{{{}ersionTitle{}}} from {{x.y-SNAPSHOT}} to {{{}x.y{}}}, i.e.
> {{1.6-SNAPSHOT}} to {{1.6}}
> ** Change Branch from {{master}} to {{{}release-x.y{}}}, i.e. {{master}} to
> {{release-1.6}}
> ** Change {{baseURL}} from
> {{//[ci.apache.org/projects/flink/flink-docs-master|http://ci.apache.org/projects/flink/flink-docs-master]}}
> to
> {{//[ci.apache.org/projects/flink/flink-docs-release-x.y|http://ci.apache.org/projects/flink/flink-docs-release-x.y]}}
> ** Change {{javadocs_baseurl}} from
> {{//[ci.apache.org/projects/flink/flink-docs-master|http://ci.apache.org/projects/flink/flink-docs-master]}}
> to
> {{//[ci.apache.org/projects/flink/flink-docs-release-x.y|http://ci.apache.org/projects/flink/flink-docs-release-x.y]}}
> ** Change {{IsStable}} to {{true}}
> # Update {{CURRENT_VERSION in TypeSerializerUpgradeTestBase}} with the new
> version. This will likely fail some tests because snapshots are missing for
> that version. Generate them, for example in
> {{TypeSerializerUpgradeTestBase.}}
> # (major/minor only) Update migration tests in master to cover migration
> from new version: (search for usages of FlinkV{{{}ersion{}}})
> *
> ** {{AbstractOperatorRestoreTestBase}}
> ** {{CEPMigrationTest}}
> ** {{BucketingSinkMigrationTest}}
> ** {{FlinkKafkaConsumerBaseMigrationTest}}
> ** {{ContinuousFileProcessingMigrationTest}}
> ** {{WindowOperatorMigrationTest}}
> ** {{StatefulJobSavepointMigrationITCase}}
> ** {{StatefulJobWBroadcastStateMigrationITCase}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)