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
ace99d08
Commit
ace99d08
authored
Aug 30, 2021
by
mengweifu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:azkaban
parent
86559f13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
run.job
deploy/job/run.job
+1
-1
start_job.sh
deploy/start_env/start_job.sh
+1
-1
No files found.
deploy/job/run.job
View file @
ace99d08
type=command
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"
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-
10
-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 @
ace99d08
#!/bin/bash
#!/bin/bash
#
#
#set -xeuo pipefail # 参考: https://mp.weixin.qq.com/s/VmM_U4RefRBHwIw8NegC8Q
set
-xeuo
pipefail
# 参考: https://mp.weixin.qq.com/s/VmM_U4RefRBHwIw8NegC8Q
# 运行环境env
# 运行环境env
if
[[
X
"
$1
"
==
X
""
]]
;
then
if
[[
X
"
$1
"
==
X
""
]]
;
then
...
...
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