Skip to content

[release-1.30] Set DEPLOYMENT_NAME to csv name when OLM is true#1925

Merged
istio-testing merged 2 commits into
istio-ecosystem:release-1.30from
fjglira:manual-cp-1920
May 19, 2026
Merged

[release-1.30] Set DEPLOYMENT_NAME to csv name when OLM is true#1925
istio-testing merged 2 commits into
istio-ecosystem:release-1.30from
fjglira:manual-cp-1920

Conversation

@fjglira
Copy link
Copy Markdown
Contributor

@fjglira fjglira commented May 8, 2026

Manual cherry-pick for #1920.

The automatic cherry-pick of #1918 failed on release-1.30 because the prerequisite commit from #1874 had not been cherry-picked to this branch (it was cherry-picked to release-1.26 through release-1.29 but missed release-1.30).

This PR cherry-picks both commits in order:

  1. ca09f5fb — test: Modify await_operator to dynamically get deployment name from csv when OLM is true (test: Modify await_operator to dinamically get deployment name from csv when OLM is true #1874)
  2. 9a08acd3 — Set DEPLOYMENT_NAME to csv name when OLM is true (Set DEPLOYMENT_NAME to csv name when OLM is true #1918)

What type of PR is this?

  • Test

What this PR does / why we need it:

await_operator now dynamically gets the deployment name from the bundle CSV when OLM is true, and also sets DEPLOYMENT_NAME to that value. This avoids test failures when the bundle name differs from sail-operator.

Which issue(s) this PR fixes:

Fixes #1920

Related Issue/PR #1918 #1874

fjglira added 2 commits May 8, 2026 10:58
…sv when OLM is true (istio-ecosystem#1874)

* test: Modify await_operator to dinamically get deployment name from csv when OLM is true

If bundle name is different to sail operator and OLM is set to true in the test we got failures because await_operator never find a sail-operator deployment in the namespace

Signed-off-by: Francisco Herrera <fjglira@gmail.com>

* Get the deployment name from current .clusterserviceversion.yaml file in the manifest/bundle folder

Changes from review

Signed-off-by: Francisco Herrera <fjglira@gmail.com>

---------

Signed-off-by: Francisco Herrera <fjglira@gmail.com>
This will avoid issues on the test while waiting for operator because will set DEPLOYMENT_NAME to the csv name used into fork test

Signed-off-by: Francisco Herrera <fjglira@gmail.com>
@fjglira fjglira requested a review from a team as a code owner May 8, 2026 08:59
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.71%. Comparing base (395ce2e) to head (0feeb8b).
⚠️ Report is 6 commits behind head on release-1.30.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.30    #1925      +/-   ##
================================================
+ Coverage         80.52%   80.71%   +0.19%     
================================================
  Files                51       51              
  Lines              2598     2598              
================================================
+ Hits               2092     2097       +5     
+ Misses              384      380       -4     
+ Partials            122      121       -1     
Flag Coverage Δ
integration-tests 71.55% <ø> (ø)
unit-tests 52.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@pbajjuri20 pbajjuri20 left a comment

Choose a reason for hiding this comment

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

LGTM

@istio-testing istio-testing merged commit ab6651d into istio-ecosystem:release-1.30 May 19, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants