multus-cni/doc/development.md

31 lines
627 B
Markdown
Raw Normal View History

## 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?
2019-09-20 01:57:49 +00:00
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
2019-09-20 01:57:49 +00:00
Following are multus logging best practices:
2019-09-20 01:29:02 +00:00
* Add `logging.Debugf()` at the begining of functions
* In case of error handling, use `logging.Errorf()` with given error info
2019-09-20 01:29:02 +00:00
* `logging.Panicf()` only be used for critical errors (it should NOT normally be used)
## CI Introduction
TBD