feat(rd-dev): replace development-operator overlay with rd-dev - #13681
Conversation
Merge development-operator overlay into rd-dev so rd-dev becomes the single overlay used for E2E/operator preview deployments. - rd-dev/kustomization.yaml now inherits ../development and carries the strategic-merge deletes and pipeline-service patch previously owned by development-operator - Add app-of-app-sets/rd-dev pointing ArgoCD root app at the rd-dev overlay - Update hack/preview.sh and hack/bootstrap-cluster.sh to use rd-dev instead of development-operator when --operator-overlay is passed development-operator overlay and its app-of-app-sets entry can be removed once CI validates this path. Signed-off-by: flacatus <flacatus@redhat.com>
Kustomize Render DiffComparing No render differences detected. |
|
🤖 Finished Review · ✅ Success · Started 5:00 PM UTC · Completed 5:16 PM UTC Commit: |
PR Summary by QodoConsolidate operator previews on the rd-dev overlay
AI Description
Diagram
High-Level Assessment
Files changed (8)
|
Code Review by Qodo
1.
|
ReviewFindingsHigh
Medium
Low
Next steps:
Previous runReviewFindingsMedium
Low
Previous run (2)ReviewFindingsMedium
Low
Previous run (3)ReviewFindingsMedium
Low
|
…xy wait DEPLOY_ONLY delete patches were written into development/delete-applications.yaml which is evaluated inside the inherited development sub-overlay. Patches targeting rd-dev-local ApplicationSets (konflux-operator, artifact-registry-proxy, etc.) caused Kustomize to fail because those resources do not exist in development. Fix: point TARGET_DELETE_FILE at rd-dev/delete-applications.yaml for the rd-dev overlay. The file is absent initially and wired into rd-dev/kustomization.yaml patchesStrategicMerge dynamically after configure_deploy_only and configure_kueue_for_ocp_version populate it. At the rd-dev level all ApplicationSets (inherited and local) are visible so patches resolve correctly. Also skip container-image-proxy in the ArgoCD sync wait loop. The ClusterIssuer cert-manager namespace issue is a pre-existing infrastructure bug unrelated to operator E2E validation. Signed-off-by: flacatus <flacatus@redhat.com>
|
🤖 Review · Commit: |
|
Code review by qodo was updated up to the latest commit 4bd2bd8 |
Two bugs in the rd-dev DEPLOY_ONLY path: 1. configure_deploy_only and the --grafana handler both invoke yq on TARGET_DELETE_FILE before the wiring block can create it. With Bash -e the missing file aborts the script. Fix: touch the file immediately after TARGET_DELETE_FILE is set for rd-dev so all yq calls have a valid (initially empty) target. 2. git commit -a does not stage newly created untracked files. If configure_deploy_only or configure_kueue_for_ocp_version populate rd-dev/delete-applications.yaml, the wiring block adds it to rd-dev/kustomization.yaml but the file itself is never staged. The pushed preview branch then references a missing patch and Argo CD fails to render the rd-dev root application. Fix: explicitly git add the delete file before committing when it was populated. Signed-off-by: flacatus <flacatus@redhat.com>
|
🤖 Review · Commit: |
|
Code review by qodo was updated up to the latest commit 9db6086 |
🤖 Pipeline Failure AnalysisCategory: Timeout The pipeline failed due to a timeout during the AppStudio operator overlay installation because the 📋 Technical DetailsImmediate CauseThe Contributing FactorsDespite the ImpactThe inability of the 🔍 Evidenceappstudio-operator-overlay-e2e-tests/redhat-appstudio-operator-overlay-installCategory: Logs:
|
Two bugs: 1. touch does not truncate an existing file, so a non-empty delete-applications.yaml left by an aborted preview run survives into the next run, causing stale DEPLOY_ONLY or Kueue deletions to be staged and pushed unintentionally. Replace touch with a redirect- truncate (> file) so the file is always empty at the start of each run. 2. --grafana removes monitoring-workload-grafana from TARGET_DELETE_FILE, which for rd-dev is the local empty file. The actual deletion entry lives in the inherited development/delete-applications.yaml. Add an explicit yq -i pass on that file when the overlay is rd-dev so --grafana correctly enables Grafana. Signed-off-by: flacatus <flacatus@redhat.com>
|
Code review by qodo was updated up to the latest commit 400a357 |
|
🤖 Finished Review · ✅ Success · Started 6:03 PM UTC · Completed 6:23 PM UTC Commit: |
|
/test ? |
|
Unsupported PR languages |
|
/test appstudio-operator-overlay-e2e-tests |
|
/test ? |
|
Unsupported PR languages |
|
/test appstudio-e2e-tests |
|
Unsupported PR languages |
|
@enkeefe00 can we remove prod labels? |
Risk Assessment
Risk Level: Medium |
I don't want to approve/merge this until we can see the new e2e tests running successfully. |
|
/test appstudio-e2e-tests |
|
Unsupported PR languages |
|
Not sure if i understand why… but lets do it .. |
|
the e2e failure is not related with this PR… |
|
/test appstudio-e2e-tests |
|
Unsupported PR languages |
|
/test appstudio-e2e-tests Attempt 3. All other attempts were success |
|
Unsupported PR languages |
|
🤖 Finished Review · ✅ Success · Started 11:36 AM UTC · Completed 11:55 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.54 |
|
/test appstudio-e2e-tests |
|
Unsupported PR languages |
|
/test appstudio-operator-overlay-e2e-tests I retest wrong test |
|
Unsupported PR languages |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enkeefe00, flacatus 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 |
e0b09ad
into
redhat-appstudio:main
Merge development-operator overlay into rd-dev so rd-dev becomes the single overlay used for E2E/operator preview deployments.
development-operator overlay and its app-of-app-sets entry can be removed once CI validates this path.