Skip to content

Commit ecf7ebf

Browse files
List the best practices on configuring staging repo
As discussed in kubernetes/test-infra#34209 we want those best practices applied for all staging repositories
1 parent 7712817 commit ecf7ebf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

contributors/devel/sig-architecture/staging.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,17 @@ a published repo, the code you get is exactly the same as if you check out the
2424
It is recommend to use the semver `v0.x.y` tags for a seamless experience
2525
with go modules.
2626

27+
## Configuring Staging Repositories
28+
2729
If further repos under staging are needed, adding them to the bot is easy.
2830
Contact one of the [owners of the bot](https://git.k8s.io/publishing-bot/OWNERS).
2931

3032
Currently, the bot is hosted on a
3133
[public CNCF cluster](https://github.com/kubernetes/publishing-bot/blob/master/production.md).
34+
35+
As staging repository is not designed for direct contributions it is recommended to:
36+
37+
1. Make sure README.md in the root folder explicitly stating that contributions (issues and PRs)
38+
must be done to the Kubernetes repository, not to the staging copy.
39+
3. Request to disable issues on the repository (like this [example](https://github.com/kubernetes/org/issues/5370)).
40+
4. Block PRs using prow bot (like this [example](https://github.com/kubernetes/test-infra/pull/34209)).

0 commit comments

Comments
 (0)