Upgrade to RMR library version 3.8.0 84/3384/5
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 22 Apr 2020 13:05:32 +0000 (09:05 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 22 Apr 2020 14:08:19 +0000 (10:08 -0400)
Pull shared object file from new Alpine3 bldr image in release registry
Bump version to 2.1.7

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

Dockerfile [changed mode: 0755->0644]
Dockerfile-Unit-Test
docs/release-notes.rst
integration_tests/install_rmr.sh
integration_tests/testxappcode/Dockerfile-delay-receiver
integration_tests/testxappcode/Dockerfile-query-receiver
integration_tests/testxappcode/Dockerfile-test-receiver
rmr-version.yaml
setup.py

old mode 100755 (executable)
new mode 100644 (file)
index 6a57a7e..bd18fe7
@@ -39,8 +39,8 @@ FROM python:3.8-alpine
 RUN mkdir -p /opt/route/
 # python copy; this basically makes the 2 stage python build work
 COPY --from=compile-image /home/a1user/.local /home/a1user/.local
-# copy rmr .so from the builder image
-COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:5-a3.11-nng-rmr3 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
+# 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
 # Switch to a non-root user for security reasons. a1 does not currently write into any dirs so no chowns are needed at this time.
 RUN addgroup -S a1user && adduser -S -G a1user a1user
 USER a1user
index 943a98e..097d4f3 100644 (file)
@@ -16,8 +16,8 @@
 # ==================================================================================
 FROM python:3.8-alpine
 
-# copy rmr .so from the builder image
-COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:5-a3.11-nng-rmr3 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
+# 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
 
 # dir that rmr routing file temp goes into
 RUN mkdir -p /opt/route/
index c153413..509a6e3 100644 (file)
@@ -14,6 +14,11 @@ and this project adheres to `Semantic Versioning <http://semver.org/>`__.
    :depth: 3
    :local:
 
+[2.1.7] - 2020-04-22
+--------------------
+
+* Switch to rmr 3.8.0
+
 [2.1.6] - 4/7/2020
 -------------------
 ::
index 1d26594..95f6beb 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-git clone --branch 3.6.3 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
+git clone --branch 3.8.0 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
     && cd rmr \
     && mkdir .build; cd .build \
     && echo "<<<installing rmr devel headers>>>" \
index 03725a1..486a9db 100644 (file)
@@ -32,7 +32,10 @@ RUN go build -a -installsuffix cgo -o receiver receiver.go
 
 # 2nd stage
 FROM alpine:3.11
-COPY --from=0 /usr/local/lib64/librmr_si.so* /usr/local/lib64/
+
+# 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 --from=0 /go/myxapp/receiver .
 COPY delay-config-file.yaml .
 
index e45b15a..a0dd473 100644 (file)
@@ -32,7 +32,10 @@ RUN go build -a -installsuffix cgo -o receiver receiver.go
 
 # 2nd stage
 FROM alpine:3.11
-COPY --from=0 /usr/local/lib64/librmr_si.so* /usr/local/lib64/
+
+# 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 --from=0 /go/myxapp/receiver .
 COPY query-config-file.yaml .
 
index 3b9cc3d..5bfd12e 100644 (file)
@@ -32,7 +32,10 @@ RUN go build -a -installsuffix cgo -o receiver receiver.go
 
 # 2nd stage
 FROM alpine:3.11
-COPY --from=0 /usr/local/lib64/librmr_si.so* /usr/local/lib64/
+
+# 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 --from=0 /go/myxapp/receiver .
 COPY test-config-file.yaml .
 
index 2d82c45..7f7e478 100644 (file)
@@ -1,3 +1,3 @@
 # CI script installs RMR from PackageCloud using this version
 ---
-version: 3.6.3
+version: 3.8.0
index 67e2765..93728b2 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
 
 setup(
     name="a1",
-    version="2.1.6",
+    version="2.1.7",
     packages=find_packages(exclude=["tests.*", "tests"]),
     author="Tommy Carpenter",
     description="RIC A1 Mediator for policy/intent changes",