Contributions to the the Dokku open source project are highly welcome! For general hints see the project-wide contributing guide.
- The role's directory layout follows standard Ansible practices.
- Besides the yaml-based ansible instructions, the role includes several new Ansible modules in the
library/
folder (e.g.dokku_app
). - The
README.md
of this repository is auto-generated: do not edit it directly.
In order to update it, runmake generate
.
This role is tested using molecule. Setting up a test environment involves the following steps:
- Install docker
- Install python
- (optional) Create a python virtual environment
- Run
pip install -r requirements.txt
- Run
pre-commit install
- Run
make generate
After this, you'll be able to test any changes made to the role using:
molecule test
This will ensure that:
- the role adheres to coding standards (via
yamllint
,ansible-lint
,flake8
andblack
pre-commit hooks) - the role runs fine (with default parameters)
- the role is idempotent (with default parameters)
- any tests defined in
molecule/default/verify.yml
pass
In addition to local testing, continuous integration tests on a selection of Ubuntu and Debian versions are run on any pull request.