From a5e3aec2f08f8174b620b3a6c68e8cbf13820d68 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Sat, 1 Apr 2017 11:42:22 +0800 Subject: Add instructions for releasing Change-Id: I9a76b0eaec0ba7630fc6915197c71ff93a62c1e3 Signed-off-by: Yujun Zhang --- docs/testing/developer/devguide/overview.rst | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'docs/testing/developer/devguide') 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/ + git tag -am "" + git push gerrit + +Docker image +------------ + +#. Login `OPNFV Jenkins`_ +#. Go to the `qtip-docker-build-push-`_ 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/ -- cgit 1.2.3-korg