Skip to content

Commit c7c0c59

Browse files
authored
Merge pull request #7284 from sbueringer/pr-update-job-doc
📖 book: update job documentation + add test-infra config
2 parents 1b7490a + 2483fbb commit c7c0c59

File tree

1 file changed

+40
-11
lines changed

1 file changed

+40
-11
lines changed

docs/book/src/reference/jobs.md

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Jobs
22

33
This document intents to provide an overview over our jobs running via Prow, GitHub actions and Google Cloud Build.
4+
It also documents the cluster-api specific configuration in test-infra.
45

56
## Builds and Tests running on the main branch
67

@@ -15,7 +16,7 @@ This document intents to provide an overview over our jobs running via Prow, Git
1516
Prow Presubmits:
1617
* [pull-cluster-api-build-main] `./scripts/ci-build.sh`
1718
* ✳️️ [pull-cluster-api-apidiff-main] `./scripts/ci-apidiff.sh`
18-
* [pull-cluster-api-verify] `./scripts/ci-verify.sh`
19+
* [pull-cluster-api-verify-main] `./scripts/ci-verify.sh`
1920
* [pull-cluster-api-test-main] `./scripts/ci-test.sh`
2021
* [pull-cluster-api-test-mink8s-main] `./scripts/ci-test.sh`
2122
* [pull-cluster-api-e2e-main] `./scripts/ci-e2e.sh`
@@ -30,8 +31,17 @@ Prow Presubmits:
3031
* GINKGO_FOCUS: `[K8s-Upgrade]`
3132

3233
GitHub Presubmit Workflows:
33-
* golangci-lint: golangci/golangci-lint-action@v2 (locally via `make lint`)
34-
* verify: kubernetes-sigs/[email protected] verifier
34+
* golangci-lint: golangci/golangci-lint-action
35+
* Runs golangci-lint. Can be run locally via `make lint`.
36+
* verify: kubernetes-sigs/kubebuilder-release-tools verifier
37+
* Verifies the PR titles have a valid format, i.e. contains one of the valid icons.
38+
* Verifies the PR description is valid, i.e. is long enough.
39+
* Check PR Markdown links (run when markdown files changed)
40+
* Checks markdown for broken links.
41+
* dependabot (run on dependabot PRs)
42+
* Regenerates Go modules and code.
43+
* release (run on tags)
44+
* Creates a GitHub release with release notes for the tag.
3545

3646
### Postsubmits
3747

@@ -42,14 +52,13 @@ Prow Postsubmits:
4252

4353
Prow Periodics:
4454
* [periodic-cluster-api-test-main] `./scripts/ci-test.sh`
55+
* [periodic-cluster-api-test-mink8s-main] `./scripts/ci-test.sh`
56+
* KUBEBUILDER_ENVTEST_KUBERNETES_VERSION: `1.20.2`
4557
* [periodic-cluster-api-e2e-main] `./scripts/ci-e2e.sh`
4658
* GINKGO_SKIP: `[Conformance] [K8s-Upgrade]|[IPv6]`
47-
* [periodic-cluster-api-e2e-upgrade-v0-3-to-main] `./scripts/ci-e2e.sh`
48-
* GINKGO_FOCUS: `[clusterctl-Upgrade]`
49-
* [periodic-cluster-api-e2e-upgrade-v1-0-to-main] `./scripts/ci-e2e.sh`
50-
* GINKGO_FOCUS: `[clusterctl-Upgrade]`
5159
* [periodic-cluster-api-e2e-mink8s-main] `./scripts/ci-e2e.sh`
5260
* GINKGO_SKIP: `[Conformance] [K8s-Upgrade]|[IPv6]|[ClusterClass]`
61+
* KUBERNETES_VERSION_MANAGEMENT: `stable-1.20`, CLUSTER_TOPOLOGY: `false`
5362
* [periodic-cluster-api-e2e-workload-upgrade-1-18-1-19-main] `./scripts/ci-e2e.sh` FROM: `stable-1.18` TO: `stable-1.19`
5463
* GINKGO_FOCUS: `[K8s-Upgrade]`
5564
* [periodic-cluster-api-e2e-workload-upgrade-1-19-1-20-main] `./scripts/ci-e2e.sh` FROM: `stable-1.19` TO: `stable-1.20`
@@ -61,20 +70,39 @@ Prow Periodics:
6170
* [periodic-cluster-api-e2e-workload-upgrade-1-22-1-23-main] `./scripts/ci-e2e.sh` FROM: `stable-1.22` TO: `stable-1.23`
6271
* GINKGO_FOCUS: `[K8s-Upgrade]`
6372
* [periodic-cluster-api-e2e-workload-upgrade-1-23-1-24-main] `./scripts/ci-e2e.sh` FROM: `stable-1.23` TO: `stable-1.24`
73+
* GINKGO_FOCUS: `[K8s-Upgrade]`
6474
* [periodic-cluster-api-e2e-workload-upgrade-1-24-1-25-main] `./scripts/ci-e2e.sh` FROM: `stable-1.24` TO: `stable-1.25`
75+
* GINKGO_FOCUS: `[K8s-Upgrade]`
6576
* [periodic-cluster-api-e2e-workload-upgrade-1-25-latest-main] `./scripts/ci-e2e.sh` FROM: `stable-1.25` TO: `ci/latest-1.26`
6677
* GINKGO_FOCUS: `[K8s-Upgrade]`
6778
* [cluster-api-push-images-nightly] Google Cloud Build: `make release-staging-nightly`, `make release-capd-staging-nightly`
6879

