Commit 868eb55e authored by kavinduchamiran's avatar kavinduchamiran

v9

parent 2d39e5b9
......@@ -15,7 +15,7 @@ docker_build:
only:
- cloudl-server
- cloudl-client
# - cloudl-client
script:
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
......
......@@ -2,10 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="551482e6-244f-4c3b-88fb-c0b9773ab236" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/k8s/deploy.sh" afterDir="false" />
<change afterPath="$PROJECT_DIR$/k8s/undeploy.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitlab-ci.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.gitlab-ci.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" />
......@@ -18,11 +15,11 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Dockerfile">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" selection-start-line="27" selection-end-line="27" />
<caret line="27" column="24" selection-start-line="27" selection-start-column="24" selection-end-line="27" selection-end-column="24" />
</state>
</provider>
</entry>
......@@ -36,10 +33,10 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="109">
<state relative-caret-position="58">
<caret line="23" column="62" selection-start-line="23" selection-start-column="62" selection-end-line="23" selection-end-column="62" />
</state>
</provider>
......@@ -129,7 +126,6 @@
<option value="$PROJECT_DIR$/public/index.html" />
<option value="$PROJECT_DIR$/package.json" />
<option value="$PROJECT_DIR$/env.sh" />
<option value="$PROJECT_DIR$/Dockerfile" />
<option value="$PROJECT_DIR$/src/utils/webSocket.js" />
<option value="$PROJECT_DIR$/src/actions/authActions.js" />
<option value="$PROJECT_DIR$/src/actions/authActions.js" />
......@@ -140,6 +136,7 @@
<option value="$PROJECT_DIR$/k8s/undeploy.sh" />
<option value="$PROJECT_DIR$/k8s/deploy.sh" />
<option value="$PROJECT_DIR$/.gitlab-ci.yml" />
<option value="$PROJECT_DIR$/Dockerfile" />
</list>
</option>
</component>
......@@ -195,7 +192,7 @@
</list>
</option>
</component>
<component name="RunManager" selected="Docker.cloudl-client/Dockerfile">
<component name="RunManager" selected="Bash.undeploy.sh">
<configuration name="env.sh" type="BashConfigurationType" factoryName="Bash" temporary="true">
<module name="cloudl-client" />
<option name="INTERPRETER_OPTIONS" value="bash" />
......@@ -207,6 +204,17 @@
<option name="PARAMETERS" value="" />
<method v="2" />
</configuration>
<configuration name="undeploy.sh" type="BashConfigurationType" factoryName="Bash" temporary="true">
<module name="cloudl-client" />
<option name="INTERPRETER_OPTIONS" value="bash" />
<option name="INTERPRETER_PATH" value="/usr/bin/env" />
<option name="PROJECT_INTERPRETER" value="false" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/k8s" />
<option name="PARENT_ENVS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/k8s/undeploy.sh" />
<option name="PARAMETERS" value="" />
<method v="2" />
</configuration>
<configuration name="Debug Application" type="JavascriptDebugType" uri="http://localhost:3000">
<method v="2" />
</configuration>
......@@ -240,9 +248,11 @@
<item itemvalue="Docker.cloudl-client/Dockerfile" />
<item itemvalue="JavaScript Debug.Debug Application" />
<item itemvalue="npm.npm start" />
<item itemvalue="Bash.undeploy.sh" />
</list>
<recent_temporary>
<list>
<item itemvalue="Bash.undeploy.sh" />
<item itemvalue="Bash.env.sh" />
</list>
</recent_temporary>
......@@ -268,12 +278,12 @@
<workItem from="1567911514938" duration="3997000" />
<workItem from="1568091114247" duration="25000" />
<workItem from="1568091711255" duration="548000" />
<workItem from="1568093890915" duration="7656000" />
<workItem from="1568093890915" duration="8225000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="80456000" />
<option name="totallyTimeSpent" value="81025000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1680" height="1050" extended-state="0" />
......@@ -568,13 +578,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Dockerfile">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" selection-start-line="27" selection-end-line="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.dockerignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
......@@ -610,6 +613,13 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/k8s/deploy.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="1" selection-start-line="1" selection-end-line="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/k8s/cloudl-client-deployment.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="195">
......@@ -617,17 +627,17 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/k8s/deploy.sh">
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="1" selection-start-line="1" selection-end-line="1" />
<state relative-caret-position="58">
<caret line="23" column="62" selection-start-line="23" selection-start-column="62" selection-end-line="23" selection-end-column="62" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitlab-ci.yml">
<entry file="file://$PROJECT_DIR$/Dockerfile">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="109">
<caret line="23" column="62" selection-start-line="23" selection-start-column="62" selection-end-line="23" selection-end-column="62" />
<state relative-caret-position="405">
<caret line="27" column="24" selection-start-line="27" selection-start-column="24" selection-end-line="27" selection-end-column="24" />
</state>
</provider>
</entry>
......
......@@ -25,4 +25,4 @@ COPY nginx/nginx.conf /etc/nginx/conf.d
EXPOSE 80
# Start Nginx server
CMD ["nginx -g \"daemon off;\""]
\ No newline at end of file
CMD ["/bin/bash", "-c", "nginx -g \"daemon off;\""]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment