prowgen: allow ci-operator config to set private and expose#5127
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughAdds two optional booleans, Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 11 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Add private and expose fields to the prowgen section of ci-operator config. This allows repos to control job visibility directly in their ci-operator config instead of requiring a .config.prowgen file. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a7cc63d to
3619cf1
Compare
|
Scheduling tests matching the |
|
Tests from second stage were triggered manually. Pipeline can be controlled only manually, until HEAD changes. Use command to trigger second stage. |
|
@Prucek: The following test failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danilo-gemoli, Prucek The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8e2bfbf
into
openshift:main
| DisableRehearsals bool `json:"disable_rehearsals,omitempty"` | ||
| SkipOperatorPresubmits bool `json:"skip_operator_presubmits,omitempty"` | ||
| EnableSecretsStoreCSIDriver bool `json:"enable_secrets_store_csi_driver,omitempty"` | ||
| // Private indicates that generated jobs should be marked as hidden |
There was a problem hiding this comment.
This not entirely true. We need this configuration to inject the oauth settings in the decoration config.
Move private and expose settings from .config.prowgen files into ci-operator config's prowgen section. This includes org-level configs: - openshift-priv: private: true → added to 6393 ci-operator configs - windup: private+expose → added to 7 ci-operator configs - 45 repo-level .config.prowgen files migrated Files with only private/expose are deleted. Files with additional settings (slack_reporter, etc.) are kept with private/expose removed. Depends on openshift/ci-tools#5127. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move private and expose settings from .config.prowgen files into ci-operator config's prowgen section. This includes org-level configs: - openshift-priv: private: true → added to 6393 ci-operator configs - windup: private+expose → added to 7 ci-operator configs - 45 repo-level .config.prowgen files migrated Files with only private/expose are deleted. Files with additional settings (slack_reporter, etc.) are kept with private/expose removed. Depends on openshift/ci-tools#5127. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move private and expose settings from .config.prowgen files into ci-operator config's prowgen section. This includes org-level configs: - openshift-priv: private: true → added to 6393 ci-operator configs - windup: private+expose → added to 7 ci-operator configs - 45 repo-level .config.prowgen files migrated Files with only private/expose are deleted. Files with additional settings (slack_reporter, etc.) are kept with private/expose removed. Depends on openshift/ci-tools#5127. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…78250) Move private and expose settings from .config.prowgen files into ci-operator config's prowgen section. This includes org-level configs: - openshift-priv: private: true → added to 6393 ci-operator configs - windup: private+expose → added to 7 ci-operator configs - 45 repo-level .config.prowgen files migrated Files with only private/expose are deleted. Files with additional settings (slack_reporter, etc.) are kept with private/expose removed. Depends on openshift/ci-tools#5127. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…78250) Move private and expose settings from .config.prowgen files into ci-operator config's prowgen section. This includes org-level configs: - openshift-priv: private: true → added to 6393 ci-operator configs - windup: private+expose → added to 7 ci-operator configs - 45 repo-level .config.prowgen files migrated Files with only private/expose are deleted. Files with additional settings (slack_reporter, etc.) are kept with private/expose removed. Depends on openshift/ci-tools#5127. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Summary
privateandexposefields to theprowgensection of ci-operator config.config.prowgen(follows prowgen: allow ci-operator config to override .config.prowgen #5119 rehearsals, prowgen: allow ci-operator config to enable CSI secrets store #5120 CSI, prowgen: allow ci-operator config to skip operator presubmits #5121 skip-presubmits)Test plan
.config.prowgen-based private testhiddenis not set when expose is truego test ./pkg/prowgen/...)🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Tests