Welcome to the contributing guide for Cloud Concierge!
- Introduction
- How to contribute
- Coding conventions
- Pull request
- Release Process
- Log Level
- Code of Conduct
- License
This document is a guide for people who want to contribute to Cloud Concierge. All contributions, no matter how big or small, are greatly appreciated.
There are many ways to contribute to Cloud Concierge, including:
- Providing feedback and requesting features
- Reporting bugs and issues (either in code or in documentation)
- Developing new features
- Fixing bugs
Before you start contributing, please read our Code of Conduct.
In general, we follow the Go Style Guide, and run golangci linting as a part of our CI/CD pipeline.
When you have made changes to the codebase that you would like to contribute back, please follow these steps:
- Search existing issues or create a new issue for the feature you are creating or the bug you are fixing. Our team will reach out and help provide feedback so that the path from Pull Request to Merge is as smooth and quick as possible. Each PR should be linked to an issue.
- Fork the repository and create a new branch from
dev
. - Make changes and ensure that the code passes all tests. This can be done by navigating to
pkg
directory of the project and runninggo test ./...
.- All new features should include unit tests for the new functionality.
- To test your changes with an end to end execution of the container, you can run
docker-compose up --build cloud-concierge
from the root of the repository.
- If applicable, update the documentation to reflect your changes, if applicable.
- Submit a pull request to the
dev
branch.
We will review your Pull Request as soon as possible (step 0. above will help expedite this process).
NOTE: We cannot guarantee that the default branch, dev
, is stable. You should always use published releases for your production use.
- After unit test, linter and code review requirements are met, pull requests are merged to the default
dev
branch. - We tag and deploy a beta release image off of the updated dev branch, and run additional end-to-end tests on this branch to ensure new features do not break existing functionality.
- Once validated, we merge the
dev
branch to theprod
branch, and tag and deploy a release image off of theprod
branch to DockerHub. These images should be used in production.
We use log levels to control the verbosity of the logs. The default log level is info
. To change the log level,
set the CLOUDCONCIERGE_LOG_LEVEL
environment variable to one of the following values: debug
, info
.
We expect all contributors to follow our Code of Conduct when participating in our community. Please review prior to contributing.