Add sdlcli -tool for troubleshooting SDL and Database problems 40/6940/1
authorPetri Ovaska <petri.ovaska@nokia.com>
Tue, 26 Oct 2021 13:27:11 +0000 (16:27 +0300)
committerPetri Ovaska <petri.ovaska@nokia.com>
Tue, 26 Oct 2021 13:31:19 +0000 (16:31 +0300)
Added 'sdlcli' -command line tool for troubleshooting SDL and
Database problems.

Issue-Id: RIC-113
          DB: SDL CLI for debugging and testing

Change-Id: I749b92256490d22f3728b2aaa00d9fe16f053ad7
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
container-tag.yaml
docker/Dockerfile.redis
docs/release-notes.rst

index e5cc37b..c04eea9 100644 (file)
@@ -2,4 +2,4 @@
 # This file is expected to be in the docker build directory;
 # can be moved with suitable JJB configuration.
 ---
-tag: '0.5.3'
+tag: '0.5.4'
index bf13ec4..044644c 100644 (file)
@@ -70,6 +70,11 @@ RUN ./autogen.sh && \
     make test && \
     make install
 
+# Build sdlcli -tool
+RUN cd /go/src && \
+    git clone "https://gerrit.o-ran-sc.org/r/ric-plt/sdlgo" && \
+    cd sdlgo && \
+    go build -v -o /usr/local/bin/sdlcli cmd/sdlcli/main.go
 
 FROM redis:5.0.9-alpine3.11 as build
 
@@ -81,4 +86,5 @@ RUN apk --update add --upgrade --no-cache \
     busybox
 
 COPY --from=build-env /usr/local/libexec/redismodule/libredismodule.so /usr/local/libexec/redismodule/libredismodule.so
+COPY --from=build-env /usr/local/bin/sdlcli /usr/local/bin/
 WORKDIR /data
index 23da65d..fd3a193 100644 (file)
@@ -30,6 +30,10 @@ This document provides the release notes of the dbaas.
 Version history
 ---------------
 
+[0.5.4] - 2021-10-26
+
+* Add sdlcli -tool for troubleshooting SDL and Database problems
+
 [0.5.3] - 2021-08-26
 
 * Upgrade apk-tools to fix security vulnerabilities CVE-2021-36159 and CVE-2021-30139.