Skip to content

Conversation

perdasilva
Copy link
Contributor

Description

Updates the image registry we use for e2e tests to be the registry:3 image (and removes our homegrown registry) and updates the kind cluster config to route docker-registry.operator-controller-e2e.svc.cluster.local:5000 registry through localhost:30000 (the node port exposed by the kind config for the registry).

The main motivation is to make images served by the registry usable for creating pods on the cluster. This is a precondition for the test-operator work, which will have its own controller image.

Test

make run && make image-registry
docker pull busybox:latest
docker tag busybox:latest localhost:30000/busybox:latest
kubectl run busybox --image=docker-registry.operator-controller-e2e.svc.cluster.local:5000/busybox:latest -- sleep 3000      
kubectl get pods

Reviewer Checklist

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

@perdasilva perdasilva requested a review from a team as a code owner July 8, 2025 14:36
@openshift-ci openshift-ci bot requested review from ankitathomas and tmshort July 8, 2025 14:36
@perdasilva perdasilva force-pushed the update-kind-registry-config branch 4 times, most recently from 3b0df4c to ef32061 Compare July 8, 2025 14:40
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.43%. Comparing base (d101484) to head (8bc6518).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2080      +/-   ##
==========================================
+ Coverage   73.38%   73.43%   +0.04%     
==========================================
  Files          77       77              
  Lines        7076     7076              
==========================================
+ Hits         5193     5196       +3     
+ Misses       1542     1540       -2     
+ Partials      341      340       -1     
Flag Coverage Δ
e2e 44.95% <ø> (+0.09%) ⬆️
experimental-e2e 51.15% <ø> (ø)
unit 58.39% <ø> (ø)

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

netlify bot commented Jul 8, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 8bc6518
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/686d42afbbd0db0008625017
😎 Deploy Preview https://deploy-preview-2080--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 project configuration.

@tmshort
Copy link
Contributor

tmshort commented Jul 8, 2025

is the EXPOSE line in the old registry/push Dockerfile still needed?

@tmshort
Copy link
Contributor

tmshort commented Jul 8, 2025

/approve

Copy link

openshift-ci bot commented Jul 8, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tmshort

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2025
@perdasilva perdasilva force-pushed the update-kind-registry-config branch from ef32061 to c95a897 Compare July 8, 2025 15:50
@tmshort
Copy link
Contributor

tmshort commented Jul 8, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2025
…o kubelet

Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
@perdasilva perdasilva force-pushed the update-kind-registry-config branch from c95a897 to 8bc6518 Compare July 8, 2025 16:09
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2025
Copy link

openshift-ci bot commented Jul 8, 2025

New changes are detected. LGTM label has been removed.

@perdasilva perdasilva added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit eb4b979 into operator-framework:main Jul 8, 2025
21 checks passed
@perdasilva perdasilva deleted the update-kind-registry-config branch July 8, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. 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