Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
mentha
Commits
426509f4
Commit
426509f4
authored
Dec 11, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Plain Diff
修改dbmw
parents
19d0b9bd
b9b4da04
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
90 additions
and
6 deletions
+90
-6
Project.xml
.idea/codeStyles/Project.xml
+29
-0
lxrent.xml
.idea/dictionaries/lxrent.xml
+4
-0
misc.xml
.idea/misc.xml
+8
-0
workspace.xml
.idea/workspace.xml
+43
-0
Dockerfile
Dockerfile
+4
-4
Jenkinsfile
Jenkinsfile
+1
-1
log_settings.py
settings/log_settings.py
+1
-1
No files found.
.idea/codeStyles/Project.xml
0 → 100644
View file @
426509f4
<component
name=
"ProjectCodeStyleConfiguration"
>
<code_scheme
name=
"Project"
version=
"173"
>
<DBN-PSQL>
<case-options
enabled=
"false"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
/>
</DBN-PSQL>
<DBN-SQL>
<case-options
enabled=
"false"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
>
<option
name=
"STATEMENT_SPACING"
value=
"one_line"
/>
<option
name=
"CLAUSE_CHOP_DOWN"
value=
"chop_down_if_statement_long"
/>
<option
name=
"ITERATION_ELEMENTS_WRAPPING"
value=
"chop_down_if_not_single"
/>
</formatting-settings>
</DBN-SQL>
</code_scheme>
</component>
\ No newline at end of file
.idea/dictionaries/lxrent.xml
0 → 100644
View file @
426509f4
<component
name=
"ProjectDictionaryState"
>
<dictionary
name=
"lxrent"
/>
</component>
\ No newline at end of file
.idea/misc.xml
0 → 100644
View file @
426509f4
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 2.7 (gaia_env)"
project-jdk-type=
"Python SDK"
/>
<component
name=
"PyCharmProfessionalAdvertiser"
>
<option
name=
"shown"
value=
"true"
/>
</component>
</project>
\ No newline at end of file
.idea/workspace.xml
View file @
426509f4
...
@@ -18,13 +18,18 @@
...
@@ -18,13 +18,18 @@
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.open"
>
<usages-collector
id=
"statistics.file.extensions.open"
>
<counts>
<counts>
<<<<<<
< HEAD
<entry
key=
"py"
value=
"9"
/>
<entry
key=
"py"
value=
"9"
/>
=======
<entry
key=
"py"
value=
"7"
/>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<entry
key=
"template"
value=
"1"
/>
<entry
key=
"template"
value=
"1"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.types.open"
>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"1"
/>
<entry
key=
"PLAIN_TEXT"
value=
"1"
/>
<<<<<<
< HEAD
<entry
key=
"Python"
value=
"9"
/>
<entry
key=
"Python"
value=
"9"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
...
@@ -36,17 +41,27 @@
...
@@ -36,17 +41,27 @@
<usages-collector
id=
"statistics.file.types.edit"
>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<counts>
<entry
key=
"Python"
value=
"6"
/>
<entry
key=
"Python"
value=
"6"
/>
=======
<entry
key=
"Python"
value=
"7"
/>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf>
<<<<<<
< HEAD
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/data_sync/tasks.py"
>
<entry
file=
"file://$PROJECT_DIR$/data_sync/tasks.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"17"
column=
"12"
selection-start-line=
"17"
selection-start-column=
"12"
selection-end-line=
"17"
selection-end-column=
"12"
/>
<caret
line=
"17"
column=
"12"
selection-start-line=
"17"
selection-start-column=
"12"
selection-end-line=
"17"
selection-end-column=
"12"
/>
=======
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/data_sync/tasks.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<folding>
<folding>
<element
signature=
"e#852#2790#0"
/>
<element
signature=
"e#852#2790#0"
/>
</folding>
</folding>
...
@@ -54,6 +69,7 @@
...
@@ -54,6 +69,7 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<<<<<<
< HEAD
<file
pinned=
"false"
current-in-tab=
"false"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/settings/log_settings.py"
>
<entry
file=
"file://$PROJECT_DIR$/settings/log_settings.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
@@ -72,6 +88,8 @@
...
@@ -72,6 +88,8 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
=======
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
</leaf>
</leaf>
</component>
</component>
<component
name=
"FindInProjectRecents"
>
<component
name=
"FindInProjectRecents"
>
...
@@ -84,6 +102,7 @@
...
@@ -84,6 +102,7 @@
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
<option
name=
"RECENT_GIT_ROOT_PATH"
value=
"$PROJECT_DIR$"
/>
</component>
</component>
<<<<<<
< HEAD
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
...
@@ -94,6 +113,11 @@
...
@@ -94,6 +113,11 @@
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"-323"
/>
<option
name=
"x"
value=
"-323"
/>
<option
name=
"y"
value=
"-1080"
/>
<option
name=
"y"
value=
"-1080"
/>
=======
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"201"
/>
<option
name=
"y"
value=
"-979"
/>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<option
name=
"width"
value=
"1920"
/>
<option
name=
"width"
value=
"1920"
/>
<option
name=
"height"
value=
"1080"
/>
<option
name=
"height"
value=
"1080"
/>
</component>
</component>
...
@@ -178,7 +202,11 @@
...
@@ -178,7 +202,11 @@
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
/>
<<<<<<
< HEAD
<window_info
anchor=
"bottom"
id=
"Terminal"
visible=
"true"
weight=
"0.0"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
visible=
"true"
weight=
"0.0"
/>
=======
<window_info
anchor=
"bottom"
id=
"Terminal"
visible=
"true"
weight=
"0.2134715"
/>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<window_info
anchor=
"bottom"
id=
"Event Log"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
/>
...
@@ -196,6 +224,14 @@
...
@@ -196,6 +224,14 @@
<option
name=
"myLimit"
value=
"2678400000"
/>
<option
name=
"myLimit"
value=
"2678400000"
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<<<<<<
< HEAD
=======
<entry
file=
"file://$PROJECT_DIR$/settings/log_settings.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-570"
/>
</provider>
</entry>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<entry
file=
"file://$PROJECT_DIR$/settings/settings.py"
>
<entry
file=
"file://$PROJECT_DIR$/settings/settings.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<state>
...
@@ -232,14 +268,19 @@
...
@@ -232,14 +268,19 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/data_sync/tasks.py"
>
<entry
file=
"file://$PROJECT_DIR$/data_sync/tasks.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<<<<<<
< HEAD
<state
relative-caret-position=
"60"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"17"
column=
"12"
selection-start-line=
"17"
selection-start-column=
"12"
selection-end-line=
"17"
selection-end-column=
"12"
/>
<caret
line=
"17"
column=
"12"
selection-start-line=
"17"
selection-start-column=
"12"
selection-end-line=
"17"
selection-end-column=
"12"
/>
=======
<state>
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
<folding>
<folding>
<element
signature=
"e#852#2790#0"
/>
<element
signature=
"e#852#2790#0"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<<<<<<
< HEAD
<entry
file=
"file://$PROJECT_DIR$/settings/log_settings.py"
>
<entry
file=
"file://$PROJECT_DIR$/settings/log_settings.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"45"
>
<state
relative-caret-position=
"45"
>
...
@@ -254,6 +295,8 @@
...
@@ -254,6 +295,8 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
=======
>>>>>>> b9b4da04a2baa11115fe28e6eb66b86a7c570ba6
</component>
</component>
<component
name=
"masterDetails"
>
<component
name=
"masterDetails"
>
<states>
<states>
...
...
Dockerfile
View file @
426509f4
...
@@ -43,13 +43,13 @@ RUN apk add --no-cache --virtual .build-deps \
...
@@ -43,13 +43,13 @@ RUN apk add --no-cache --virtual .build-deps \
&& apk add --no-cache mariadb-connector-c-dev libxml2-dev libxslt-dev librdkafka-dev \
&& apk add --no-cache mariadb-connector-c-dev libxml2-dev libxslt-dev librdkafka-dev \
&& pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \
&& pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \
&& mkdir -p /tmp/video_convert \
&& mkdir -p /tmp/video_convert \
&& mkdir -p /data/log/m
imas
/app
&& mkdir -p /data/log/m
entha
/app
ENV
GM_RPCD_DEPLOY_CONF_PATH "/srv/apps/m
imas
/deploy_prod.xml"
ENV
GM_RPCD_DEPLOY_CONF_PATH "/srv/apps/m
entha
/deploy_prod.xml"
COPY
. /srv/apps/m
imas
/
COPY
. /srv/apps/m
entha
/
WORKDIR
/srv/apps/m
imas
/
WORKDIR
/srv/apps/m
entha
/
RUN
cat
requirements.txt |
grep
master
>
/tmp/gm-requirements.txt
\
RUN
cat
requirements.txt |
grep
master
>
/tmp/gm-requirements.txt
\
&&
pip
install
--no-deps
--upgrade
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
/tmp/gm-requirements.txt
\
&&
pip
install
--no-deps
--upgrade
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
/tmp/gm-requirements.txt
\
...
...
Jenkinsfile
View file @
426509f4
...
@@ -20,7 +20,7 @@ pipeline {
...
@@ -20,7 +20,7 @@ pipeline {
// Image Tag branch.time.hash
// Image Tag branch.time.hash
TAG
=
dockerTag
()
TAG
=
dockerTag
()
// Image Full Tag
// Image Full Tag
IMAGE
=
"${DOCKER_REGISTRY}/gm-backend/m
imas
:$TAG"
IMAGE
=
"${DOCKER_REGISTRY}/gm-backend/m
entha
:$TAG"
}
}
stages
{
stages
{
...
...
settings/log_settings.py
View file @
426509f4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
import
os
import
os
import
logging
import
logging
LOG_DIR
=
'/data/log/m
imas
/app/'
LOG_DIR
=
'/data/log/m
entha
/app/'
logging
.
basicConfig
(
logging
.
basicConfig
(
level
=
logging
.
INFO
,
level
=
logging
.
INFO
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment