From 8b416f09c290e434ca42c69edd894a4fb8b91db1 Mon Sep 17 00:00:00 2001 From: Petri Ovaska Date: Tue, 26 Oct 2021 16:27:11 +0300 Subject: [PATCH] Add sdlcli -tool for troubleshooting SDL and Database problems 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 --- container-tag.yaml | 2 +- docker/Dockerfile.redis | 6 ++++++ docs/release-notes.rst | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/container-tag.yaml b/container-tag.yaml index e5cc37b..c04eea9 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -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' diff --git a/docker/Dockerfile.redis b/docker/Dockerfile.redis index bf13ec4..044644c 100644 --- a/docker/Dockerfile.redis +++ b/docker/Dockerfile.redis @@ -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 diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 23da65d..fd3a193 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -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. -- 2.16.6