3 Star 0 Fork 1

华科开放原子开源俱乐部 / KTestRobot

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

KTestRobot

Installation

Install Go

Download the golang package (go1.20.5.linux-amd64.tar.gz) and execute the following command:

# rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz

Complete config.json

Fill in the config.json file with sensitive information such as SMTP and IMAP server details, username, password, and a list of email addresses whitelist for filtering.

Building

git clone https://gitee.com/dzm91_hust/KTestRobot
cd KTBot
make
./KTestRobot -config config.json

Configuration Explanation

The config.json file contains the following fields:

  • username: The email account used to receive kernel patches. This field should be set to a email address, e.g., "ktestrobot@126.com"
  • password: The password used to log in the mail server. This field should be set to the email password
  • procs: The number of processes used for kernel compilation. This field should be set to a number. The default value is 20.
  • interval: The number of minites between two checks of the mail. This field should be set to a number. The default value is 20.
  • whiteLists: A list of email addresses that are considered as white-listed recipients. This field should be set to an array of email addresses
  • mailinglist: The mail list used to test the patch. This field should be set to a email address. The default value is "kernel_testing_robot@googlegroups.com"
MIT License Copyright (c) 2022 HUSTSecLab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Kernel Testing Robot expand collapse
Go and 2 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/hust-open-atom-club/KTestRobot.git
git@gitee.com:hust-open-atom-club/KTestRobot.git
hust-open-atom-club
KTestRobot
KTestRobot
main

Search

344bd9b3 5694891 D2dac590 5694891