generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 10
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 #4 from pohly/prow-update-master
master: update release-tools
- Loading branch information
Showing
29 changed files
with
1,107 additions
and
299 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
release-tools/OWNERS_ALIASES |
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
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,7 +1,23 @@ | ||
#! /bin/bash -e | ||
|
||
# Copyright 2021 The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# This is for testing csi-release-tools itself in Prow. All other | ||
# repos use prow.sh for that, but as csi-release-tools isn't a normal | ||
# repo with some Go code in it, it has a custom Prow test script. | ||
|
||
./verify-shellcheck.sh "$(pwd)" | ||
./verify-spelling.sh "$(pwd)" | ||
./verify-boilerplate.sh "$(pwd)" |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
aliases: | ||
|
||
# SIG-Storage chairs and leads should always have approval rights in all repos. | ||
# Others may be added as needed here or in each repo. | ||
kubernetes-csi-approvers: | ||
- jsafrane | ||
- msau42 | ||
- saad-ali | ||
- xing-yang | ||
|
||
# Reviewers are automatically assigned to new PRs. The following | ||
# reviewers will be active in all repos. Other reviewers can be | ||
# added in each repo. | ||
# | ||
# Reviewers are encouraged to set the "Busy" flag in their GitHub status | ||
# when they are temporarily unable to review PRs. | ||
kubernetes-csi-reviewers: | ||
- andyzhangx | ||
- chrishenzie | ||
- ggriffiths | ||
- gnufied | ||
- humblec | ||
- j-griffith | ||
- Jiawei0227 | ||
- jingxu97 | ||
- jsafrane | ||
- pohly | ||
- xing-yang | ||
|
||
# This documents who previously contributed to Kubernetes-CSI | ||
# as approver. | ||
emeritus_approver: | ||
- lpabon | ||
- sbezverk | ||
- vladimirvivien | ||
|
||
# This documents who previously contributed to Kubernetes-CSI | ||
# as reviewer. | ||
emeritus_reviewer: | ||
- lpabon | ||
- saad-ali | ||
- sbezverk | ||
- vladimirvivien |
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,11 +1,8 @@ | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
approvers: | ||
- saad-ali | ||
- msau42 | ||
- kubernetes-csi-approvers | ||
- pohly | ||
|
||
reviewers: | ||
- saad-ali | ||
- msau42 | ||
- pohly | ||
- kubernetes-csi-reviewers |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
KUBERNETES_CSI_OWNERS_ALIASES |
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 |
---|---|---|
|
@@ -21,7 +21,11 @@ The expected repository layout is: | |
Dockerfile in the root when only building a single command | ||
- `Makefile` - includes `release-tools/build.make` and sets | ||
configuration variables | ||
- `.travis.yml` - a symlink to `release-tools/.travis.yml` | ||
- `.prow.sh` script which imports `release-tools/prow.sh` | ||
and may contain further customization | ||
- `.cloudbuild.sh` and `cloudbuild.yaml` as symlinks to | ||
the corresponding files in `release-tools` or (if necessary) | ||
as custom files | ||
|
||
To create a release, tag a certain revision with a name that | ||
starts with `v`, for example `v1.0.0`, then `make push` | ||
|
@@ -38,16 +42,23 @@ images. Building from master creates the main `canary` image. | |
Sharing and updating | ||
-------------------- | ||
|
||
[`git subtree`](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) | ||
[`git subtree`](https://github.com/git/git/blob/HEAD/contrib/subtree/git-subtree.txt) | ||
is the recommended way of maintaining a copy of the rules inside the | ||
`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. | ||
|
||
We no longer care about importing the full commit history, so `--squash` should be used | ||
when submitting a `release-tools` update. Also make sure that the PR for that | ||
contains the automatically generated commit message in the PR description. | ||
It contains the list of individual commits that were squashed. The script from | ||
https://github.com/kubernetes-csi/csi-release-tools/issues/7 can create such | ||
PRs automatically. | ||
|
||
Cheat sheet: | ||
|
||
- `git subtree add --prefix=release-tools https://github.com/kubernetes-csi/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) | ||
- `git subtree add --squash --prefix=release-tools https://github.com/kubernetes-csi/csi-release-tools.git master` - add release tools to a repo which does not have them yet (only once) | ||
- `git subtree pull --squash --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 | ||
|
||
verify-shellcheck.sh | ||
|
@@ -78,7 +89,7 @@ main | |
|
||
All Kubernetes-CSI repos are expected to switch to Prow. For details | ||
on what is enabled in Prow, see | ||
https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-csi | ||
https://github.com/kubernetes/test-infra/tree/HEAD/config/jobs/kubernetes-csi | ||
|
||
Test results for periodic jobs are visible in | ||
https://testgrid.k8s.io/sig-storage-csi-ci | ||
|
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
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright YEAR The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright YEAR The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright YEAR The Kubernetes Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
Copyright YEAR The Kubernetes Authors. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ |
Oops, something went wrong.