summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver
diff options
context:
space:
mode:
Diffstat (limited to 'zte/sfc-driver')
-rw-r--r--zte/sfc-driver/plugin-standalone/src/main/assembly/docker/Dockerfile2
-rwxr-xr-xzte/sfc-driver/plugin-standalone/src/main/assembly/docker/build_image.sh12
-rw-r--r--zte/sfc-driver/sfc-driver/dependency-reduced-pom.xml4
-rw-r--r--zte/sfc-driver/version.properties2
4 files changed, 10 insertions, 10 deletions
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/Dockerfile b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/Dockerfile
index e0c26f6..69a2ca8 100644
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/Dockerfile
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/Dockerfile
@@ -12,7 +12,7 @@ ADD . /service
WORKDIR /service
# get binary zip from nexus
-RUN wget -q -O vfc-sfcdriver-zte.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.sfc.zte.sfc-driver-standalone&a=vfc-nfvo-driver-sfc-zte-sfc-driver&v=LATEST&e=zip' && \
+RUN wget -q -O vfc-sfcdriver-zte.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.sfc.zte.sfc-driver-standalone&a=vfc-nfvo-driver-sfc-zte-sfc-driver&v=1.0.1&e=zip' && \
unzip vfc-sfcdriver-zte.zip && \
rm -rf vfc-sfcdriver-zte.zip
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/build_image.sh b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/build_image.sh
index 97b9efe..426d02e 100755
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/build_image.sh
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/build_image.sh
@@ -6,7 +6,7 @@ cd ${DOCKER_BUILD_DIR}
BUILD_ARGS="--no-cache"
ORG="onap"
-VERSION="1.0.0"
+VERSION="1.0.1"
PROJECT="vfc"
IMAGE="ztesdncdriver"
DOCKER_REPOSITORY="nexus3.onap.org:10003"
@@ -21,20 +21,20 @@ if [ $HTTPS_PROXY ]; then
fi
function build_image {
- echo "Start build docker image: ${IMAGE_NAME}"
- docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:latest .
+ echo "Start build docker image: ${IMAGE_NAME}:${VERSION}-latest"
+ docker build ${BUILD_ARGS} -t ${IMAGE_NAME}:${VERSION}-latest .
}
function push_image_tag {
TAG_NAME=$1
echo "Start push ${TAG_NAME}"
- docker tag ${IMAGE_NAME}:latest ${TAG_NAME}
+ docker tag ${IMAGE_NAME}:${VERSION}-latest ${TAG_NAME}
docker push ${TAG_NAME}
}
function push_image {
- echo "Start push ${IMAGE_NAME}:latest"
- docker push ${IMAGE_NAME}:latest
+ echo "Start push ${IMAGE_NAME}:${VERSION}-latest"
+ docker push ${IMAGE_NAME}:${VERSION}-latest
push_image_tag ${IMAGE_NAME}:${VERSION}-SNAPSHOT-latest
push_image_tag ${IMAGE_NAME}:${VERSION}-STAGING-latest
diff --git a/zte/sfc-driver/sfc-driver/dependency-reduced-pom.xml b/zte/sfc-driver/sfc-driver/dependency-reduced-pom.xml
index c8c7bc8..fa8d649 100644
--- a/zte/sfc-driver/sfc-driver/dependency-reduced-pom.xml
+++ b/zte/sfc-driver/sfc-driver/dependency-reduced-pom.xml
@@ -22,13 +22,13 @@
<parent>
<artifactId>sfc-driver-parent</artifactId>
<groupId>org.onap.vfc.nfvo.driver.sfc</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.nfvo.sfc.components.sfc-driver</groupId>
<artifactId>sfc-driver</artifactId>
<name>sdno/20.components/sfc-driver</name>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
diff --git a/zte/sfc-driver/version.properties b/zte/sfc-driver/version.properties
index 5128787..266427f 100644
--- a/zte/sfc-driver/version.properties
+++ b/zte/sfc-driver/version.properties
@@ -4,7 +4,7 @@
major=1
minor=0
-patch=0
+patch=1
base_version=${major}.${minor}.${patch}