Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
bp
goods
Commits
86559f13
Commit
86559f13
authored
Aug 30, 2021
by
mengweifu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:azkaban
parent
887ece58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
cli.ini
conf/cli.ini
+0
-1
run.job
deploy/job/run.job
+2
-0
start_job.sh
deploy/start_env/start_job.sh
+8
-3
No files found.
conf/cli.ini
View file @
86559f13
...
...
@@ -5,7 +5,6 @@ application.bootstrap = APPLICATION_PATH"/application/Boot
application.dispatcher.catchException
=
false
application.dispatcher.throwException
=
false
daemon.script_dir
=
"
\\
Daemon
\\
"
job.script_dir
=
"
\\
Job
\\
"
appid
=
"goods"
idgen.partner
=
"bp"
...
...
deploy/job/run.job
0 → 100644
View file @
86559f13
type=command
command=bash docker run --rm -e LANG=en_US.UTF-8 -e TZ=Asia/Shanghai --net=bridge -h "`hostname`" --cap-add SYS_PTRACE --privileged docker2.yidian.com:5000/publish/bp-goods-azkaban-test-4-image /bin/bash -c "cd /home/services && sh start_job.sh test goodstoes index a=3&b=4"
deploy/start_env/start_job.sh
View file @
86559f13
...
...
@@ -49,8 +49,13 @@ sysctl -w net.core.somaxconn=65535
php api.go2yd.com/htdocs/Website/public/job.php
"
$2
"
"
$3
"
"
$4
"
if
[
$?
-ne
0
]
then
# todo
ret
=
$?
if
[
$ret
-ne
0
]
;
then
echo
"Build failed"
exit
$ret
else
echo
"Build success"
fi
exit
0
\ 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