add attach lkp-tests/hosts to the container when run the container
[why] enable user submit jobs with custom job files.
user can edit the job files according their requires, and the job file will take effect when use submit contanier to submit jobs.
Signed-off-by: Luan Shengde shdluan@163.com --- container/submit/submit | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/submit/submit b/container/submit/submit index 6236892..ca6eb72 100755 --- a/container/submit/submit +++ b/container/submit/submit @@ -13,6 +13,7 @@ cmd=( --name=submit-$USER-$data_suffix -it -v /etc/compass-ci:/etc/compass-ci:ro + -v $LKP_SRC/jobs:/root/lkp-tests/jobs:ro -v $HOME/.config:/root/.config:ro -v $HOME/.ssh:/root/.ssh:rw submit
On Tue, Mar 02, 2021 at 03:13:33PM +0800, Luan Shengde wrote:
add attach lkp-tests/hosts to the container when run the container
[why] enable user submit jobs with custom job files.
user can edit the job files according their requires, and the job file will take effect when use submit contanier to submit jobs.
Signed-off-by: Luan Shengde shdluan@163.com
container/submit/submit | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/submit/submit b/container/submit/submit index 6236892..ca6eb72 100755 --- a/container/submit/submit +++ b/container/submit/submit @@ -13,6 +13,7 @@ cmd=( --name=submit-$USER-$data_suffix -it -v /etc/compass-ci:/etc/compass-ci:ro
-v $LKP_SRC/jobs:/root/lkp-tests/jobs:ro
Not only jobs, you can mount the whole LKP_SRC, so user can edit any file in LKP_SRC.
Thanks, Xueliang
-v $HOME/.config:/root/.config:ro -v $HOME/.ssh:/root/.ssh:rw submit
-- 2.23.0