Signed-off-by: Luan Shengde shdluan@163.com --- container/submit/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 container/submit/README.md
diff --git a/container/submit/README.md b/container/submit/README.md new file mode 100644 index 0000000..0c66118 --- /dev/null +++ b/container/submit/README.md @@ -0,0 +1,23 @@ +# install lkp-tests and its depends in container +# with docker container, will suit almost all the linux OS. +# avoid much repetitive testing work to adapt. + +prepare work: + apply account + config default yaml + generate ssh keys + +installation: + git clone https://gitee.com/wu_fengguang/compass-ci.git + cd compass-ci/container/submit + ./build + edit executable file: run + add map: + $HOME/.config:/root/.config:ro + $HOME/.ssh:/root/.ssh:ro + /etc/compass-ci:/etc/compass-ci:ro + add soft link for executable file 'run' to $PATH: + ln -s $PWD/run /usr/bin/submit + +then you can directly use the command 'submit' to submit jobs +it's the same as you install the lkp-tests at your localhost
On Fri, Jan 29, 2021 at 03:10:41PM +0800, Luan Shengde wrote:
Signed-off-by: Luan Shengde shdluan@163.com
container/submit/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 container/submit/README.md
diff --git a/container/submit/README.md b/container/submit/README.md new file mode 100644 index 0000000..0c66118 --- /dev/null +++ b/container/submit/README.md @@ -0,0 +1,23 @@ +# install lkp-tests and its depends in container +# with docker container, will suit almost all the linux OS. +# avoid much repetitive testing work to adapt.
+prepare work:
- apply account
- config default yaml
- generate ssh keys
+installation:
- git clone https://gitee.com/wu_fengguang/compass-ci.git
- cd compass-ci/container/submit
- ./build
- edit executable file: run
- add map:
$HOME/.config:/root/.config:ro
$HOME/.ssh:/root/.ssh:ro
/etc/compass-ci:/etc/compass-ci:ro
the run script have been mount these dir so, no need write here.
cd compass-ci/container/submit ./build && ln -s $PWD/run /usr/bin/submit
Thanks, Shenwei
- add soft link for executable file 'run' to $PATH:
- ln -s $PWD/run /usr/bin/submit
+then you can directly use the command 'submit' to submit jobs
+it's the same as you install the lkp-tests at your localhost
2.23.0
- git clone https://gitee.com/wu_fengguang/compass-ci.git
- cd compass-ci/container/submit
- ./build
- edit executable file: run
- add map:
$HOME/.config:/root/.config:ro
$HOME/.ssh:/root/.ssh:ro
/etc/compass-ci:/etc/compass-ci:ro
the run script have been mount these dir so, no need write here.
cd compass-ci/container/submit ./build && ln -s $PWD/run /usr/bin/submit
ok, I will fix it.
Thanks, Luan Shengde
Thanks, Shenwei
- add soft link for executable file 'run' to $PATH:
- ln -s $PWD/run /usr/bin/submit
+then you can directly use the command 'submit' to submit jobs
+it's the same as you install the lkp-tests at your localhost
2.23.0