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

🌱 GitHub Actions: Setup kind cluster without ctlptl #777

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Apr 23, 2024

Description

We already have kind cluster setup scripted in Makefile which includes correct configuration.

Reviewer Checklist

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

@m1kola m1kola requested a review from a team as a code owner April 23, 2024 09:31
Copy link

netlify bot commented Apr 23, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 5e840e9
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/6627802e6098980008e731dd
😎 Deploy Preview https://deploy-preview-777--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.

@m1kola m1kola changed the title 🌱 Setup kind cluster witohut ctlptl 🌱 Setup kind cluster without ctlptl Apr 23, 2024
We already have kind cluster setup scripted in `Makefile`
which includes correct configuration.

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.16%. Comparing base (0c41e3e) to head (5e840e9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #777   +/-   ##
=======================================
  Coverage   67.16%   67.16%           
=======================================
  Files          22       22           
  Lines        1465     1465           
=======================================
  Hits          984      984           
  Misses        415      415           
  Partials       66       66           
Flag Coverage Δ
e2e 45.46% <ø> (ø)
unit 61.34% <ø> (ø)

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.

@m1kola m1kola changed the title 🌱 Setup kind cluster without ctlptl 🌱 GitHub Actions: Setup kind cluster without ctlptl Apr 23, 2024
@joelanford
Copy link
Member

I recall there being a specific reason for using ctlptl. It may have been the ease of getting an image registry setup to test pulling private catalog images.

On the other hand, all the tests are passing with this change, so 🤷‍♂️

@everettraven May have more specific knowledge.

@tmshort
Copy link
Contributor

tmshort commented Apr 23, 2024

This job (tilt) appears to be failing in #774... but do we really need to change the tilt code, or is it something about that PR?

@m1kola
Copy link
Member Author

m1kola commented Apr 23, 2024

@tmshort this PR will fix tilt for #774. The reason for the failure is that ctlptl creates a kind cluster with default config, but we need a custom config to enable beta APIs. I added a kind config in #771 but I missed ctlptl: I made an assumption that all clusters in CI are being created with our Makefile targets.

@m1kola
Copy link
Member Author

m1kola commented Apr 23, 2024

I recall there being a specific reason for using ctlptl. It may have been the ease of getting an image registry setup to test pulling private catalog images.

We discussed this in upstream slack here. I think this was related to e2e jobs. I don't think the tilt job is actually testing anything beyond being able to build and deploy the binaries with tilt. It does not use registry with test bundle images as far as I understand.

@everettraven everettraven added this pull request to the merge queue Apr 23, 2024
Merged via the queue into operator-framework:main with commit ebd95a8 Apr 23, 2024
18 checks passed
@m1kola m1kola deleted the tilt_ci_kind_setup branch April 23, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants