summaryrefslogtreecommitdiffstats
path: root/docs/testing/developer/devguide
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-01 11:42:22 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-02 08:08:33 +0800
commita5e3aec2f08f8174b620b3a6c68e8cbf13820d68 (patch)
tree08f44378e6e5380459e3e5fa592a44fa0fa22cb5 /docs/testing/developer/devguide
parentbab2fb2df6769583784bb0ebfce80763d2702dda (diff)
Add instructions for releasing
Change-Id: I9a76b0eaec0ba7630fc6915197c71ff93a62c1e3 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'docs/testing/developer/devguide')
-rw-r--r--docs/testing/developer/devguide/overview.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/testing/developer/devguide/overview.rst b/docs/testing/developer/devguide/overview.rst
index 06a6914b..66712155 100644
--- a/docs/testing/developer/devguide/overview.rst
+++ b/docs/testing/developer/devguide/overview.rst
@@ -93,6 +93,34 @@ Stable branches are created when features are frozen for next release. According
NOTE: we do **NOT** create branches for feature development as in the popular `GitHub Flow`_
+Releasing
+=========
+
+Tag Deliverable and write release note
+
+Git repository
+--------------
+
+Follow the example in `Git Tagging Instructions for Danube`_ to tag the source code::
+
+ git fetch gerrit
+ git checkout stable/<release-name>
+ git tag -am "<release-version>" <release-version>
+ git push gerrit <release-version>
+
+Docker image
+------------
+
+#. Login `OPNFV Jenkins`_
+#. Go to the `qtip-docker-build-push-<release>`_ and click "Build With Parameters"
+#. Fill in ``RELEASE_VERSION`` with version number not including release name, e.g. ``1.0``
+#. Trigger a manual build
+
+Release note
+------------
+
+Create release note under ``qtip/docs/release/release-notes`` and update ``index.rst``
+
.. _Connexion: https://pypi.python.org/pypi/connexion/
.. _Click: http://click.pocoo.org/
.. _Jinja2: http://jinja.pocoo.org/
@@ -106,3 +134,6 @@ NOTE: we do **NOT** create branches for feature development as in the popular `G
.. _docker jobs: https://git.opnfv.org/releng/tree/jjb/releng/opnfv-docker.yml
.. _instructions for stable branch: https://wiki.opnfv.org/display/SWREL/Stablebranch
.. _GitHub Flow: https://guides.github.com/introduction/flow/
+.. _Git Tagging Instructions for Danube: https://wiki.opnfv.org/display/SWREL/Git+Tagging+Instructions+for+Danube
+.. _OPNFV Jenkins: https://build.opnfv.org/ci/view/qtip/
+.. _docker build job: https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-danube/