Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Install default-catalogs.yaml from Catalogd release #1079

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

trgeiger
Copy link
Contributor

@trgeiger trgeiger commented Jul 24, 2024

Description

Addresses #1026 by adding OperatorHub to the default installation script.

Installs default-catalogs.yaml from Catalogd release.

Reviewer Checklist

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

@trgeiger trgeiger requested a review from a team as a code owner July 24, 2024 16:43
Copy link

netlify bot commented Jul 24, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 8ac1fe3
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/66a3ef6c8509470008ff1b99
😎 Deploy Preview https://deploy-preview-1079--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.

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.74%. Comparing base (06b2455) to head (8ac1fe3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1079   +/-   ##
=======================================
  Coverage   72.74%   72.74%           
=======================================
  Files          33       33           
  Lines        1948     1948           
=======================================
  Hits         1417     1417           
  Misses        381      381           
  Partials      150      150           
Flag Coverage Δ
e2e 56.41% <ø> (+0.30%) ⬆️
unit 45.22% <ø> (-0.11%) ⬇️

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.

@tmshort
Copy link
Contributor

tmshort commented Jul 25, 2024

@trgeiger - requires rebase, and one of the e2e's is failing

@trgeiger trgeiger force-pushed the default-catalogs branch 2 times, most recently from 5cdb107 to cefc214 Compare July 25, 2024 20:58
@trgeiger
Copy link
Contributor Author

@tmshort e2e passes now, it was mad about the presence of operatorhub.io so I just edited the setup script to remove it for the test. Codecov is mad but everything else is passing

@trgeiger trgeiger changed the title ✨ Install default-catalogs from Catalogd release ✨ Update Catalogd dependency to v0.20.0 Jul 26, 2024
@trgeiger trgeiger changed the title ✨ Update Catalogd dependency to v0.20.0 ✨ Install default-catalogs.yaml from Catalogd release Jul 26, 2024
@trgeiger trgeiger force-pushed the default-catalogs branch 2 times, most recently from ac03d4a to f1bba24 Compare July 26, 2024 17:16
scripts/install.tpl.sh Outdated Show resolved Hide resolved
Note: setup.sh for extension-developer-e2e now removes the OperatorHub
clustercatalog so it doesn't interfere with testing.

Signed-off-by: Tayler Geiger <[email protected]>
@@ -38,5 +39,10 @@ kubectl_wait "cert-manager" "deployment/cert-manager-webhook" "60s"
kubectl apply -f "https://github.com/operator-framework/catalogd/releases/download/${catalogd_version}/catalogd.yaml"
kubectl_wait "olmv1-system" "deployment/catalogd-controller-manager" "60s"

if [[ "${install_default_catalogs,,}" != "false" ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought this made more sense than checking for true since we want the default to be installing the catalogs.

Copy link
Contributor

@tmshort tmshort left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2024
@tmshort tmshort added this pull request to the merge queue Jul 26, 2024
Merged via the queue into operator-framework:main with commit ed87a01 Jul 26, 2024
17 checks passed
perdasilva pushed a commit to LalatenduMohanty/operator-controller that referenced this pull request Aug 13, 2024
Note: setup.sh for extension-developer-e2e now removes the OperatorHub
clustercatalog so it doesn't interfere with testing.

Signed-off-by: Tayler Geiger <[email protected]>
perdasilva pushed a commit to kevinrizza/operator-controller that referenced this pull request Aug 13, 2024
Note: setup.sh for extension-developer-e2e now removes the OperatorHub
clustercatalog so it doesn't interfere with testing.

Signed-off-by: Tayler Geiger <[email protected]>
@skattoju skattoju mentioned this pull request Sep 25, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants