Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
speech_nlu_parse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵文静
speech_nlu_parse
Commits
6f2970c9
Commit
6f2970c9
authored
May 14, 2025
by
赵文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改dockerfile
parent
3deffa3f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
Dockerfile
Dockerfile
+9
-9
Jenkinsfile
Jenkinsfile
+4
-4
No files found.
Dockerfile
View file @
6f2970c9
FROM
golang:1.18 AS builder
FROM
golang:1.18 AS builder
WORKDIR
/usr/src/
tencent-nlu-
parse
WORKDIR
/usr/src/
speech_nlu_
parse
COPY
./go.mod /usr/src/
tencent-nlu-
parse/
COPY
./go.mod /usr/src/
speech_nlu_
parse/
COPY
./go.sum /usr/src/
tencent-nlu-
parse/
COPY
./go.sum /usr/src/
speech_nlu_
parse/
ENV
GOPROXY=http://10.7.83.190:6666,https://proxy.golang.com.cn,direct CGO_ENABLED=0
ENV
GOPROXY=http://10.7.83.190:6666,https://proxy.golang.com.cn,direct CGO_ENABLED=0
...
@@ -12,9 +12,9 @@ RUN echo "hosts: files dns" > /etc/nsswitch.conf && \
...
@@ -12,9 +12,9 @@ RUN echo "hosts: files dns" > /etc/nsswitch.conf && \
echo
-e
"112.19.0.219 goproxy.cn
\n
157.255.30.117 mirrors.aliyun.com"
>>
/etc/hosts
&&
\
echo
-e
"112.19.0.219 goproxy.cn
\n
157.255.30.117 mirrors.aliyun.com"
>>
/etc/hosts
&&
\
go mod download
go mod download
COPY
. /usr/src/
tencent-nlu-
parse/
COPY
. /usr/src/
speech_nlu_
parse/
RUN
go build
-o
tencent-nlu-
parse
RUN
go build
-o
speech_nlu_
parse
FROM
alpine as runner
FROM
alpine as runner
...
@@ -22,11 +22,11 @@ COPY --from=builder /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
...
@@ -22,11 +22,11 @@ COPY --from=builder /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY
--from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY
--from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY
--from=builder /usr/src/
tencent-nlu-parse/tencent-nlu-
parse /tmp/
COPY
--from=builder /usr/src/
speech_nlu_parse/speech_nlu_
parse /tmp/
RUN
echo
-e
"10.7.82.56 e-con-01
\n
10.7.83.97 m-nlp-03
\n
10.7.82.133 s-ipd-01
\n
10.7.80.153 c-gtw-01
\n
10.7.83.174 s-gtw-01"
>>
/etc/hosts
&&
\
RUN
echo
-e
"10.7.82.56 e-con-01
\n
10.7.83.97 m-nlp-03
\n
10.7.82.133 s-ipd-01
\n
10.7.80.153 c-gtw-01
\n
10.7.83.174 s-gtw-01"
>>
/etc/hosts
&&
\
ls
/tmp/
tencent-nlu-
parse
&&
\
ls
/tmp/
speech_nlu_
parse
&&
\
chmod
+x /tmp/
tencent-nlu-
parse
chmod
+x /tmp/
speech_nlu_
parse
CMD
["/tmp/
tencent-nlu-parse","-config=env/v2,tencent_nlu_parse/conf","-consul=http://e-con-01:8500", "-name=tencent
_nlu_parse","-token=c89cb8e1-dc45-b8d2-1b06-c02684e09b21"]
CMD
["/tmp/
speech_nlu_parse","-config=env/v2,speech_nlu_parse/conf","-consul=http://e-con-01:8500", "-name=speech
_nlu_parse","-token=c89cb8e1-dc45-b8d2-1b06-c02684e09b21"]
Jenkinsfile
View file @
6f2970c9
...
@@ -12,9 +12,9 @@ pipeline{
...
@@ -12,9 +12,9 @@ pipeline{
registryDomain
=
".gree.com"
registryDomain
=
".gree.com"
repo
=
"docker_proxy"
repo
=
"docker_proxy"
port
=
17971
port
=
17971
jobName
=
"
tencent-nlu-
parse"
jobName
=
"
speech_nlu_
parse"
node
=
"s-otr-01"
node
=
"s-otr-01"
index
=
"fluentd-
tencent
_nlu_parse"
index
=
"fluentd-
speech
_nlu_parse"
}
}
triggers
{
triggers
{
GenericTrigger
(
GenericTrigger
(
...
@@ -22,7 +22,7 @@ pipeline{
...
@@ -22,7 +22,7 @@ pipeline{
[
key:
'ref'
,
value:
'$.ref'
]
[
key:
'ref'
,
value:
'$.ref'
]
],
],
causeString:
'Triggered on $ref'
,
causeString:
'Triggered on $ref'
,
token:
'
tencent-nlu-
parse-b73b246d4bc9c5c9'
,
token:
'
speech_nlu_
parse-b73b246d4bc9c5c9'
,
printContributedVariables:
true
,
printContributedVariables:
true
,
printPostContent:
true
,
printPostContent:
true
,
silentResponse:
false
,
silentResponse:
false
,
...
@@ -48,7 +48,7 @@ pipeline{
...
@@ -48,7 +48,7 @@ pipeline{
userRemoteConfigs:
[[
userRemoteConfigs:
[[
credentialsId:
'b56f8c12-cad2-41f0-a85f-36b3b3dc3241'
,
credentialsId:
'b56f8c12-cad2-41f0-a85f-36b3b3dc3241'
,
// credentialsId: '4ec77ef2-5f46-4b8a-b55c-f047f6fdae7d',
// credentialsId: '4ec77ef2-5f46-4b8a-b55c-f047f6fdae7d',
url:
'https://api.gree.com/gitlab/
560310/tencent-nlu-
parse.git'
url:
'https://api.gree.com/gitlab/
zwj/speech_nlu_
parse.git'
]]
]]
])
])
echo
"Building shortCommit $tagName"
echo
"Building shortCommit $tagName"
...
...
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