Github user spodkowinski commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/230#discussion_r215215056
--- Diff: doc/source/development/release_process.rst ---
@@ -0,0 +1,260 @@
+.. Licensed to the Apache Software Foundation (ASF) under one
+.. or more contributor license agreements. See the NOTICE file
+.. distributed with this work for additional information
+.. regarding copyright ownership. The ASF licenses this file
+.. to you under the Apache License, Version 2.0 (the
+.. "License"); you may not use this file except in compliance
+.. with the License. You may obtain a copy of the License at
+..
+.. http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS,
+.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.. See the License for the specific language governing permissions and
+.. limitations under the License.
+
+.. highlight:: none
+.. release_process:
+
+Release Process
+***************
+
+.. contents:: :depth: 3
+
+|
+|
+
+.. attention::
+
+ WORK IN PROGRESS
+ * A number of these steps still have been finalised/tested.
+ * The use of people.apache.org needs to be replaced with svnpubsub and dist.apache.org
+
+
+The steps for Release Managers to create, vote and publish releases for Apache Cassandra.
+
+While a committer can perform the initial steps of creating and calling a vote on a proposed
release, only a PMC can complete the process of publishing and announcing the release.
+
+
+Prerequisites
+=============
+
+Background docs
+ * `ASF Release Policy <http://www.apache.org/legal/release-policy.html>`_
+ * `ASF Release Distribution Policy <http://www.apache.org/dev/release-distribution>`_
+ * `ASF Release Best Practices <http://www.eu.apache.org/dev/release-publishing.html>`_
+
+
+A debian based linux OS is required to run the release steps from. Debian-based distros
provide the required RPM, dpkg and repository management tools.
+
+
+Create and publish your GPG key
+-------------------------------
+
+To create a GPG key, follow the `guidelines <http://www.apache.org/dev/openpgp.html>`_.
+Include your public key in::
+
+ https://dist.apache.org/repos/dist/cassandra/KEYS
+
+
+Publish your GPG key in a PGP key server, such as `MIT Keyserver <http://pgp.mit.edu/>`_.
+
+
+Create Release Artifacts
+========================
+
+Any committer can perform the following steps to create and call a vote on a proposed
release.
+
+Check that no open jira tickets are urgent and currently being worked on.
+Also check with a PMC that there's security vulnerabilities currently being worked on
in private.
+
+Perform the Release
+-------------------
+
+Run the following commands to generate and upload release artifacts, to a nexus staging
repository and distribution location::
+
+
+ cd ~/git
+ git clone https://github.com/apache/cassandra-builds.git
+ # Edit the variables at the top of `cassandra-builds/cassandra-release/prepare_release.sh`
+
+ # After cloning cassandra-builds repo, the prepare_release.sh is run from the actual
cassandra git checkout,
+ # on the branch/commit that we wish to tag for the tentative release along with version
number to tag.
+ # For example here <version-branch> might be `3.11` and <version> `3.11.3`
+ cd ~/git/cassandra/
+ git checkout cassandra-<version-branch>
+ ../cassandra-builds/cassandra-release/prepare_release.sh -v <version>
+
+If successful, take note of the email text output which can be used in the next section
"Call for a Vote".
+
+The ``prepare_release.sh`` script does not yet generate and upload the rpm distribution
packages.
+To generate and upload them do::
+
+ cd ~/git/cassandra-build
+ docker build -f docker/centos7-image.docker docker/
+ docker run --rm -v `pwd`/dist:/dist `docker images -f label=org.cassandra.buildenv=centos
-q` /home/build/build-rpms.sh <version>-tentative
+ rpmsign --addsign dist/*.rpm
+
+For more information on the above steps see the `cassandra-builds documentation <https://github.com/apache/cassandra-builds>_`.
--- End diff --
Link needs last two markup specific characters swapped for correct syntax
---
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
|