Skip to content

OCPBUGS-79591: Prepare 1.3.4 release#436

Merged
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
alebedev87:fix-check-labels
May 11, 2026
Merged

OCPBUGS-79591: Prepare 1.3.4 release#436
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
alebedev87:fix-check-labels

Conversation

@alebedev87
Copy link
Copy Markdown
Contributor

  • Fix the name labels in Containerfile.external-dns-operator and Containerfile.external-dns-operator-bundle to match product security metadata required by the check-labels release task
  • Bump the version label to 1.3.4 in Containerfiles, VERSION, and CSV

alebedev87 added 3 commits May 4, 2026 11:35
`check-labels` task in release pipeline enforces the usage
of names which correspond to product security metadata.
Without this change, releasing to stage/prod is failing.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 4, 2026

📝 Walkthrough

Walkthrough

The pull request bumps the external-dns operator version from 1.3.3 to 1.3.4 across multiple files. Containerfile labels are updated with new naming conventions (prefixed with edo/) and version increments. The VERSION file is updated to reflect the new version string. The ClusterServiceVersion manifest receives corresponding metadata updates including the version field and olm.skipRange annotation. The hack/sync-version.sh script is enhanced to synchronize both the version and release labels in Containerfiles when they diverge from the VERSION file.

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the two main objectives: fixing name labels in Containerfiles for product security compliance and bumping the version to 1.3.4 across relevant files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed This pull request does not modify any Ginkgo test files. Changes are limited to container image configuration, version metadata, and a version synchronization script.
Test Structure And Quality ✅ Passed The custom check for test structure and quality is not applicable to this pull request. The PR contains only version bump changes affecting container labels, build configuration files, and version metadata files. No Ginkgo test files or test code were modified.
Microshift Test Compatibility ✅ Passed This pull request does not add any new Ginkgo e2e tests and therefore the MicroShift test compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This pull request does not add any new Ginkgo e2e tests. The changes are limited to version bumps and label updates across Containerfiles, the VERSION file, Kubernetes manifests (ClusterServiceVersion), and a utility script for version synchronization (hack/sync-version.sh). Since no new e2e tests are introduced, the SNO test compatibility check is not applicable to this pull request.
Topology-Aware Scheduling Compatibility ✅ Passed The pull request contains only version bump updates and container image label modifications with no new scheduling constraints that would affect topology compatibility.
Ote Binary Stdout Contract ✅ Passed OTE Binary Stdout Contract check not applicable. PR modifies only configuration and metadata files (Containerfiles, VERSION, YAML, shell scripts) with no executable Go code.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The custom check for IPv6 and disconnected network test compatibility is not applicable to this pull request. The PR contains no new test files or test modifications.
Title check ✅ Passed The title 'OCPBUGS-79591: Prepare 1.3.4 release' clearly and concisely describes the main change—preparing a release with version bump to 1.3.4—matching the changeset's primary objective.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from davidesalerno and gcs278 May 4, 2026 09:43
@alebedev87 alebedev87 changed the title Prepare 1.3.4 release OCPBUGS-79591: Prepare 1.3.4 release May 4, 2026
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels May 4, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@alebedev87: This pull request references Jira Issue OCPBUGS-79591, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

  • Fix the name labels in Containerfile.external-dns-operator and Containerfile.external-dns-operator-bundle to match product security metadata required by the check-labels release task
  • Bump the version label to 1.3.4 in Containerfiles, VERSION, and CSV

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 openshift-eng/jira-lifecycle-plugin repository.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
hack/sync-version.sh (1)

46-52: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Release drift is missed when version is already in sync.

The update branch only triggers when current_version differs. If version matches but release is stale, Line 46 reports OK and Line 51 never runs.

Proposed fix
-    current_version=$(grep -oP 'version="\K[^"]+' "$containerfile" | head -1)
+    current_version=$(grep -oP 'version="\K[^"]+' "$containerfile" | head -1)
+    current_release=$(grep -oP 'release="\K[^"]+' "$containerfile" | head -1 || true)

@@
-    if [ "$current_version" = "$version" ]; then
+    if [ "$current_version" = "$version" ] && { [ -z "$current_release" ] || [ "$current_release" = "$version" ]; }; then
         echo "[OK] $(basename "$containerfile"): already in sync ($version)"
     else
         echo "[UPDATE] $(basename "$containerfile"): updating from $current_version to $version"
         sed -i "s/version=\"[^\"]*\"/version=\"$version\"/" "$containerfile"
