Upgrade to RMR version 4.0.2 32/3532/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 29 Apr 2020 13:58:37 +0000 (09:58 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 29 Apr 2020 14:08:20 +0000 (10:08 -0400)
Bump version to 1.0.3 and add release notes
Add developer guide with guidance on bumping the version

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: If2fd64c1791c549c674c0779d58d2ac0d4cf1f72

.gitignore
Dockerfile-Unit-Test
docs/developer-guide.rst [new file with mode: 0644]
docs/index.rst
docs/release-notes.rst
examples/Dockerfile-Ping
examples/Dockerfile-Pong
rmr-version.yaml
setup.py

index 8564645..ca538b8 100644 (file)
@@ -109,3 +109,7 @@ ENV/
 # Test report
 xunit-reports
 coverage-reports
+
+# Eclipse
+.project
+.settings/
index d509c18..e3aa77f 100644 (file)
@@ -19,8 +19,8 @@ FROM python:3.8-alpine
 # sdl uses hiredis which needs gcc
 RUN apk update && apk add gcc musl-dev
 
-# copy rmr .so from builder image in lieu of an Alpine package
-COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
+# copy rmr libraries from builder image in lieu of an Alpine package
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.2 /usr/local/lib64/librmr* /usr/local/lib64/
 
 # Upgrade pip, install tox
 RUN pip install --upgrade pip && pip install tox
diff --git a/docs/developer-guide.rst b/docs/developer-guide.rst
new file mode 100644 (file)
index 0000000..85a3cfd
--- /dev/null
@@ -0,0 +1,37 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+Developer Guide
+===============
+
+.. contents::
+   :depth: 3
+   :local:
+
+Version bumping the framework
+-----------------------------
+
+This project follows semver. When changes are made, the versions are in:
+
+1) ``docs/release-notes.rst``
+
+2) ``setup.py``
+
+Version bumping RMR
+-------------------
+
+These items in this repo must be kept in sync:
+* Dockerfile-Unit-Test
+* examples/Dockerfile-Ping
+* examples/Dockerfile-Pong
+* ``rmr-version.yaml`` controls what rmr gets installed for unit testing in Jenkins
+
+
+Unit Testing
+------------
+
+You can run the unit tests in Docker to avoid installing RMR locally:
+
+::
+
+   docker build -f Dockerfile-Unit-Test .
index 41d6630..09912b9 100644 (file)
@@ -13,6 +13,7 @@ xApp Python Framework
    installation-guide.rst
    overview.rst
    rmr_api.rst
+   developer-guide.rst
    release-notes.rst
 
 * :ref:`genindex`
index 79cc239..3ae4794 100644 (file)
@@ -14,6 +14,11 @@ and this project adheres to `Semantic Versioning <http://semver.org/>`__.
    :depth: 3
    :local:
 
+[1.0.3] - 2020-04-29
+--------------------
+* Upgrade to RMR version 4.0.2
+
+
 [1.0.2] - 2020-04-22
 --------------------
 * Upgrade to RMR version 3.8.0
index 2eac495..acb32b8 100644 (file)
 # ==================================================================================
 FROM python:3.8-alpine
 
+# copy rmr libraries from builder image in lieu of an Alpine package
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.2 /usr/local/lib64/librmr* /usr/local/lib64/
 # RMR setup
 RUN mkdir -p /opt/route/
 COPY test_route.rt /opt/route/test_route.rt
-# copy rmr .so from builder image in lieu of an Alpine package
-COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
 ENV LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64
 ENV RMR_SEED_RT /opt/route/test_route.rt
 
index 4dfe71d..03d768a 100644 (file)
 # ==================================================================================
 FROM python:3.8-alpine
 
+# copy rmr libraries from builder image in lieu of an Alpine package
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.2 /usr/local/lib64/librmr* /usr/local/lib64/
 # RMR setup
 RUN mkdir -p /opt/route/
 COPY test_route.rt /opt/route/test_route.rt
-# copy rmr .so from builder image in lieu of an Alpine package
-COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
 ENV LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64
 ENV RMR_SEED_RT /opt/route/test_route.rt
 
index 2d82c45..48cb15e 100644 (file)
@@ -1,3 +1,3 @@
 # CI script installs RMR from PackageCloud using this version
 ---
-version: 3.6.3
+version: 4.0.2
index e764a2e..85e017f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ def _long_descr():
 
 setup(
     name="ricxappframe",
-    version="1.0.2",
+    version="1.0.3",
     packages=find_packages(exclude=["tests.*", "tests"]),
     author="Tommy Carpenter, E. Scott Daniels",
     description="Xapp and RMR framework for python",