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
This enables testing of other repos and of this repo itself inside
Prow. Currently supported is unit testing ("make test") and E2E
testing (either via a local test suite or the Kubernetes E2E test
suite applied to the hostpath driver example deployment).
The script passes shellcheck and uses Prow to verify that for future
PRs.
Copy file name to clipboardExpand all lines: README.md
+45
Original file line number
Diff line number
Diff line change
@@ -49,3 +49,48 @@ Cheat sheet:
49
49
-`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)
50
50
-`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)
51
51
- 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
52
+
53
+
End-to-end testing
54
+
------------------
55
+
56
+
A repo that wants to opt into testing via Prow must set up a top-level
57
+
`.prow.sh`. Typically that will source `prow.sh` and then transfer
58
+
control to it:
59
+
60
+
```bash
61
+
#! /bin/bash -e
62
+
63
+
. release-tools/prow.sh
64
+
main
65
+
```
66
+
67
+
All Kubernetes-CSI repos are expected to switch to Prow. For details
0 commit comments