mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-11-23 15:40:21 +00:00
Update docs for main
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
This commit is contained in:
@@ -12,13 +12,30 @@
|
||||
- All arguments have a specification in `meta/argument_specs.yml`
|
||||
- All playbooks/roles should be focused on compatibility with Ansible Automation Platform
|
||||
|
||||
### Before pushing
|
||||
|
||||
- Run `make format` before committing to auto-format the code. CI rejects unformatted PRs.
|
||||
- CI runs `yamllint`, `ansible-lint` (production profile) and `shellcheck`. Fix any violations before pushing
|
||||
|
||||
## Development environment
|
||||
|
||||
To develop and to run tests you need to install `tox` and `tox-ansible` on
|
||||
your machine.
|
||||
Install `tox` (version 4 or newer) and `tox-ansible`:
|
||||
|
||||
```
|
||||
pip install --user tox tox-ansible
|
||||
pip install --user 'tox>=4' tox-ansible
|
||||
```
|
||||
|
||||
With `--user`, `tox` is in `~/.local/bin`. Put it first on `PATH` before
|
||||
`make` targets that use `tox` (`build-venv`, `test-unit`, `test-sanity`):
|
||||
|
||||
```
|
||||
export PATH="$HOME/.local/bin:$PATH" # whole shell session
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
PATH="$HOME/.local/bin:$PATH" make <target> # command only
|
||||
```
|
||||
|
||||
### Virtualenv for development
|
||||
|
||||
Reference in New Issue
Block a user