DANM version update 33/633/3
authorSzekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
Wed, 8 May 2019 07:42:41 +0000 (09:42 +0200)
committerSzekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
Thu, 9 May 2019 09:15:18 +0000 (11:15 +0200)
- DANM version changed to 3.3.0

Change-Id: Ia3116acaea993de2b2f9f6d1df4f3cf3ebb6557b
Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
SPECS/caas-danm.spec
SPECS/caas-netwatcher.spec
SPECS/caas-svcwatcher.spec
docker-build/cni-builder/Dockerfile
docker-build/netwatcher/Dockerfile
docker-build/svcwatcher/Dockerfile

index 42ab482..156ad07 100644 (file)
 
 %define COMPONENT danm
 %define RPM_NAME caas-%{COMPONENT}
-%define RPM_MAJOR_VERSION 3.2.0
+%define RPM_MAJOR_VERSION 3.3.0
 %define RPM_MINOR_VERSION 1
+%define DANM_VERSION v%{RPM_MAJOR_VERSION}
 %define CNI_VERSION 0.7.0
-%define DANM_VERSION b48eb154a7f81fcafb0ff9e5b7d3ca6b54e6565a
 %define go_version 1.12.1
 %define SRIOV_VERSION 6b53446e5781570c44e399cccb1fcdfa417f43a1
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
@@ -87,7 +87,7 @@ rsync -av cni-config/flannel.conf %{buildroot}/etc/cni/net.d/flannel.conf
 mkdir -p %{buildroot}/opt/cni/bin/
 # Generic CNI plugins
 # Don't use the standard ipvlan binary \
-# Dont't use portmap, quick fix for CVE-2019-9946 \
+# Don't use portmap, quick fix for CVE-2019-9946 \
 rsync -av \
       --chmod=go+rx,u+rwx \
       --exclude=ipvlan \
index 70f7151..408093d 100644 (file)
@@ -14,9 +14,9 @@
 
 %define COMPONENT netwatcher
 %define RPM_NAME caas-%{COMPONENT}
-%define RPM_MAJOR_VERSION 3.2.0
+%define RPM_MAJOR_VERSION 3.3.0
 %define RPM_MINOR_VERSION 1
-%define DANM_VERSION b48eb154a7f81fcafb0ff9e5b7d3ca6b54e6565a
+%define DANM_VERSION v%{RPM_MAJOR_VERSION}
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 
 Name:           %{RPM_NAME}
index f7a244d..4414f76 100644 (file)
@@ -14,9 +14,9 @@
 
 %define COMPONENT svcwatcher
 %define RPM_NAME caas-%{COMPONENT}
-%define RPM_MAJOR_VERSION 3.2.0
+%define RPM_MAJOR_VERSION 3.3.0
 %define RPM_MINOR_VERSION 1
-%define DANM_VERSION b48eb154a7f81fcafb0ff9e5b7d3ca6b54e6565a
+%define DANM_VERSION v%{RPM_MAJOR_VERSION}
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 
 Name:           %{RPM_NAME}
index d6cb0d7..c00d157 100644 (file)
@@ -49,7 +49,8 @@ RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
 &&  mkdir -p $GOPATH/src/github.com/nokia \
 &&  git clone https://github.com/nokia/danm.git $GOPATH/src/github.com/nokia/danm \
 &&  cd $GOPATH/src/github.com/nokia/danm \
-&&  git checkout ${NETWATCHER_VERSION} \
+&&  git fetch --tags \
+&&  git checkout ${DANM_VERSION} \
 &&  glide install --strip-vendor \
 &&  go get -d github.com/vishvananda/netlink \
 &&  go get github.com/containernetworking/plugins/pkg/ns \
index 45343e6..85168a7 100644 (file)
@@ -34,6 +34,7 @@ RUN apk add --no-cache --virtual .tools ca-certificates gcc musl-dev go glide gi
 &&  mkdir -p $GOPATH/src/github.com/nokia \
 &&  git clone https://github.com/nokia/danm.git $GOPATH/src/github.com/nokia/danm \
 &&  cd $GOPATH/src/github.com/nokia/danm \
+&&  git fetch --tags \
 &&  git checkout ${NETWATCHER_VERSION} \
 &&  glide install --strip-vendor \
 &&  go get -d github.com/vishvananda/netlink \
index aefaae6..03cdc28 100644 (file)
@@ -34,6 +34,7 @@ RUN apk add --no-cache --virtual .tools ca-certificates gcc musl-dev go glide gi
 &&  mkdir -p $GOPATH/src/github.com/nokia \
 &&  git clone https://github.com/nokia/danm.git $GOPATH/src/github.com/nokia/danm \
 &&  cd $GOPATH/src/github.com/nokia/danm \
+&&  git fetch --tags \
 &&  git checkout ${SVCWATCHER_VERSION} \
 &&  glide install --strip-vendor \
 &&  go get -d github.com/vishvananda/netlink \