You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-msvsphere.ci/README.md

91 lines
2.0 KiB

# Ansible Collection - msvsphere.ci
11 months ago
The MSVSphere OS CI/CD collection.
## Roles
* [gitea_binary](roles/gitea_binary/README.md)
* [gitea_db_server](roles/gitea_db_server/README.md)
* [kerberos_kdc](roles/kerberos_kdc/README.md)
* [kerberos_principal](roles/kerberos_principal/README.md)
* [koji_builder](roles/koji_builder/README.md)
* [koji_cli](roles/koji_cli/README.md)
* [koji_db_server](roles/koji_db_server/README.md)
* [koji_server](roles/koji_server/README.md)
* [koji_server_ca](roles/koji_server_ca/README.md)
* [koji_tools](roles/koji_tools/README.md)
* [postgresql_server](roles/postgresql_server/README.md)
* [pungi_builder](roles/pungi_builder/README.md)
## Documentation
All bundled roles have a corresponding README.md file located at
`roles/ROLE_NAME/README.md`.
You can also use the `ansible-doc` command, for example:
```shell
$ ansible-doc --type role postgresql_server
```
## Development
### Development environment configuration
You must use a specific directory layout
`collections/ansible_collections/msvsphere/ci` to make molecule work.
For example:
```
$ mkdir -p ~/work/collections/ansible_collections/msvsphere/ci
$ git clone https://git.inferitos.ru/msvsphere/ansible-msvsphere.ci.git \
~/work/collections/ansible_collections/msvsphere/ci
```
In order to create and initialize a Python virtual environment run the
following commands in the project root:
```shell
$ virtualenv .venv
$ . .venv/bin/activate
$ pip install -r requirements-devel.txt
```
### Testing
Use the following commands to run molecule tests:
```shell
# run all available test scenarios
$ molecule test --all
# run the "postgresql_server-13" test scenario
$ molecule test -s postgresql_server-13
```
### Releasing
Update changelog entries:
```shell
$ antsibull-changelog release
```
Build a release tarball:
```shell
$ ansible-galaxy collection build
```
## License
MIT.
## Authors
* [Eugene Zamriy](mailto:ezamriy@msvsphere-os.ru)
## References
* [Ansible Molecule](https://ansible.readthedocs.io/projects/molecule/)