forked from github/multus-cni
31 lines
627 B
Markdown
31 lines
627 B
Markdown
## Development Information
|
|
|
|
## How to build the multus-cni?
|
|
|
|
```
|
|
git clone https://github.com/intel/multus-cni.git
|
|
cd multus-cni
|
|
./build
|
|
```
|
|
|
|
## How to run CI tests?
|
|
|
|
Multus has go unit tests (based on ginkgo framework).The following commands drive CI tests manually in your environment:
|
|
|
|
```
|
|
sudo ./test.sh
|
|
```
|
|
|
|
## Logging Best Practices
|
|
|
|
Following are multus logging best practices:
|
|
|
|
* Add `logging.Debugf()` at the begining of functions
|
|
* In case of error handling, use `logging.Errorf()` with given error info
|
|
* `logging.Panicf()` only be used for critical errors (it should NOT normally be used)
|
|
|
|
|
|
## CI Introduction
|
|
|
|
TBD
|