You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-18Lines changed: 28 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,6 @@ A CRD-less, annotation-based controller which mutates StatefulSets and
3
3
ServiceAccounts so Google Cloud Storage buckets are mounted in the app using
4
4
gcsfuse.
5
5
6
-
## Description
7
-
// TODO(user): An in-depth paragraph about your project and overview of use
8
-
9
6
## Getting Started
10
7
11
8
### Prerequisites
@@ -79,25 +76,38 @@ Users can just run kubectl apply -f <URL for YAML BUNDLE> to install the project
79
76
kubectl apply -f https://raw.githubusercontent.com/<org>/ssbucketeer/<tag or branch>/dist/install.yaml
80
77
```
81
78
82
-
## Contributing
83
-
// TODO(user): Add detailed information on how you would like others to contribute to this project
79
+
# Contributing
80
+
81
+
Please follow these guidelines when contributing.
82
+
83
+
## Commit messages and merging PRs
84
+
85
+
Use squash merges, not merge commits.
86
+
This allows the release-please workflow to parse them and create a changelog.
84
87
85
-
**NOTE:** Run `make help` for more information on all potential `make` targets
88
+
This project follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for its commit messages - **this also applies to squash merge messages**.
89
+
You can check out the following resources for more explanation/motivation:
90
+
[The power of conventional commits](https://julien.ponge.org/blog/the-power-of-conventional-commits/)
More information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html)
94
+
When working on experimental branches you can use whatever commit messages you want, but you should either squash/amend your messages before merging your PR.
95
+
Using [Scratchpad branches](https://julien.ponge.org/blog/a-workflow-for-experiments-in-git-scratchpad-branches/) is probably the easiest approach.
88
96
89
-
## License
97
+
Use the provided pre-commit hook to verify your commit messages:
98
+
```sh
99
+
pre-commit install --install-hooks
100
+
pre-commit install -t commit-msg
101
+
```
90
102
91
-
Copyright 2024.
103
+
## Creating a release
92
104
93
-
Licensed under the Apache License, Version 2.0 (the "License");
94
-
you may not use this file except in compliance with the License.
95
-
You may obtain a copy of the License at
105
+
Google's [release-please](https://github.com/googleapis/release-please) is used to create releases.
106
+
release-please maintains a release PR, which determines the next semver version based on whether there have been feature additions, breaking changes, etc.
107
+
To create a release, simply merge that PR, and it will create a GitHub release, tag and a Docker image will be built.
96
108
97
-
http://www.apache.org/licenses/LICENSE-2.0
109
+
The suggested next version can be overriden by including `Release-As: x.x.x` in a commit message. For example:
98
110
99
-
Unless required by applicable law or agreed to in writing, software
100
-
distributed under the License is distributed on an "AS IS" BASIS,
101
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
102
-
See the License for the specific language governing permissions and
0 commit comments