Authored by jimi.ji

docker

... ... @@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="73f1c4c4-a4e0-4e72-aa1b-7be1b346abcf" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Docker-Image-Deplopy/qcloud/qcloud.sh" afterPath="$PROJECT_DIR$/Docker-Image-Deplopy/qcloud/qcloud.sh" />
</list>
<ignored path="$PROJECT_DIR$/out/" />
... ... @@ -52,8 +51,8 @@
<file leaf-file-name="qcloud.sh" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Docker-Image-Deplopy/qcloud/qcloud.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="243">
<caret line="9" column="21" lean-forward="true" selection-start-line="9" selection-start-column="21" selection-end-line="9" selection-end-column="21" />
<state relative-caret-position="54">
<caret line="11" column="130" lean-forward="false" selection-start-line="11" selection-start-column="130" selection-end-line="11" selection-end-column="130" />
<folding />
</state>
</provider>
... ... @@ -609,12 +608,12 @@
<updated>1545890692513</updated>
<workItem from="1545890694011" duration="11746000" />
<workItem from="1545905663805" duration="1370000" />
<workItem from="1545965888175" duration="13575000" />
<workItem from="1545965888175" duration="14118000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="26691000" />
<option name="totallyTimeSpent" value="27234000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
... ... @@ -797,8 +796,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/Docker-Image-Deplopy/qcloud/qcloud.sh">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="243">
<caret line="9" column="21" lean-forward="true" selection-start-line="9" selection-start-column="21" selection-end-line="9" selection-end-column="21" />
<state relative-caret-position="54">
<caret line="11" column="130" lean-forward="false" selection-start-line="11" selection-start-column="130" selection-end-line="11" selection-end-column="130" />
<folding />
</state>
</provider>
... ...
... ... @@ -9,6 +9,10 @@ serviceName=$2
containerName=$3
imageInfo="ccr.ccs.tencentyun.com/$4"
if [[ "$clusterInfo" == "system-yoho-media"]] || [[ "$clusterInfo" == "system-yoho-ops"]] || [[ "$clusterInfo" == "system-yoho-web"]] ||[[ "$clusterInfo" == "system-yoho-web-gray"]];then
exit 1
fi
## 切换当前的工作空间
/usr/local/bin/kubectl config use-context $clusterInfo
... ...