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
9e05ed77
Commit
9e05ed77
authored
Mar 02, 2021
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
name
parent
d05197e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Dockerfile
Dockerfile
+2
-1
tag.py
talos/services/tag.py
+4
-1
No files found.
Dockerfile
View file @
9e05ed77
...
...
@@ -52,7 +52,8 @@ COPY . /srv/apps/mentha/
WORKDIR
/srv/apps/mentha/
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
\
&&
pip
install
--no-deps
--upgrade
-i
https://pypi-1609228582764:0ca4878446d984cb4d8046f980ea0bfadffec639@gengmei-pypi.pkg.coding.net/tob/pypi/simple
-r
/tmp/gm-requirements.txt
\
&&
apk del .build-deps
CMD
gunicorn gm_rpcd.wsgi:application -w 5 -k gevent -b 0.0.0.0:8000 --worker-tmp-dir /dev/shm
...
...
talos/services/tag.py
View file @
9e05ed77
...
...
@@ -194,7 +194,10 @@ class TagService(ServiceBase):
# 测试环境
all_tags
=
[]
client
=
LibraryGrpcClient
(
settings
.
BRAIN_SERVER
,
settings
.
BRAIN_PORT
)
res
=
client
.
findByTagIds
(
tagIds
=
tag_ids
)
res
=
client
.
(
tagIds
=
tag_ids
)
res_dict
=
json_format
.
MessageToDict
(
res
)
if
res_dict
:
for
item
in
res_dict
.
get
(
"Entry"
,
[]):
...
...
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