summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2017-09-10 18:50:54 +0300
committerIdan Amit <ia096e@intl.att.com>2017-09-10 18:54:22 +0300
commit22a0eef6eae8db2f0dde94f808193b8f9d2d5d97 (patch)
tree178696f42064aaa8b2423c5723b8c5ae521e425d
parentc044432ad9ec68554b12500f6ab1586f92f4d109 (diff)
Fix sdc-docker-base to also build
cassandra base image Change-Id: Ibe39fda2bbe9038c7a0b9fdd075b96753e47f616 Issue-Id: SDC-304 Signed-off-by: Idan Amit <ia096e@intl.att.com>
-rw-r--r--.gitreview4
-rw-r--r--pom.xml4
-rw-r--r--version.properties13
3 files changed, 19 insertions, 2 deletions
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..900b7c5
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,4 @@
+[gerrit]
+host=gerrit.onap.org
+port=29418
+project=sdc/sdc-docker-base.git \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c0b405d..1f5a8ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,7 @@
</goals>
<configuration>
<removeAll>true</removeAll>
- <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-sanity</image>
+ <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-cassandra,openecomp/base_sdc-sanity</image>
</configuration>
</execution>
@@ -152,7 +152,7 @@
<goal>push</goal>
</goals>
<configuration>
- <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-sanity</image>
+ <image>openecomp/base_sdc-backend,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-cassandra,openecomp/base_sdc-sanity</image>
</configuration>
</execution>
</executions>
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..bf3f0bf
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,13 @@
+###########################################################
+# Versioning variables
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
+# because they are used in Jenkins, whose plug-in doesn't support
+
+major=1
+minor=0
+patch=0
+
+base_version=${major}.${minor}.${patch}
+
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT