First off, thank you for considering contributing to tfinit. It's people like you that make tfinit such a great tool.
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
To get started with development, you'll need a working Go environment.
-
Fork and Clone the repository
git clone https://github.com/warike/terraform-files.git cd terraform-files -
Install Dependencies This project uses Go modules. Dependencies will be downloaded automatically when you build or test the project.
go mod tidy
-
Run Tests We use
maketo simplify testing. To run all checks, including unit and integration tests, run:make test -
Build the binary To compile the
tfinitbinary for your local system:make build
The binary will be available at
build/tfinit.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
- You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior.