UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit b5131cff authored by Zachariah Dzielinski's avatar Zachariah Dzielinski
Browse files

docs: added conventional commit docs

parent a519b846
No related branches found
No related tags found
1 merge request!141Add commitlint job
Pipeline #129195 waiting for manual action
......@@ -37,7 +37,11 @@ Big Bang is designed in such a way as to be as easily deployed locally as it is
### Pre-commit hooks
We would like developers to leverage [conventional commits](https://www.conventionalcommits.org/) when contributing. In order to help enforce this we are leveraging client-side pre-commit hooks. This is done using the following tools:
We would require developers to leverage [conventional commits](https://www.conventionalcommits.org/) when contributing.
In order to help enforce this we are leveraging client-side pre-commit hooks.
This is done using the following tools:
- [husky](https://www.npmjs.com/package/husky)
- [commitlint](https://commitlint.js.org/#/)
......@@ -62,6 +66,16 @@ This will download `husky` and `commitlint` to your local repo and modify your `
If you have pushed commits that do not conform to the conventional-commit guide lines, you can combine all of the incorrectly formatted commit messages by using `git rebase`. A more expansive guide of how this is done can be found [here](https://www.w3docs.com/snippets/git/how-to-combine-multiple-commits-into-one-with-3-steps.html).
Here is a quick tip to squash all commits for a branch named `test`:
```
git checkout test
git reset $(git merge-base $CI_DEFAULT_BRANCH $(git rev-parse --abbrev-ref HEAD))
git add -A
git commit -m \"feat: example conventional commit\"
git push --force
```
## Iron Bank Images
Per the [charter](https://repo1.dsop.io/platform-one/big-bang/charter), all Big Bang packages will leverage container images from [IronBank](https://ironbank.dsop.io/). In order to pull these images, ImagePullSecrets must be provided to BigBang. To obtain access to these images, follow the guides below. These steps should NOT be used for production since the API keys for a user are only valid when the user is logged into [Registry1](https://registry1.dsop.io)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment