Handle WHAT/INSTANCE_PREFIX env var mapping better#511
Conversation
There was a problem hiding this comment.
I don't want to do this here, it's inconsistent with other makefiles. We should always set INSTANCE_PREFIX to WHAT, not default it.
There was a problem hiding this comment.
Reverted this change.
c8ce00c to
d09ce8b
Compare
d09ce8b to
2fa9d25
Compare
|
@smarterclayton updated |
|
Maybe I wasn’t clear - I don’t want the variable to be conditional, it has to be set in those jobs to a value. Don’t make setting it conditional. |
|
No, reread (though it was same file). |
|
Nm |
There was a problem hiding this comment.
Is there a reason we can’t make this an unconditional equality? Ie remove the “?”
There was a problem hiding this comment.
?? That's what this PR does ??
There was a problem hiding this comment.
@smarterclayton Any chance getting some clarification on this comment?
There was a problem hiding this comment.
@smarterclayton This is needed for me to automate pruning, ptal and merge
2fa9d25 to
4171041
Compare
4171041 to
3cbb2eb
Compare
3cbb2eb to
e9a3407
Compare
Change this in `cluster/test_deploy/Makefile` and `cluster/ci/Makefile` to maintain consistent behavior.
e9a3407 to
0496526
Compare
|
/test all |
|
/close |
|
@droslean: Closed this PR. DetailsIn response to this:
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. |
|
@dobbymoodge: The following test 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. DetailsInstructions 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. |
Several SRE operator repos only required ci/prow/images in branch protection, allowing PRs to merge with failing lint, test, coverage, and validate checks. Discovered when Dependabot auto-merge merged cloud-ingress-operator PRs openshift#505-openshift#511 with 3 failing checks. Remove skip_if_only_changed from CI configs so all tests are always_run, then add them to required_status_checks in branch protection. The skip_if_only_changed optimization saved CI time on docs-only PRs but conflicted with required_status_checks (checkconfig rejects contexts that are both required and required-if-present). Repos updated (12): - cloud-ingress-operator - configure-alertmanager-operator - custom-domains-operator (new branch-protection) - deadmanssnitch-operator - splunk-forwarder-operator (new branch-protection) - must-gather-operator (new branch-protection) - aws-account-operator - gcp-project-operator - managed-velero-operator - managed-cluster-validating-webhooks - osd-cluster-ready - pagerduty-operator
Several SRE operator repos only required ci/prow/images in branch protection, allowing PRs to merge with failing lint, test, coverage, and validate checks. Discovered when Dependabot auto-merge merged cloud-ingress-operator PRs openshift#505-openshift#511 with 3 failing checks. Remove skip_if_only_changed and run_if_changed from CI configs so all tests become always_run, then add them to required_status_checks in branch protection. These conditional run optimizations saved CI time on docs-only PRs but conflicted with required_status_checks (checkconfig --strict rejects contexts that are both required and required-if-present). Repos updated (12): - cloud-ingress-operator - configure-alertmanager-operator - custom-domains-operator (new branch-protection) - deadmanssnitch-operator - splunk-forwarder-operator (new branch-protection) - must-gather-operator (new branch-protection) - aws-account-operator - gcp-project-operator - managed-velero-operator - managed-cluster-validating-webhooks - osd-cluster-ready - pagerduty-operator
Several SRE operator repos only required ci/prow/images in branch protection, allowing PRs to merge with failing lint, test, coverage, and validate checks. Discovered when Dependabot auto-merge merged cloud-ingress-operator PRs openshift#505-openshift#511 with 3 failing checks. Remove skip_if_only_changed and run_if_changed from CI configs so all tests become always_run, then add them to required_status_checks in branch protection. These conditional run optimizations saved CI time on docs-only PRs but conflicted with required_status_checks (checkconfig --strict rejects contexts that are both required and required-if-present). Repos updated (12): - cloud-ingress-operator - configure-alertmanager-operator - custom-domains-operator (new branch-protection) - deadmanssnitch-operator - splunk-forwarder-operator (new branch-protection) - must-gather-operator (new branch-protection) - aws-account-operator - gcp-project-operator - managed-velero-operator - managed-cluster-validating-webhooks - osd-cluster-ready - pagerduty-operator
Several SRE operator repos only required ci/prow/images in branch protection, allowing PRs to merge with failing lint, test, coverage, and validate checks. Discovered when Dependabot auto-merge merged cloud-ingress-operator PRs openshift#505-openshift#511 with 3 failing checks. Three changes per repo: 1. Remove skip_if_only_changed/run_if_changed from CI configs so all tests become always_run 2. Add all non-optional checks to required_status_checks in branch protection prowconfigs 3. Replace required-if-present-contexts in _config.yaml with skip-unknown-contexts (matching rbac-permissions-operator pattern) to avoid checkconfig conflict Repos updated (12): - cloud-ingress-operator - configure-alertmanager-operator - custom-domains-operator (new branch-protection) - deadmanssnitch-operator - splunk-forwarder-operator (new branch-protection) - must-gather-operator (new branch-protection) - aws-account-operator - gcp-project-operator - managed-velero-operator - managed-cluster-validating-webhooks - osd-cluster-ready - pagerduty-operator
…1412) Several SRE operator repos only required ci/prow/images in branch protection, allowing PRs to merge with failing lint, test, coverage, and validate checks. Discovered when Dependabot auto-merge merged cloud-ingress-operator PRs #505-#511 with 3 failing checks. Three changes per repo: 1. Remove skip_if_only_changed/run_if_changed from CI configs so all tests become always_run 2. Add all non-optional checks to required_status_checks in branch protection prowconfigs 3. Replace required-if-present-contexts in _config.yaml with skip-unknown-contexts (matching rbac-permissions-operator pattern) to avoid checkconfig conflict Repos updated (12): - cloud-ingress-operator - configure-alertmanager-operator - custom-domains-operator (new branch-protection) - deadmanssnitch-operator - splunk-forwarder-operator (new branch-protection) - must-gather-operator (new branch-protection) - aws-account-operator - gcp-project-operator - managed-velero-operator - managed-cluster-validating-webhooks - osd-cluster-ready - pagerduty-operator
No description provided.