Skip to content

Commit

Permalink
skip-review: add for kubevirtci minor version bump (#3820)
Browse files Browse the repository at this point in the history
Enable skipping reviews for k8s minor version bumps within kubevirtci.

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller authored Dec 11, 2024
1 parent 58e3464 commit 0315046
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- [Labels that apply to kubevirt/kubevirt-tutorial, only for PRs](#labels-that-apply-to-kubevirtkubevirt-tutorial-only-for-prs)
- [Labels that apply to kubevirt/kubevirt.github.io, for both issues and PRs](#labels-that-apply-to-kubevirtkubevirt.github.io-for-both-issues-and-prs)
- [Labels that apply to kubevirt/kubevirt.github.io, only for PRs](#labels-that-apply-to-kubevirtkubevirt.github.io-only-for-prs)
- [Labels that apply to kubevirt/kubevirtci, only for PRs](#labels-that-apply-to-kubevirtkubevirtci-only-for-prs)
- [Labels that apply to kubevirt/project-infra, for both issues and PRs](#labels-that-apply-to-kubevirtproject-infra-for-both-issues-and-prs)
- [Labels that apply to kubevirt/project-infra, only for PRs](#labels-that-apply-to-kubevirtproject-infra-only-for-prs)
- [Labels that apply to nmstate/kubernetes-nmstate, for both issues and PRs](#labels-that-apply-to-nmstatekubernetes-nmstate-for-both-issues-and-prs)
Expand Down Expand Up @@ -192,6 +193,12 @@ larger set of contributors to apply/remove them.
| ---- | ----------- | -------- | --- |
| <a id="kind/blog" href="#kind/blog">`kind/blog`</a> | Label for blog entries| anyone | [label](https://prow.ci.kubevirt.io/command-help#label) |

## Labels that apply to kubevirt/kubevirtci, only for PRs

| Name | Description | Added By | Prow Plugin |
| ---- | ----------- | -------- | --- |
| <a id="skip-review" href="#skip-review">`skip-review`</a> | Indicates a PR is trusted, used by tide for auto-merging PRs.| kubevirt-bot | |

## Labels that apply to kubevirt/project-infra, for both issues and PRs

| Name | Description | Added By | Prow Plugin |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,15 +312,19 @@ periodics:
securityContext:
runAsUser: 0
containers:
- image: quay.io/kubevirt/builder:2212180911-8818abcfa
- image: quay.io/kubevirtci/pr-creator:v20240913-6773146
command: ["/bin/sh"]
args:
- "-c"
- bazel_dir=$(mktemp -d) &&
curl --fail -L https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-linux-amd64 --output ${bazel_dir}/bazelisk &&
chmod a+x ${bazel_dir}/bazelisk &&
export PATH=${PATH}:${bazel_dir} &&
hack/git-pr.sh -c "bazelisk run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-last-three-minor-of v1 --k8s-provider-dir ${PWD}/../kubevirtci/cluster-provision/k8s" -p ../kubevirtci -r kubevirtci -b patch-version-bump -T main
- |
git-pr.sh \
-c "bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-last-three-minor-of v1 --k8s-provider-dir ${PWD}/../kubevirtci/cluster-provision/k8s" \
-p ../kubevirtci \
-r kubevirtci \
-b patch-version-bump \
-T main \
-B $'Update KubeVirtCI provider patch versions\nFYI @kubevirt/sig-buildsystem\n/cc none' \
-L 'skip-review'
resources:
requests:
memory: "200Mi"
Expand Down Expand Up @@ -352,7 +356,14 @@ periodics:
command: ["/bin/sh"]
args:
- "-c"
- git-pr.sh -c "bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-latest --k8s-provider-dir ${PWD}/../kubevirtci/cluster-provision/k8s --cluster-up-dir ${PWD}/../kubevirtci/cluster-up/cluster" -p ../kubevirtci -r kubevirtci -b minor-version-bump -T main
- |
git-pr.sh \
-c "bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-latest --k8s-provider-dir ${PWD}/../kubevirtci/cluster-provision/k8s --cluster-up-dir ${PWD}/../kubevirtci/cluster-up/cluster" \
-b minor-version-bump \
-r kubevirtci \
-p ../kubevirtci \
-T main \
-B $'Add KubeVirtCI provider latest minorversion\nFYI @kubevirt/sig-buildsystem\n/cc none'
resources:
requests:
memory: "200Mi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ tide:
- author: kubevirt-bot
repos:
- kubevirt/project-infra
- kubevirt/kubevirtci
labels:
- skip-review
missingLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,13 @@ repos:
target: both
prowPlugin: release-blocker
addedBy: prow
kubevirt/kubevirtci:
labels:
- addedBy: kubevirt-bot
color: 0ffa16
description: Indicates a PR is trusted, used by tide for auto-merging PRs.
name: skip-review
target: prs
kubevirt/kubevirt.github.io:
labels:
- color: 80e591
Expand Down

0 comments on commit 0315046

Please sign in to comment.