Skip to content

Conversation

oceanc80
Copy link
Contributor

Description of the change:
Now that we've added support for NetworkPolicies, ensure we test that they can be installed correctly.

Motivation for the change:

Architectural changes:

Testing remarks:

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Bug fixes are accompanied by regression test(s)
  • e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
  • tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
  • Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
  • Docs updated or added to /doc
  • Commit messages sensible and descriptive
  • Tests marked as [FLAKE] are truly flaky and have an issue
  • Code is properly formatted

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 26, 2025
@trgeiger trgeiger force-pushed the test-np branch 2 times, most recently from 4193fbc to 1baad65 Compare September 3, 2025 19:56
@trgeiger trgeiger changed the title WIP: Test NetworkPolicy support in e2es Test NetworkPolicy support in e2es Sep 4, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 4, 2025
@trgeiger
Copy link
Contributor

trgeiger commented Sep 4, 2025

Latest revision of the PR adds build files for creating the test bundle image and the test catalog/index image. These are pushed to new tags to keep the old ones if ever needed. I also added a script for rebuilding those images and an addition to the documentation for using the script.

anik120
anik120 previously approved these changes Sep 4, 2025
Copy link
Contributor

@anik120 anik120 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 lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 4, 2025
Copy link
Contributor

@anik120 anik120 left a comment

Choose a reason for hiding this comment

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

/lgtm cancel

one discussion to be had

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 4, 2025
@anik120 anik120 removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2025
DEVELOPMENT.md Outdated
Comment on lines 52 to 56

```sh
./scripts/build_test_images.sh
./scripts/build_e2e_test_images.sh
```
Copy link
Contributor

Choose a reason for hiding this comment

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

And if we are documenting these scripts, might as well write a short summary of what each script does.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 4, 2025
spec:
podSelector: {}
policyTypes:
- Ingress No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can we please add newlines at the end of the files?

Copy link
Contributor

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

and finally changed my editor's settings to always add one on save ;)

Adds to script for building the single-bundle-index image used in the e2e tests. Also
adds the necessary manifests and Containerfile for the bundle in that
index, and adds a note in DEVELOPMENT.md about using the script for
updating the images used in e2e tests.

Signed-off-by: Tayler Geiger <[email protected]>
Copy link
Contributor

@anik120 anik120 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 Sep 9, 2025
Copy link

openshift-ci bot commented Sep 9, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anik120

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-merge-bot openshift-merge-bot bot merged commit 55a4f26 into operator-framework:master Sep 9, 2025
14 checks passed
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.

4 participants