Skip to content

🌱 Helm poc remove bd get artifacts - #886

Merged
dtfranz merged 1 commit into
operator-framework:helm-pocfrom
dtfranz:helm-poc_remove-bd-get-artifacts
May 22, 2024
Merged

🌱 Helm poc remove bd get artifacts#886
dtfranz merged 1 commit into
operator-framework:helm-pocfrom
dtfranz:helm-poc_remove-bd-get-artifacts

Conversation

@dtfranz

Copy link
Copy Markdown
Contributor

When tests fail, gatherArtifacts is run to collect cluster state. This PR removes gathering of BundleDeployments since we don't use them anymore and it's generating additional misleading error messages.

This is minor and can be merged after helm-poc branch to reduce diffs in that PR.

When tests fail, gatherArtifacts is run to collect cluster state. This PR removes gathering of BundleDeployments since we don't use them anymore and it's generating additional misleading error messages.
Signed-off-by: dtfranz <dfranz@redhat.com>
@dtfranz
dtfranz requested a review from a team as a code ownerMay 22, 2024 17:48

@varshaprasad96varshaprasad96 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
/approve

@openshift-ciopenshift-ciBot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2024
@codecov

codecovBot commented May 22, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.38%. Comparing base (d44a62e) to head (a6d3c7a).

Additional details and impacted files
@@ Coverage Diff @@## helm-poc #886 +/- ##
============================================
- Coverage 75.81% 75.38% -0.43% 
============================================
Files 18 18 Lines 1170 1170 ============================================
- Hits 887 882 -5 - Misses 205 208 +3 - Partials 78 80 +2 
FlagCoverage Δ
e2e56.06% <ø> (-1.12%)⬇️
unit50.60% <ø> (ø)

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.

@dtfranz
dtfranz merged commit 60f4c80 into operator-framework:helm-pocMay 22, 2024
dtfranz added a commit that referenced this pull request May 23, 2024
When tests fail, gatherArtifacts is run to collect cluster state. This PR removes gathering of BundleDeployments since we don't use them anymore and it's generating additional misleading error messages.
Signed-off-by: dtfranz <dfranz@redhat.com>
github-merge-queueBot pushed a commit that referenced this pull request May 30, 2024
…s into the cluster (#846)
* Helm POC rebase-a-thon
* Unpack Image (#811)
Builds and loads the unpacker binary into the operator-controller image so we don't need to use the rukpak image.
Signed-off-by: dtfranz <dfranz@redhat.com>
* ✨ OPRUN-3293 Fixes several unit tests - not cache ones (#831)
* Fix, rm or skip BundleDeployment related tests
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Address lint errors
Signed-off-by: Brett Tofel <btofel@redhat.com>
---------
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Fix e2e (#843)
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
* Make goreleaser build unpack
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Rm commented code
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Rebase required changes
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Cleanups (#854)
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
* Expand comments in Dockerfile
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Address Reviews
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
* Back out packagerrors
It's agreed that this makes debugging and reasoning about log messages and runtime errors much harder.
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Helm POC e2e fixes (#870)
Fixes the e2e tests in helm-poc branch and restores feature-gate switching.
Signed-off-by: dtfranz <dfranz@redhat.com>
* Fix defer location (#883)
Fixes the defer location to make sure that all resources are cleaned up properly.
Signed-off-by: dtfranz <dfranz@redhat.com>
* Remove BundleDeployments gathering from e2e's gatherArtifacts (#886)
When tests fail, gatherArtifacts is run to collect cluster state. This PR removes gathering of BundleDeployments since we don't use them anymore and it's generating additional misleading error messages.
Signed-off-by: dtfranz <dfranz@redhat.com>
* Address reviews (#887)
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
* 🌱 Proposed way to unskip some tests (#874)
* Proposed way to unskip some tests
TestClusterExtensionChannelVersionExists mostly restored here
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Refactors global variable names
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Removes BundleDeployment related checking
In just one test, for now.
Signed-off-by: Brett Tofel <btofel@redhat.com>
* fix unit test - TestClusterExtensionChannelVersionExists
* Unskip all - failing tests (up|down)grade should err
Unskips all in clusterextension_controller_test.go
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Unskip all clusterextension_registryv1_validation_test.go
Still failing tests (up|down)grade should err b/c we don't have an installedBundle to check against
Signed-off-by: Brett Tofel <btofel@redhat.com>
* debugging
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
* Fixes and additions pending & unpack path
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Fix linter, remove debug logs and extraneous file
Signed-off-by: dtfranz <dfranz@redhat.com>
* Fix e2e failure due to race condition
Signed-off-by: dtfranz <dfranz@redhat.com>
---------
Signed-off-by: Brett Tofel <btofel@redhat.com>
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
Signed-off-by: dtfranz <dfranz@redhat.com>
Co-authored-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
Co-authored-by: dtfranz <dfranz@redhat.com>
* Revert goreleaser to use buildx
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Revert all of goreleaser to use buildx
Signed-off-by: Brett Tofel <btofel@redhat.com>
* Revert errorf->printf & rm some logging in tests
Signed-off-by: Brett Tofel <btofel@redhat.com>
---------
Signed-off-by: dtfranz <dfranz@redhat.com>
Signed-off-by: Brett Tofel <btofel@redhat.com>
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
Co-authored-by: Todd Short <tshort@redhat.com>
Co-authored-by: Daniel Franz <dfranz@redhat.com>
Co-authored-by: Varsha <varshaprasad96@gmail.com>
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.

2 participants

@dtfranz@varshaprasad96