Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cd876c30
authored
Nov 08, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add jenkins
parent
6338a78e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
helper.py
jenkins.txt
helper.py
View file @
cd876c30
...
@@ -159,7 +159,9 @@ def update_redis(conf: dict):
...
@@ -159,7 +159,9 @@ def update_redis(conf: dict):
print
(
"jd_ext_attr"
,
key
,
value
)
print
(
"jd_ext_attr"
,
key
,
value
)
def
main
():
arr
=
[
58
,
211
,
136
,
134
,
137
,
281
,
280
,
321
,
320
,
323
,
316
,
319
,
318
,
225
,
226
,
224
,
228
,
231
,
236
,
234
,
184
,
198
,
196
,
195
,
194
,
193
,
192
,
189
,
187
,
186
,
185
,
188
,
183
,
317
,
127
,
131
,
126
,
125
,
128
,
123
,
129
,
130
,
304
,
310
,
314
,
311
,
303
,
313
,
309
,
147
,
146
,
161
,
166
,
173
,
171
,
179
,
182
,
174
,
176
,
178
,
177
,
172
,
331
,
78
,
330
,
75
,
74
,
73
,
76
,
72
,
77
,
116
,
113
,
241
,
247
,
240
,
256
,
255
,
248
,
254
,
252
,
249
,
238
,
239
,
244
,
245
,
250
,
243
,
118
,
209
,
217
,
206
,
216
,
212
,
218
,
272
,
277
,
274
,
276
,
69
,
60
,
63
,
62
,
67
,
70
,
64
,
61
,
104
,
32
,
29
,
288
,
30
,
94
,
88
,
96
,
91
,
93
,
87
,
84
,
85
,
82
,
100
,
107
,
101
,
108
,
102
,
99
,
260
,
263
,
54
,
261
,
259
,
258
,
295
,
293
,
299
,
296
,
289
,
290
,
294
,
56
,
57
,
202
,
207
,
214
,
213
,
181
,
144
,
151
,
148
,
79
,
80
,
322
,
268
,
271
,
270
,
65
,
86
,
89
,
83
,
103
,
105
,
264
,
203
,
210
,
201
]
print
(
len
(
arr
))
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
config
=
config_prod
main
()
handle_data
(
config
)
jenkins.txt
0 → 100644
View file @
cd876c30
#!/bin/sh
cd /var/lib/jenkins/workspace/go_nplm_server/;
cp manifest/config/config.toml.prod manifest/config/config.toml;
/usr/local/go/bin/go build -o go_nplm_server
rsync -arqzog /var/lib/jenkins/workspace/go_nplm_server/ --exclude "*.git" guojun@172.18.137.41::goroot/go_nplm_server/ --password-file=/etc/rsync.password
sudo ansible go_web -m shell -a '/usr/bin/supervisorctl restart go_nplm_server_http:'
\ No newline at end of file
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