Signed-off-by: Luan Shengde shdluan@163.com --- doc/manual/build-lkp-test-container.en.md | 57 +++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 doc/manual/build-lkp-test-container.en.md
diff --git a/doc/manual/build-lkp-test-container.en.md b/doc/manual/build-lkp-test-container.en.md new file mode 100644 index 0000000..b94fcc3 --- /dev/null +++ b/doc/manual/build-lkp-test-container.en.md @@ -0,0 +1,57 @@ +# Preface + +We provide a docker container to suit various of Linux OS(es). +In this case you do not need install the lkp-tests to your own server. +Also you can avoid installation failures for undesired dependency packages. + +# Prepare + +- install docker +- apply account and config default yaml +- generate ssh keys + +# build submit container + +## 1. download resource + + Use the following command to downloac lkp-test and compass-ci + + git clone https://gitee.com/wu_fengguang/compass-ci.git + git clone https://gitee.com/wu_fengguang/lkp-tests.git + +## 2. setup environment variables + + Command: + + echo "export LKP_SRC=$PWD/lkp-tests" >> ~/.${SHELL##*/}rc + echo "export CCI_SRC=$PWD/compass-ci" >> ~/.${SHELL##*/}rc + source ~/.${SHELL##*/}rc + +## 3. build submit image + + Command: + + cd compass-ci/container/submit + ./build + +## 4. add executable file + + Command: + + ln -s $CCI_SRC/container/submit/submit /usr/bin/submit + +# try it + + instruction: + + You can directly use the command 'submit' to submit jobs. + It is the same as you install the lkp-tests at your own server. + It will start a disposable contanier to submit your job. + + Example: + + submit -c -m testbox=vm-2p8g borrow-1h.yaml + + Command helps: + + For detailed usage for command submit, reference to: [submit user manual](https://gitee.com/wu_fengguang/compass-ci/blob/master/doc/manual/submit-job....)
On Tue, Mar 02, 2021 at 04:48:41PM +0800, Luan Shengde wrote:
Signed-off-by: Luan Shengde shdluan@163.com
doc/manual/build-lkp-test-container.en.md | 57 +++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 doc/manual/build-lkp-test-container.en.md
diff --git a/doc/manual/build-lkp-test-container.en.md b/doc/manual/build-lkp-test-container.en.md new file mode 100644 index 0000000..b94fcc3 --- /dev/null +++ b/doc/manual/build-lkp-test-container.en.md @@ -0,0 +1,57 @@ +# Preface
+We provide a docker container to suit various of Linux OS(es). +In this case you do not need install the lkp-tests to your own server. +Also you can avoid installation failures for undesired dependency packages.
+# Prepare
+- install docker +- apply account and config default yaml
Give the doc in compass-ci?
+- generate ssh keys
+# build submit container
+## 1. download resource
- Use the following command to downloac lkp-test and compass-ci
git clone https://gitee.com/wu_fengguang/compass-ci.git
git clone https://gitee.com/wu_fengguang/lkp-tests.git
+## 2. setup environment variables
- Command:
echo "export LKP_SRC=$PWD/lkp-tests" >> ~/.${SHELL##*/}rc
echo "export CCI_SRC=$PWD/compass-ci" >> ~/.${SHELL##*/}rc
source ~/.${SHELL##*/}rc
+## 3. build submit image
- Command:
cd compass-ci/container/submit
./build
+## 4. add executable file
- Command:
ln -s $CCI_SRC/container/submit/submit /usr/bin/submit
+# try it
- instruction:
You can directly use the command 'submit' to submit jobs.
It is the same as you install the lkp-tests at your own server.
It will start a disposable contanier to submit your job.
container
- Example:
submit -c -m testbox=vm-2p8g borrow-1h.yaml
- Command helps:
About submit:
Thanks, Xueliang
For detailed usage for command submit, reference to: [submit user manual](https://gitee.com/wu_fengguang/compass-ci/blob/master/doc/manual/submit-job.zh.md)
-- 2.23.0
+- install docker +- apply account and config default yaml
Give the doc in compass-ci?
the first step is apply account. just think they have done it for the moment.
+- generate ssh keys
+# build submit container
+## 1. download resource
- Use the following command to downloac lkp-test and compass-ci
git clone https://gitee.com/wu_fengguang/compass-ci.git
git clone https://gitee.com/wu_fengguang/lkp-tests.git
+## 2. setup environment variables
- Command:
echo "export LKP_SRC=$PWD/lkp-tests" >> ~/.${SHELL##*/}rc
echo "export CCI_SRC=$PWD/compass-ci" >> ~/.${SHELL##*/}rc
source ~/.${SHELL##*/}rc
+## 3. build submit image
- Command:
cd compass-ci/container/submit
./build
+## 4. add executable file
- Command:
ln -s $CCI_SRC/container/submit/submit /usr/bin/submit
+# try it
- instruction:
You can directly use the command 'submit' to submit jobs.
It is the same as you install the lkp-tests at your own server.
It will start a disposable contanier to submit your job.
container
ok, I will fix it.
- Example:
submit -c -m testbox=vm-2p8g borrow-1h.yaml
- Command helps:
About submit:
I will optimize it
Thanks, Luan Shengde
Thanks, Xueliang
For detailed usage for command submit, reference to: [submit user manual](https://gitee.com/wu_fengguang/compass-ci/blob/master/doc/manual/submit-job.zh.md)
-- 2.23.0