forked from kubernetes-csi/csi-driver-host-path
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes-csi#1 from pohly/master
initial content
- Loading branch information
Showing
3 changed files
with
109 additions
and
1,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# [csi-build-rules](https://github.com/kubernetes-csi/csi-build-rules) | ||
# [csi-release-tools](https://github.com/kubernetes-csi/csi-release-tools) | ||
|
||
These build and test rules can be shared between different Go projects | ||
without modifications. Customization for the different projects happen | ||
|
@@ -19,9 +19,9 @@ The expected repository layout is: | |
- `cmd/*/*.go` - source code for each command | ||
- `cmd/*/Dockerfile` - docker file for each command or | ||
Dockerfile in the root when only building a single command | ||
- `Makefile` - includes `build-rules/build.make` and sets | ||
- `Makefile` - includes `release-tools/build.make` and sets | ||
configuration variables | ||
- `.travis.yml` - a symlink to `build-rules/.travis.yml` | ||
- `.travis.yml` - a symlink to `release-tools/.travis.yml` | ||
|
||
To create a release, tag a certain revision with a name that | ||
starts with `v`, for example `v1.0.0`, then `make push` | ||
|
@@ -40,11 +40,12 @@ Sharing and updating | |
|
||
[`git subtree`](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) | ||
is the recommended way of maintaining a copy of the rules inside the | ||
`build-rules` directory of a project. This way, it is possible to make | ||
`release-tools` directory of a project. This way, it is possible to make | ||
changes also locally, test them and then push them back to the shared | ||
repository at a later time. | ||
|
||
Cheat sheet: | ||
|
||
- `git subtree pull --prefix=build-rules https://github.com/kubernetes-csi/csi-build-rules.git master` - update local copy to latest upstream | ||
- edit, `git commit`, `git subtree push --prefix=build-rules [email protected]:<user>/csi-build-rules.git <my-new-or-existing-branch>` - push to a new branch before submitting a PR | ||
- `git subtree add --prefix=release-tools https://github.com/pohly/csi-release-tools.git master` - add release tools to a repo which does not have them yet (only once) | ||
- `git subtree pull --prefix=release-tools https://github.com/kubernetes-csi/csi-release-tools.git master` - update local copy to latest upstream (whenever upstream changes) | ||
- edit, `git commit`, `git subtree push --prefix=release-tools [email protected]:<user>/csi-release-tools.git <my-new-or-existing-branch>` - push to a new branch before submitting a PR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Release Process | ||
|
||
TODO: describe the release process for this project | ||
No tagged releases are planned at this point. The intention is to keep | ||
the master branch in a state such that it can be used for all | ||
supported branches in downstream repos which use these files. |
Oops, something went wrong.