Help improve this project by:
- Creating an issue (Check for known issues first)
- Submitting a pull request to fix a problem or add a feature
Your contributions are appreciated and will be taken seriously.
Report problems or suggest improvements by creating an issue.
Fork the repository to your GitHub account.
Clone your fork locally and make the necessary changes:
git clone [email protected]:YOURNAMESPACE/postgresql_cluster.git
Use Gitpod for a cloud-based development environment:
- Sign up for Gitpod: https://gitpod.io
- Fork the
postgresql_cluster
repository - Open your fork in Gitpod:
https://gitpod.io/#https://github.com/username/postgresql_cluster
- Create a new branch:
git checkout -b my-feature-branch
- Make your changes and commit:
git add .
andgit commit -m "Description of changes"
- Test with Molecule:
make molecule-test
ormake molecule-converge
- Test with linters(otpional):
make lint
- Push your changes:
git push origin my-feature-branch
- Create a pull request on GitHub
- Wait for a review
Keep your Gitpod workspace synced with the main repository.
Install make, Python3.10, venv, and docker.
Run make
for Makefile help. Initialize virtualenv and install dependencies with make reinitialization
or make bootstrap
. Test your changes with make molecule-test
or make molecule-converge
.
To test a specific distribution, set distro
, tag
, and namespace
:
You can lint with make lint
IMAGE_NAMESPACE=geerlingguy IMAGE_DISTRO=debian10 make molecule-converge
Create a pull request and refer to the issue number using #123, where 123 is the issue number.
Your pull request will be reviewed, and you'll receive feedback. Thanks for contributing!