69-
## Builds and Tests running on releases
80+
## Test-infra configuration
81+
82+
* config/jobs/image-pushing/k8s-staging-cluster-api.yaml
83+
* Configures nightly and postsubmit jobs to push images and manifests.
84+
* config/jobs/kubernetes-sigs/cluster-api/
85+
* Configures Cluster API presubmit and periodic jobs.
86+
* config/testgrids/kubernetes/sig-cluster-lifecycle/config.yaml
87+
* Configures Cluster API testgrid dashboards.
88+
* config/prow/config.yaml
89+
* `branch-protection` and `tide` are configured to make the golangci-lint GitHub action mandatory for merge
90+
* config/prow/plugins.yaml
91+
* `triggers`: configures `/ok-to-test`
92+
* `approve`: disable auto-approval of PR authors, ignore GitHub reviews (/approve is explicitly required)
93+
* `milestone_applier`: configures that merged PRs are automatically added to the correct milestone after merge
94+
* `repo_milestone`: configures `cluster-api-maintainers` as maintainers
95+
* `require_matching_label`: configures `needs-triage`
96+
* `plugins`: enables `milestone`, `override` and `require-matching-label` plugins
97+
* `external_plugins`: enables `cherrypicker`
98+
* label_sync/labels.yaml
99+
* Configures labels for the `cluster-api` repository.
70100

71-
GitHub (On Release) Workflows:
72-
* Update Homebrew Formula On Release: dawidd6/action-homebrew-bump-formula@v3 clusterctl
73101

74102
<!-- links -->
75103
[pull-cluster-api-build-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-build-main
76104
[pull-cluster-api-apidiff-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-apidiff-main
77-
[pull-cluster-api-verify]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-verify-main
105+
[pull-cluster-api-verify-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-verify-main
78106
[pull-cluster-api-test-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-test-main
79107
[pull-cluster-api-test-mink8s-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-test-mink8s-main
80108
[pull-cluster-api-e2e-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-e2e-main
@@ -83,6 +111,7 @@ GitHub (On Release) Workflows:
83111
[pull-cluster-api-e2e-full-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-e2e-full-main
84112
[pull-cluster-api-e2e-workload-upgrade-1-25-latest-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-pr-e2e-main-1-25-latest
85113
[periodic-cluster-api-test-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-test-main
114+
[periodic-cluster-api-test-mink8s-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-test-mink8s-main
86115
[periodic-cluster-api-e2e-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-e2e-main
87116
[periodic-cluster-api-e2e-upgrade-v0-3-to-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-e2e-upgrade-v0-3-to-main
88117
[periodic-cluster-api-e2e-upgrade-v1-0-to-main]: https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api#capi-e2e-upgrade-v1-0-to-main

0 commit comments

Comments
 (0)