Skip to content

🌱 Update to catalogd v0.26.0 and update e2e tests - #1237

Merged
tmshort merged 2 commits into
operator-framework:mainfrom
tmshort:update-catd-e2e
Sep 9, 2024
Merged

🌱 Update to catalogd v0.26.0 and update e2e tests#1237
tmshort merged 2 commits into
operator-framework:mainfrom
tmshort:update-catd-e2e

Conversation

@tmshort

@tmshorttmshort commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

Fix#1115

  • Use proper labels from catalogd
  • Add better deployment checking
  • Fix broken test

This test seems broken, it's supposed to resolve again after updating to V2. The test implies that this should be the 2.0.0 version, but it's checking against 1.2.0 (which was the original version installed).

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

* Use proper labels from catalogd
* Add better deployment checking
* Fix broken test
This test seems broken, it's supposed to resolve again after
updating to V2. The test implies that this should be the 2.0.0
version, but it's checking against 1.2.0 (which was the original
version installed).
Signed-off-by: Todd Short <tshort@redhat.com>
@tmshort
tmshort requested a review from a team as a code ownerSeptember 9, 2024 18:07
@tmshorttmshort changed the title Update to catalogd v0.26.0 and update e2e tests🌱 Update to catalogd v0.26.0 and update e2e testsSep 9, 2024
@netlify

netlifyBot commented Sep 9, 2024

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

NameLink
🔨 Latest commit5330ca0
🔍 Latest deploy loghttps://app.netlify.com/sites/olmv1/deploys/66df3c07539ae800081925cc
😎 Deploy Previewhttps://deploy-preview-1237--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines +716 to +717
Name: "prometheus-operator.2.0.0",
Version: "2.0.0",

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

The original test seemed wrong. The catalog is updated to v2.0, but it remains as 1.2.0? That doesn't seem right. With the latest changes this now seems to be behaving as expected.

@codecov

codecovBot commented Sep 9, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.53%. Comparing base (f8c9077) to head (5330ca0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #1237 +/- ##
=======================================
Coverage 76.53% 76.53% =======================================
Files 40 40 Lines 2340 2340 =======================================
Hits 1791 1791 Misses 392 392 Partials 157 157 
FlagCoverage Δ
e2e57.64% <ø> (ø)
unit52.47% <ø> (ø)

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.

Signed-off-by: Todd Short <tshort@redhat.com>
Comment on lines +48 to +49
# Wait for the rollout, and then wait for the deployment to be Available
kubectl_wait_rollout "olmv1-system" "deployment/catalogd-controller-manager" "60s"

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

The deployment is updated with the latest cert secret, so this will wait for the rollout to complete, and the next step will ensure that it's ready.

Comment on lines -47 to -48
Name: name,
Labels: map[string]string{"olm.operatorframework.io/name": name},

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

This label is now added automatically by v0.26.0 of catalogd

@LalatenduMohantyLalatenduMohanty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ciopenshift-ciBot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2024
@tmshort
tmshort added this pull request to the merge queue Sep 9, 2024
Merged via the queue into operator-framework:main with commit 57ac405Sep 9, 2024
@tmshort
tmshort deleted the update-catd-e2e branch September 9, 2024 20:01
@skattojuskattoju mentioned this pull request Sep 25, 2024
4 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtmIndicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E tests for labeling webhooks and selector

3 participants

@tmshort@LalatenduMohanty@grokspawn