-        sed -i "s/release=\"[^\"]*\"/release=\"$version\"/" "$containerfile"
+        if grep -q 'release="' "$containerfile"; then
+            sed -i "s/release=\"[^\"]*\"/release=\"$version\"/" "$containerfile"
+        fi
         any_updated=true
     fi
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@hack/sync-version.sh` around lines 46 - 52, The script currently skips
updating release when version matches because the if checks only current_version
vs version; modify the logic to also read the current release from
"$containerfile" (e.g., current_release via grep/sed like current_release=$(grep
-oP 'release="\K[^"]+' "$containerfile")) and then: if both current_version ==
version and current_release == version print OK, else run the sed replacements
for version and release as needed and set any_updated=true; ensure you echo an
update message when release is changed even if version was already in sync and
update only the fields that differ.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@bundle/manifests/external-dns-operator.clusterserviceversion.yaml`:
- Around line 341-349: The CSV was bumped to name: external-dns-operator.v1.3.4
and olm.skipRange: <1.3.4 but the catalog entries were not updated; update both
catalog.yaml and catalog-template.yaml to add an entry for version
external-dns-operator.v1.3.4 and set replaces: external-dns-operator.v1.3.3 so
the upgrade chain is continuous, ensuring the new CSV name and olm.skipRange
remain as in the CSV.

---

Outside diff comments:
In `@hack/sync-version.sh`:
- Around line 46-52: The script currently skips updating release when version
matches because the if checks only current_version vs version; modify the logic
to also read the current release from "$containerfile" (e.g., current_release
via grep/sed like current_release=$(grep -oP 'release="\K[^"]+'
"$containerfile")) and then: if both current_version == version and
current_release == version print OK, else run the sed replacements for version
and release as needed and set any_updated=true; ensure you echo an update
message when release is changed even if version was already in sync and update
only the fields that differ.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: c71c4c7d-367e-4259-a995-0f294a10faf3

📥 Commits

Reviewing files that changed from the base of the PR and between 40d02d7 and b7299f4.

📒 Files selected for processing (5)
  • Containerfile.external-dns-operator
  • Containerfile.external-dns-operator-bundle
  • VERSION
  • bundle/manifests/external-dns-operator.clusterserviceversion.yaml
  • hack/sync-version.sh

Comment on lines +341 to +349
olm.skipRange: <1.3.4
operatorframework.io/suggested-namespace: external-dns-operator
operators.openshift.io/valid-subscription: '["OpenShift Kubernetes Engine", "OpenShift
Container Platform", "OpenShift Platform Plus"]'
operators.operatorframework.io/builder: operator-sdk-v1.16.0+git
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/openshift/external-dns-operator
support: Red Hat, Inc.
name: external-dns-operator.v1.3.3
name: external-dns-operator.v1.3.4
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot May 4, 2026

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "CSV version fields:"
rg -n 'name:\s*external-dns-operator\.v|olm\.skipRange:\s*<1\.3|^\s*version:\s*1\.3' \
  bundle/manifests/external-dns-operator.clusterserviceversion.yaml

echo
echo "Catalog references:"
rg -n 'external-dns-operator\.v1\.3\.[0-9]+|skipRange:\s*<1\.3\.[0-9]+' \
  catalog/v4.21/catalog.yaml catalog/v4.21/catalog-template.yaml

Repository: openshift/external-dns-operator

Length of output: 3990


Update catalog files to include v1.3.4 and maintain upgrade-chain consistency.

The CSV has been bumped to v1.3.4 with olm.skipRange: <1.3.4, but catalog/v4.21/catalog.yaml and catalog/v4.21/catalog-template.yaml still reference only up to v1.3.3. Add entries for v1.3.4 in both catalog files with replaces: external-dns-operator.v1.3.3 to ensure the upgrade path is available to users.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bundle/manifests/external-dns-operator.clusterserviceversion.yaml` around
lines 341 - 349, The CSV was bumped to name: external-dns-operator.v1.3.4 and
olm.skipRange: <1.3.4 but the catalog entries were not updated; update both
catalog.yaml and catalog-template.yaml to add an entry for version
external-dns-operator.v1.3.4 and set replaces: external-dns-operator.v1.3.3 so
the upgrade chain is continuous, ensuring the new CSV name and olm.skipRange
remain as in the CSV.

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.

This will be done in follow up PRs.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@alebedev87, understood! Would you like me to open a GitHub issue to track the catalog file updates (adding v1.3.4 entries with replaces: external-dns-operator.v1.3.3 in catalog/v4.21/catalog.yaml and catalog/v4.21/catalog-template.yaml) as a follow-up?

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.

No, before the FBCs are updated we will need to get a bundle but this bundle will need the changes from this PR.

@melvinjoseph86
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 9, 2026
Copy link
Copy Markdown
Contributor

@grzpiotrowski grzpiotrowski left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 11, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grzpiotrowski

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 11, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 11, 2026

@alebedev87: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot Bot merged commit a9ec163 into openshift:main May 11, 2026
33 checks passed
@openshift-ci-robot
Copy link
Copy Markdown

@alebedev87: Jira Issue OCPBUGS-79591: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-79591 has been moved to the MODIFIED state.

Details

In response to this:

  • Fix the name labels in Containerfile.external-dns-operator and Containerfile.external-dns-operator-bundle to match product security metadata required by the check-labels release task
  • Bump the version label to 1.3.4 in Containerfiles, VERSION, and CSV

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 openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants