Skip to content

Commit 8f4cf16

Browse files
committed
Merge commit '47cb319707f5f6b6d2a44a70f52a738509bf3efe' into release-1.10
2 parents e7627fc + 47cb319 commit 8f4cf16

6 files changed

+111
-43
lines changed

release-tools/KUBERNETES_CSI_OWNERS_ALIASES

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ aliases:
2222
- ggriffiths
2323
- gnufied
2424
- humblec
25+
- mauriciopoppe
2526
- j-griffith
26-
- Jiawei0227
2727
- jingxu97
2828
- jsafrane
2929
- pohly
30+
- RaunakShah
31+
- sunnylovestiramisu
3032
- xing-yang
3133

3234
# This documents who previously contributed to Kubernetes-CSI
3335
# as approver.
3436
emeritus_approvers:
37+
- Jiawei0227
3538
- lpabon
3639
- sbezverk
3740
- vladimirvivien

release-tools/SIDECAR_RELEASE_PROCESS.md

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ naming convention `<hostpath-deployment-version>-on-<kubernetes-version>`.
9292
1. Check that all [canary CI
9393
jobs](https://k8s-testgrid.appspot.com/sig-storage-csi-ci) are passing,
9494
and that test coverage is adequate for the changes that are going into the release.
95+
1. Check that the post-\<sidecar\>-push-images builds are succeeding.
96+
[Example](https://k8s-testgrid.appspot.com/sig-storage-image-build#post-external-snapshotter-push-images)
9597
1. Make sure that no new PRs have merged in the meantime, and no PRs are in
9698
flight and soon to be merged.
9799
1. Create a new release following a previous release as a template. Be sure to select the correct

release-tools/filter-junit.go

+19-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,18 @@ var (
3535
)
3636

3737
/*
38-
* TestSuite represents a JUnit file. Due to how encoding/xml works, we have
38+
* TestResults represents a JUnit file. Due to how encoding/xml works, we have
3939
* represent all fields that we want to be passed through. It's therefore
4040
* not a complete solution, but good enough for Ginkgo + Spyglass.
41+
*
42+
* Before Kubernetes 1.25 and ginkgo v2, we directly had <testsuite> in the
43+
* JUnit file. Now we get <testsuites> and inside it the <testsuite>.
4144
*/
45+
type TestResults struct {
46+
XMLName string `xml:"testsuites"`
47+
TestSuite TestSuite `xml:"testsuite"`
48+
}
49+
4250
type TestSuite struct {
4351
XMLName string `xml:"testsuite"`
4452
TestCases []TestCase `xml:"testcase"`
@@ -48,6 +56,7 @@ type TestCase struct {
4856
Name string `xml:"name,attr"`
4957
Time string `xml:"time,attr"`
5058
SystemOut string `xml:"system-out,omitempty"`
59+
SystemErr string `xml:"system-err,omitempty"`
5160
Failure string `xml:"failure,omitempty"`
5261
Skipped SkipReason `xml:"skipped,omitempty"`
5362
}
@@ -93,7 +102,15 @@ func main() {
93102
}
94103
}
95104
if err := xml.Unmarshal(data, &junit); err != nil {
96-
panic(err)
105+
if err.Error() != "expected element type <testsuite> but have <testsuites>" {
106+
panic(err)
107+
}
108+
// Fall back to Ginkgo v2 format.
109+
var junitv2 TestResults
110+
if err := xml.Unmarshal(data, &junitv2); err != nil {
111+
panic(err)
112+
}
113+
junit.TestCases = append(junit.TestCases, junitv2.TestSuite.TestCases...)
97114
}
98115
}
99116

release-tools/go-get-kubernetes.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
#
16+
1717
# This script can be used while converting a repo from "dep" to "go mod"
1818
# by calling it after "go mod init" or to update the Kubernetes packages
1919
# in a repo that has already been converted. Only packages that are

0 commit comments

Comments
 (0)