This repository contains the code to create my homelab and cloud lab environments.
git-secrets
is an essential tool to ensure that sensitive information, such as passwords and API keys, are not accidentally included in the Git repository. It scans commits and Git hooks to detect patterns that match known secrets and prevents these secrets from being added to the repository.
To ensure that all developers have git-secrets
installed and configured correctly, follow the steps below:
- Clone the repository:
git clone <repository_url> cd <repository_name>
- Run the setup script:
./setup_git_secrets.sh
The pipeline is configured to run the git-secrets
scan before the build process. If any secrets are detected, the pipeline will fail, and the developer will need to remove the secrets before the pipeline can be run successfully.
If you want to contribute to this project, please read the CONTRIBUTING.md file.