<commit_before>.. only:: not (epub or latex or html)
  
    WARNING: You are looking at unreleased Cilium documentation.
    Please use the official rendered version released here:
    https://docs.cilium.io

.. _minor_release_process:

Feature Release Process
=======================

This document describes the process for creating a major or minor feature
release of Cilium.

On Freeze date
--------------

#. Fork a new release branch from master:

   ::

       git checkout master; git pull origin master
       git checkout -b v1.2
       git push

#. Protect the branch using the GitHub UI to disallow direct push and require
   merging via PRs with proper reviews. `Direct link <https://github.com/cilium/cilium/settings/branches>`_

#. Replace the contents of the ``CODEOWNERS`` file with the following to reduce
   code reviews to essential approvals:

   ::

        * @cilium/janitors
        api/ @cilium/api
        pkg/apisocket/ @cilium/api
        pkg/monitor/payload @cilium/api
        pkg/policy/api/ @cilium/api
        pkg/proxy/accesslog @cilium/api

#. Create a new project named "X.Y.Z" to automatically track the backports
   for that particular release. `Direct Link: <https://github.com/cilium/cilium/projects/new>`_

#. Copy the ``.github/cilium-actions.yml`` from the previous release ``vX.Y-1``
   change the contents to be relevant for the release ``vX.Y`` and set the
   ``project:`` to be the generated link created by the previous step. The link
   should be something like: ``https://github.com/cilium/cilium/projects/NNN``

#. Set the right version for the ``CustomResourceDefinitionSchemaVersion`` in
   the ``pkg/k8s/...`` by following these instructions:

   Run ``./Documentation/check-crd-compat-table.sh vX.Y``

#. Commit changes, open a pull request against the new ``v1.2`` branch, and get
   the pull request merged<commit_msg>docs: include maintainers CODEOWNERS release process<commit_after>.. only:: not (epub or latex or html)
  
    WARNING: You are looking at unreleased Cilium documentation.
    Please use the official rendered version released here:
    https://docs.cilium.io

.. _minor_release_process:

Feature Release Process
=======================

This document describes the process for creating a major or minor feature
release of Cilium.

On Freeze date
--------------

#. Fork a new release branch from master:

   ::

       git checkout master; git pull origin master
       git checkout -b v1.2
       git push

#. Protect the branch using the GitHub UI to disallow direct push and require
   merging via PRs with proper reviews. `Direct link <https://github.com/cilium/cilium/settings/branches>`_

#. Replace the contents of the ``CODEOWNERS`` file with the following to reduce
   code reviews to essential approvals:

   ::

        * @cilium/janitors
        .github/workflows/ @cilium/maintainers
        api/ @cilium/api
        pkg/apisocket/ @cilium/api
        pkg/monitor/payload @cilium/api
        pkg/policy/api/ @cilium/api
        pkg/proxy/accesslog @cilium/api

#. Create a new project named "X.Y.Z" to automatically track the backports
   for that particular release. `Direct Link: <https://github.com/cilium/cilium/projects/new>`_

#. Copy the ``.github/cilium-actions.yml`` from the previous release ``vX.Y-1``
   change the contents to be relevant for the release ``vX.Y`` and set the
   ``project:`` to be the generated link created by the previous step. The link
   should be something like: ``https://github.com/cilium/cilium/projects/NNN``

#. Set the right version for the ``CustomResourceDefinitionSchemaVersion`` in
   the ``pkg/k8s/...`` by following these instructions:

   Run ``./Documentation/check-crd-compat-table.sh vX.Y``

#. Commit changes, open a pull request against the new ``v1.2`` branch, and get
   the pull request merged
{'fraction_non_alphanumeric': 0.11105318039624609, 'fraction_numerical': 0.0031282586027111575, 'mean_word_length': 3.179738562091503, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6029546', 'n_tokens_mistral': 1128, 'n_tokens_neox': 1064, 'n_words': 422}