summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-22 11:02:09 -0500
committertalasila <talasila@research.att.com>2017-02-22 11:02:19 -0500
commitb10edf91b69598626d6d1628d5ab873261118456 (patch)
treef2a14ca29ea054a3fd2fb104244f303756faa005
parent471fcd4192e77aedd29113058507a03f87d2e235 (diff)
release script added
Change-Id: I837c47edd8c06ba4ebd72b17c6a4f36e9c44e2a5 Signed-off-by: talasila <talasila@research.att.com>
-rw-r--r--.idea/workspace.xml61
-rw-r--r--deliveries/os_docker_release.sh18
2 files changed, 56 insertions, 23 deletions
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index dbb74f93..e7aba6c1 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,11 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="9f8fedf4-4e3c-46d3-845e-c0f9aba359d6" name="Default" comment="">
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/etc.zip" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/Apps_Users_OnBoarding_Script.sql" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/dbstart.sh" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/new_start.sh" />
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/new_stop.sh" />
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/deliveries/os_docker_release.sh" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -39,7 +35,7 @@
<entry file="file://$PROJECT_DIR$/deliveries/os_build_febe.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="565">
- <caret line="53" column="0" lean-forward="true" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
+ <caret line="53" column="0" lean-forward="false" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
<folding />
</state>
</provider>
@@ -55,6 +51,16 @@
</provider>
</entry>
</file>
+ <file leaf-file-name="os_docker_release.sh" pinned="false" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/deliveries/os_docker_release.sh">
+ <provider selected="true" editor-type-id="text-editor">
+ <state relative-caret-position="289">
+ <caret line="17" column="17" lean-forward="false" selection-start-line="17" selection-start-column="17" selection-end-line="17" selection-end-column="17" />
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
<file leaf-file-name="createMaria.sh" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/deliveries/createMaria.sh">
<provider selected="true" editor-type-id="text-editor">
@@ -95,11 +101,11 @@
</provider>
</entry>
</file>
- <file leaf-file-name="pom.xml" pinned="false" current-in-tab="true">
+ <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/ecomp-portal-FE/pom.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
- <caret line="13" column="89" lean-forward="true" selection-start-line="13" selection-start-column="16" selection-end-line="13" selection-end-column="89" />
+ <caret line="13" column="89" lean-forward="false" selection-start-line="13" selection-start-column="16" selection-end-line="13" selection-end-column="89" />
<folding />
</state>
</provider>
@@ -142,14 +148,15 @@
<option value="$PROJECT_DIR$/deliveries/run.sh" />
<option value="$PROJECT_DIR$/deliveries/os_build_febe.sh" />
<option value="$PROJECT_DIR$/deliveries/os_docker_push.sh" />
+ <option value="$PROJECT_DIR$/deliveries/os_docker_release.sh" />
</list>
</option>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="-8" />
<option name="y" value="-8" />
- <option name="width" value="1936" />
- <option name="height" value="1056" />
+ <option name="width" value="1616" />
+ <option name="height" value="1176" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
@@ -488,7 +495,7 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
+ <frame x="-8" y="-8" width="1616" height="1176" extended-state="6" />
<editor active="false" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@@ -503,10 +510,10 @@
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.29144096" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+ <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25790986" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.26599148" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3206941" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="BPMNPalette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
@@ -863,14 +870,6 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/project.config" />
- <entry file="file://$PROJECT_DIR$/deliveries/os_docker_push.sh">
- <provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="34">
- <caret line="2" column="8" lean-forward="false" selection-start-line="2" selection-start-column="8" selection-end-line="2" selection-end-column="8" />
- <folding />
- </state>
- </provider>
- </entry>
<entry file="file://$PROJECT_DIR$/deliveries/run.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
@@ -882,7 +881,7 @@
<entry file="file://$PROJECT_DIR$/deliveries/os_build_febe.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="565">
- <caret line="53" column="0" lean-forward="true" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
+ <caret line="53" column="0" lean-forward="false" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
<folding />
</state>
</provider>
@@ -898,7 +897,23 @@
<entry file="file://$PROJECT_DIR$/ecomp-portal-FE/pom.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
- <caret line="13" column="89" lean-forward="true" selection-start-line="13" selection-start-column="16" selection-end-line="13" selection-end-column="89" />
+ <caret line="13" column="89" lean-forward="false" selection-start-line="13" selection-start-column="16" selection-end-line="13" selection-end-column="89" />
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/deliveries/os_docker_push.sh">
+ <provider selected="true" editor-type-id="text-editor">
+ <state relative-caret-position="34">
+ <caret line="2" column="8" lean-forward="false" selection-start-line="2" selection-start-column="8" selection-end-line="2" selection-end-column="8" />
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/deliveries/os_docker_release.sh">
+ <provider selected="true" editor-type-id="text-editor">
+ <state relative-caret-position="289">
+ <caret line="17" column="17" lean-forward="false" selection-start-line="17" selection-start-column="17" selection-end-line="17" selection-end-column="17" />
<folding />
</state>
</provider>
diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh
new file mode 100644
index 00000000..6bcbfb66
--- /dev/null
+++ b/deliveries/os_docker_release.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+./run.sh
+
+REPO="nexus3.openecomp.org:10002"
+
+APPS="${REPO}/openecomp/portalapps:1.0.0"
+DB="${REPO}/openecomp/portaldb:1.0.0"
+
+# docker login nexus3.openecomp.org:10002
+
+# tag
+docker tag ep:1610-1 ${APPS}
+docker tag ecompdb:portal ${DB}
+
+# push
+docker push ${APPS}
+docker push ${DB} \ No newline at end of file