-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Remove obsolete check for alpha
tests
#30527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove obsolete check for alpha
tests
#30527
Conversation
Welcome @chansuke! |
Hi @chansuke. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running the modified script leads to changes in the jobs:
diff --git a/config/jobs/kubernetes-csi/csi-driver-host-path/csi-driver-host-path-config.yaml b/config/jobs/kubernetes-csi/csi-driver-host-path/csi-driver-host-path-config.yaml
index 1ce6641b69..53b5522725 100644
--- a/config/jobs/kubernetes-csi/csi-driver-host-path/csi-driver-host-path-config.yaml
+++ b/config/jobs/kubernetes-csi/csi-driver-host-path/csi-driver-host-path-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-csi-driver-host-path-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: []
@@ -347,7 +347,7 @@ presubmits:
- name: pull-kubernetes-csi-csi-driver-host-path-1-24-test-on-kubernetes-1-24
cluster: eks-prow-build-cluster
always_run: true
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: []
@@ -444,7 +444,7 @@ presubmits:
- name: pull-kubernetes-csi-csi-driver-host-path-1-25-test-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: true
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: []
@@ -638,7 +638,7 @@ presubmits:
- name: pull-kubernetes-csi-csi-driver-host-path-alpha-1-25-test-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: []
diff --git a/config/jobs/kubernetes-csi/external-attacher/external-attacher-config.yaml b/config/jobs/kubernetes-csi/external-attacher/external-attacher-config.yaml
index 2aa58d51fd..874405cbd4 100644
--- a/config/jobs/kubernetes-csi/external-attacher/external-attacher-config.yaml
+++ b/config/jobs/kubernetes-csi/external-attacher/external-attacher-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-external-attacher-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: ["^(release-0.2.0|release-0.3.0|release-0.4|release-1.0|v0.1.0)$"]
diff --git a/config/jobs/kubernetes-csi/external-provisioner/external-provisioner-config.yaml b/config/jobs/kubernetes-csi/external-provisioner/external-provisioner-config.yaml
index c08bac9128..ee9a83f9b7 100644
--- a/config/jobs/kubernetes-csi/external-provisioner/external-provisioner-config.yaml
+++ b/config/jobs/kubernetes-csi/external-provisioner/external-provisioner-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-external-provisioner-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: ["^(release-0.2.0|release-0.3.0|release-0.4|release-1.0|v0.1.0)$"]
diff --git a/config/jobs/kubernetes-csi/external-resizer/external-resizer-config.yaml b/config/jobs/kubernetes-csi/external-resizer/external-resizer-config.yaml
index 30533365aa..eddabee8aa 100644
--- a/config/jobs/kubernetes-csi/external-resizer/external-resizer-config.yaml
+++ b/config/jobs/kubernetes-csi/external-resizer/external-resizer-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-external-resizer-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: []
diff --git a/config/jobs/kubernetes-csi/external-snapshotter/external-snapshotter-config.yaml b/config/jobs/kubernetes-csi/external-snapshotter/external-snapshotter-config.yaml
index 4b02474b9e..cda7dd60bd 100644
--- a/config/jobs/kubernetes-csi/external-snapshotter/external-snapshotter-config.yaml
+++ b/config/jobs/kubernetes-csi/external-snapshotter/external-snapshotter-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-external-snapshotter-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: ["^(k8s_1.12.0-beta.1|release-0.4|release-1.0)$"]
diff --git a/config/jobs/kubernetes-csi/livenessprobe/livenessprobe-config.yaml b/config/jobs/kubernetes-csi/livenessprobe/livenessprobe-config.yaml
index bce1948fd4..5d277464b0 100644
--- a/config/jobs/kubernetes-csi/livenessprobe/livenessprobe-config.yaml
+++ b/config/jobs/kubernetes-csi/livenessprobe/livenessprobe-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-livenessprobe-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: ["^(release-0.4|release-1.0)$"]
diff --git a/config/jobs/kubernetes-csi/node-driver-registrar/node-driver-registrar-config.yaml b/config/jobs/kubernetes-csi/node-driver-registrar/node-driver-registrar-config.yaml
index 4ece605cc4..47269f5013 100644
--- a/config/jobs/kubernetes-csi/node-driver-registrar/node-driver-registrar-config.yaml
+++ b/config/jobs/kubernetes-csi/node-driver-registrar/node-driver-registrar-config.yaml
@@ -296,7 +296,7 @@ presubmits:
- name: pull-kubernetes-csi-node-driver-registrar-alpha-1-25-on-kubernetes-1-25
cluster: eks-prow-build-cluster
always_run: false
- optional: true
+ optional: false
decorate: true
skip_report: false
skip_branches: ["^(release-1.0)$"]
Is that intentional?
If yes, include them here. If not, the if checks in the script aren't obsolete yet.
@pohly |
Then include them in this PR please. |
cluster: eks-prow-build-cluster | ||
always_run: false | ||
optional: true | ||
optional: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that I look at this again, I wonder whether this really makes sense. This is a job which runs alpha features. Should the result of those jobs really be merge-blocking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the feedback. I agree that this job, which runs alpha features, shouldn't necessarily be merge-blocking. I'll revert the script to its original state to reflect this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pohly I've reverted the chnges.
Do you think it's reasonable to keep the TODO
comment? If not, I can remove it.
# https://github.com/kubernetes-csi/csi-driver-host-path/pull/282 has not been merged yet,
# therefore pull jobs which depend on the new deployment flavors have to be optional.
# TODO: remove this check once merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is out-dated, so it would make sense to update the script so that has the right checks and produces the desired output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the resulting changes in the jobs (there are some!) and squash into a single commit.
eca854f
to
8ef8930
Compare
8ef8930
to
6298d32
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chansuke The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@chansuke: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Removed outdated check and simplify
pull_optional()
function.The PR has been merged and the specific check for "alpha" tests and deployment suffix is no longer necessary.