Fix code block indents 15/56415/1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 18 Apr 2017 00:56:43 +0000 (10:56 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 3 May 2017 00:29:39 +0000 (10:29 +1000)
Change-Id: Ibf7698ad5a67b5479b411a6176ba6f21f09eb9c6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
docs/release-process/simultaneous-release.rst

index c7da675589be5813fd9ec2246aa731894644d740..79c28048957d625e59b53a8ba1cdbe991ccdf961 100644 (file)
@@ -11,84 +11,84 @@ Preparations
 After release candidate is built gpg sign artifacts using odlsign-bulk script in
 **releng/builder/scripts**.
 
-    .. code-block:: bash
+.. code-block:: bash
 
-        cd scripts/
-        ./odlsign-bulk STAGING_REPO_ID  # eg. autorelease-1367
+    cd scripts/
+    ./odlsign-bulk STAGING_REPO_ID  # eg. autorelease-1367
 
 Releasing OpenDaylight
 ======================
 
 - Block submit permissions for registered users and elevate RE's committer rights on gerrit.
 
-    .. figure:: images/gerrit-update-committer-rights.png
+  .. figure:: images/gerrit-update-committer-rights.png
 
-    .. note::
+  .. note::
 
-       Enable Exclusive checkbox
+     Enable Exclusive checkbox
 
 - Export ${RELEASE} and ${BUILDNUM} with current release name and build number.
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-       export RELEASE=Beryllium-SR4
-       export BRANCH=${RELEASE//-*}
-       export BUILDNUM=55
+     export RELEASE=Beryllium-SR4
+     export BRANCH=${RELEASE//-*}
+     export BUILDNUM=55
 
 - Nexus: click release for staging repo **(Helpdesk)**
 - Send email to Helpdesk with binary URL to update website **(Helpdesk)**
 - Send email to TSC and Release mailing lists announcing release binaries location **(Release Engineering Team)**
 - Clone autorelease repository. **(Release Engineering Team)**
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        git clone --recursive https://git.opendaylight.org/gerrit/releng/autorelease
+      git clone --recursive https://git.opendaylight.org/gerrit/releng/autorelease
 
 - Checkout autorelease and switch to release branch eg stable/carbon **(Release Engineering Team)**
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
-        git submodule update --init
-        git submodule foreach git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
+      git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
+      git submodule update --init
+      git submodule foreach git checkout -b stable/${BRANCH,,} origin/stable/${BRANCH,,}
 
 - Make sure your git repo is setup to push (use git-review)
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        git review -s
-        git submodule foreach 'git review -s'
+      git review -s
+      git submodule foreach 'git review -s'
 
 - Download patches (\*.bundle files and taglist.log.gz) from log server.
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        mkdir /tmp/patches && cd /tmp/patches
-        wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/all-bundles.tar.gz
-        gunzip all-bundles.tar.gz
-        wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/patches/taglist.log.gz
-        gunzip taglist.log.gz
+      mkdir /tmp/patches && cd /tmp/patches
+      wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/all-bundles.tar.gz
+      gunzip all-bundles.tar.gz
+      wget https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${BRANCH,,}/${BUILDNUM}/archives/patches/taglist.log.gz
+      gunzip taglist.log.gz
 
 - Run the following commands for every project in the release, to apply patches to each project directory.
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        pip install lftools
-        lftools version patch ${RELEASE}
-        git review -y -t ${RELEASE}
-        git push gerrit release/${RELEASE,,}
+      pip install lftools
+      lftools version patch ${RELEASE}
+      git review -y -t ${RELEASE}
+      git push gerrit release/${RELEASE,,}
 
 - Merge all patches on gerrit in the order generated by merge-order.log
 
 - Tag autorelease too
 
-    .. code-block:: bash
+  .. code-block:: bash
 
-        git checkout `cat /tmp/patches/taglist.log | grep autorelease | awk '{print $2}'`
-        git submodule foreach git checkout release/${RELEASE,,}
-        git commit -asSm "Release ${RELEASE}"
-        git tag -asm "OpenDaylight ${RELEASE} release" release/${RELEASE,,}
-        git push gerrit release/${RELEASE,,}
+      git checkout `cat /tmp/patches/taglist.log | grep autorelease | awk '{print $2}'`
+      git submodule foreach git checkout release/${RELEASE,,}
+      git commit -asSm "Release ${RELEASE}"
+      git tag -asm "OpenDaylight ${RELEASE} release" release/${RELEASE,,}
+      git push gerrit release/${RELEASE,,}
 
 - Re-enable submit permissions for registered users and disable elevated RE committer rights on gerrit.