before: deploy compass-ci client and server in one machine.
after: not only deploy compass-ci client and server in one machine, but also on different servers.
[why]
for user locally deploy compass-ci, sometimes need to deploy client in other machine,
so add $1.
it's interrelated with the follow patch:
[PATCH lkp-tests] setup/simplify-ci: delete default value
Signed-off-by: Liu Yinsi <liuyinsi(a)163.com>
---
sparrow/3-code/dev-env | 3 +++
1 file changed, 3 insertions(+)
diff --git a/…
[View More]sparrow/3-code/dev-env b/sparrow/3-code/dev-env
index 2ba9662..00a2e0f 100755
--- a/sparrow/3-code/dev-env
+++ b/sparrow/3-code/dev-env
@@ -4,6 +4,9 @@
server_name=$(hostname | cut -f1 -d.)
server_ip=$(ip route get 1.2.3.4 | awk '{print $7; exit}')
+
+[ -n "$1" ] && server_ip=$1
+
: ${sched_host:=$server_ip}
: ${sched_port:=3000}
: ${os_http_host:=$server_ip}
--
2.23.0
[View Less]
[Error]
Welcome to openEuler 20.09!
/usr/lib/systemd/system/lkp-bootstrap.service:11: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the ser
vice. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[How]
config the lkp-bootstrap.service:
KillMode=control-group
Signed-off-by: Wang Chenglong <18509160991(a)163.com>
-…
[View More]--
rootfs/addon/usr/lib/systemd/system/lkp-bootstrap.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rootfs/addon/usr/lib/systemd/system/lkp-bootstrap.service b/rootfs/addon/usr/lib/systemd/system/lkp-bootstrap.service
index 842c4aef8..a9eb5152a 100644
--- a/rootfs/addon/usr/lib/systemd/system/lkp-bootstrap.service
+++ b/rootfs/addon/usr/lib/systemd/system/lkp-bootstrap.service
@@ -8,7 +8,7 @@ Type=forking
Environment=HOME=/root
ExecStart=/etc/init.d/lkp-bootstrap
IgnoreSIGPIPE=no
-KillMode=none
+KillMode=control-group
TasksMax=infinity
[Install]
--
2.23.0
[View Less]
Signed-off-by: Wu Fengguang <wfg(a)mail.ustc.edu.cn>
---
doc/manual/apply-account.md | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/doc/manual/apply-account.md b/doc/manual/apply-account.md
index a0b2c82..b5430e7 100644
--- a/doc/manual/apply-account.md
+++ b/doc/manual/apply-account.md
@@ -1,5 +1,15 @@
# apply account
+You'll need an account to submit jobs. The account is mainly for tracking your resource consumptions.
+We have limited …
[View More]pool of testboxes, so there have to be some usage control.
+
+We offer free accounts to OSS (Open Source Software) contributors.
+You can prove yourself as OSS contributor by providing "my oss commit" in the below email.
+
+We offer free accounts to our collaborators too. If you are one of our
+collaborators, you should know the collaboration channel to apply account.
+In this case you just need provide name, email, ssh pubkey and purpose.
+
## step 1: send email to apply account
Email template:
@@ -16,8 +26,9 @@ Email template:
---
- please replace the 3 parts in {{ }} with your information.
-- the email name should be in english, as: "David Rientjes" in the template.
-- my oss commit: a git commit URL that has your contribution.
+- the email name should be in English or Chinese Pinyin, as: "David Rientjes" in the template.
+- my oss commit: a git commit URL that has your contribution. It should be in a
+ well known git repo that's registered in [upstream-repos](https://gitee.com/wu_fengguang/upstream-repos)
## step 2: receive an email
@@ -29,7 +40,7 @@ Which contains account information for you:
## step 3: one-time setup
-**Follow the email** to setup your local environment:
+**Follow instructions in the email** to setup your local environment:
git clone https://gitee.com/wu_fengguang/lkp-tests.git
setup ~/.config/compass-ci/defaults/account.yaml
@@ -38,10 +49,3 @@ Which contains account information for you:
Now try [submitting a job to compass-ci](https://gitee.com/wu_fengguang/compass-ci/blob/master/doc/manua…
-## notice:
-
-In case that you received a failed email with message as below:
-
- The repo url for your commit is not in our upstream-repo list.
-
-Try to [register repo to upstream-repos](https://gitee.com/wu_fengguang/compass-ci/blob/master/doc/m…
--
2.23.0
[View Less]