Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.19.0
    • 1.19.0
    • None

    Description

      If you are doing a new minor release, you need to update Flink version in the following repositories and the AzureCI project configuration:

      Patch releases don't require the these repositories to be touched. Simply checkout the already existing branch for that version:

      $ git checkout release-$SHORT_RELEASE_VERSION
      

      Flink repository

      Create a branch for the new version that we want to release before updating the master branch to the next development version:

      $ cd ./tools
      tools $ releasing/create_snapshot_branch.sh
      tools $ git checkout master
      tools $ OLD_VERSION=$CURRENT_SNAPSHOT_VERSION NEW_VERSION=$NEXT_SNAPSHOT_VERSION releasing/update_branch_version.sh
      

      In the master branch, add a new value (e.g. v1_16("1.16")) to apache-flink:flink-annotations/src/main/java/org/apache/flink/FlinkVersion as the last entry:

      // ...
      v1_12("1.12"),
      v1_13("1.13"),
      v1_14("1.14"),
      v1_15("1.15"),
      v1_16("1.16");
      

      Additionally in master, update the branch list of the GitHub Actions nightly workflow (see apache/flink:.github/workflows/nightly-trigger.yml#L31ff): The two most-recent releases and master should be covered.

      The newly created branch and updated master branch need to be pushed to the official repository.

      Flink Docker Repository

      Afterwards fork off from dev-master a dev-x.y branch in the apache/flink-docker repository. Make sure that apache/flink-docker:.github/workflows/ci.yml points to the correct snapshot version; for dev-x.y it should point to x.y-SNAPSHOT, while for dev-master it should point to the most recent snapshot version ({[$NEXT_SNAPSHOT_VERSION}}).

      After pushing the new minor release branch, as the last step you should also update the documentation workflow to also build the documentation for the new release branch. Check Managing Documentation on details on how to do that. You may also want to manually trigger a build to make the changes visible as soon as possible.

      Flink Benchmark Repository

      First of all, checkout the master branch to dev-x.y branch in apache/flink-benchmarks, so that we can have a branch named dev-x.y which could be built on top of ($CURRENT_SNAPSHOT_VERSION).

      Then, inside the repository you need to manually update the flink.version property inside the parent pom.xml file. It should be pointing to the most recent snapshot version ($NEXT_SNAPSHOT_VERSION). For example:

      <flink.version>1.18-SNAPSHOT</flink.version>
      

      AzureCI Project Configuration

      The new release branch needs to be configured within AzureCI to make azure aware of the new release branch. This matter can only be handled by Ververica employees since they are owning the AzureCI setup.
       


      Expectations (Minor Version only if not stated otherwise)

      Attachments

        1. screenshot-1.png
          196 kB
          lincoln lee

        Issue Links

          Activity

            People

              lincoln.86xy lincoln lee
              lincoln.86xy lincoln lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: