Skip to content

Handle WHAT/INSTANCE_PREFIX env var mapping better#511

Closed
dobbymoodge wants to merge 1 commit into
openshift:masterfrom
dobbymoodge:test_deploy_say_what
Closed

Handle WHAT/INSTANCE_PREFIX env var mapping better#511
dobbymoodge wants to merge 1 commit into
openshift:masterfrom
dobbymoodge:test_deploy_say_what

Conversation

@dobbymoodge

Copy link
Copy Markdown
Contributor

No description provided.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 19, 2017
Comment thread cluster/test-deploy/Makefile Outdated

@smarterclayton smarterclayton Dec 19, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted this change.

@openshift-ci-robot openshift-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 19, 2017
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 19, 2017
@dobbymoodge

Copy link
Copy Markdown
Contributor Author

@smarterclayton updated cluster/ci/Makefile as well

@smarterclayton

Copy link
Copy Markdown
Contributor

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.

@smarterclayton

Copy link
Copy Markdown
Contributor

No, reread (though it was same file).

@smarterclayton

Copy link
Copy Markdown
Contributor

Nm

Comment thread cluster/ci/Makefile Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we can’t make this an unconditional equality? Ie remove the “?”

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?? That's what this PR does ??

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smarterclayton Any chance getting some clarification on this comment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smarterclayton This is needed for me to automate pruning, ptal and merge

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 11, 2018
@dobbymoodge dobbymoodge force-pushed the test_deploy_say_what branch from 2fa9d25 to 4171041 Compare March 5, 2018 21:08
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 5, 2018
@dobbymoodge dobbymoodge force-pushed the test_deploy_say_what branch from 4171041 to 3cbb2eb Compare March 7, 2018 19:24
@dobbymoodge dobbymoodge force-pushed the test_deploy_say_what branch from 3cbb2eb to e9a3407 Compare April 27, 2018 14:52
Change this in `cluster/test_deploy/Makefile` and `cluster/ci/Makefile`
to maintain consistent behavior.
@dobbymoodge dobbymoodge force-pushed the test_deploy_say_what branch from e9a3407 to 0496526 Compare May 18, 2018 19:17
@droslean

Copy link
Copy Markdown
Member

/test all

@droslean

Copy link
Copy Markdown
Member

/close

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@droslean: Closed this PR.

Details

In response to this:

/close

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.

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@dobbymoodge: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/pj-rehearse 0496526 link /test pj-rehearse

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.

Details

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.

dustman9000 added a commit to dustman9000/release that referenced this pull request Jul 2, 2026
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
dustman9000 added a commit to dustman9000/release that referenced this pull request Jul 2, 2026
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
dustman9000 added a commit to dustman9000/release that referenced this pull request Jul 2, 2026
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
dustman9000 added a commit to dustman9000/release that referenced this pull request Jul 2, 2026
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
openshift-merge-bot Bot pushed a commit that referenced this pull request Jul 2, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants