Skip to content

OCPNETUI-56: Add CI scripts for hot-cluster E2E infrastructure - #489

Open
lkladnit wants to merge 1 commit into
openshift:mainfrom
lkladnit:lkladnit/ci-scripts
Open

OCPNETUI-56: Add CI scripts for hot-cluster E2E infrastructure#489
lkladnit wants to merge 1 commit into
openshift:mainfrom
lkladnit:lkladnit/ci-scripts

Conversation

@lkladnit

@lkladnit lkladnit commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Add shell scripts and nginx configs for running E2E tests on a persistent (hot) OpenShift cluster via GitHub Actions + ARC:

Script Purpose
check-cluster-health.sh Pre-flight: API server, nodes, ARC runner set, storage, console route
test-cleanup.sh Delete networking test resources (NADs, policies, routes, UDNs)
start-console.sh Run off-cluster console container with bearer-token auth
start-plugin-container.sh Run plugin image with nginx (HTTP or HTTPS)
resolve-console-image.sh Match console image tag to cluster OCP version
_cluster-helpers.sh CLI download URL resolution helpers
nginx-9080.conf / nginx-9443.conf Nginx configs for plugin serving

These support both Docker-based local testing and the Helm-based ci-env-controller (charts in follow-up PR).

Adapted from kubevirt-plugin hot-cluster CI (CNV-74265, PR #4099).

Jira: OCPNETUI-56

Test plan

  • bash ci-scripts/check-cluster-health.sh passes on a cluster with ARC installed
  • Scripts are executable (chmod +x)

Made with Cursor

Add shell scripts and nginx configs for running E2E tests on a
persistent (hot) OpenShift cluster via GitHub Actions + ARC:

- check-cluster-health.sh: pre-flight checks (API server, nodes, ARC,
  storage, console route)
- test-cleanup.sh: delete networking test resources (NADs, policies,
  routes, UDNs) after test runs
- start-console.sh: run off-cluster OpenShift console container with
  bearer-token auth
- start-plugin-container.sh: run plugin image with nginx (HTTP/HTTPS)
- resolve-console-image.sh: match console image tag to cluster OCP version
- _cluster-helpers.sh: CLI download URL resolution helpers
- nginx-9080.conf / nginx-9443.conf: nginx configs for plugin serving

These scripts support both the Docker-based local approach and the
Helm-based ci-env-controller approach (charts in follow-up PR).

Jira: OCPNETUI-56
Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 8, 2026
@openshift-ci-robot

openshift-ci-robot commented Sep 8, 2026

Copy link
Copy Markdown

@lkladnit: This pull request references OCPNETUI-56 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set.

Details

In response to this:

Summary

Add shell scripts and nginx configs for running E2E tests on a persistent (hot) OpenShift cluster via GitHub Actions + ARC:

Script Purpose
check-cluster-health.sh Pre-flight: API server, nodes, ARC runner set, storage, console route
test-cleanup.sh Delete networking test resources (NADs, policies, routes, UDNs)
start-console.sh Run off-cluster console container with bearer-token auth
start-plugin-container.sh Run plugin image with nginx (HTTP or HTTPS)
resolve-console-image.sh Match console image tag to cluster OCP version
_cluster-helpers.sh CLI download URL resolution helpers
nginx-9080.conf / nginx-9443.conf Nginx configs for plugin serving

These support both Docker-based local testing and the Helm-based ci-env-controller (charts in follow-up PR).

Adapted from kubevirt-plugin hot-cluster CI (CNV-74265, PR #4099).

Jira: OCPNETUI-56

Test plan

  • bash ci-scripts/check-cluster-health.sh passes on a cluster with ARC installed
  • Scripts are executable (chmod +x)

Made with Cursor

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 1408b164-957e-42a9-b9bf-93ab9afa7f57


Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Sep 8, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkladnit

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

The pull request process is described here

Details 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 Sep 8, 2026
@openshift-ci

openshift-ci Bot commented Sep 8, 2026

Copy link
Copy Markdown

@lkladnit: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants