Skip to content

CONSOLE-5422: Add TechPreview e2e CI jobs for openshift/console - #81559

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
perdasilva:console-e2e-gcp-techpreview
Jul 16, 2026
Merged

CONSOLE-5422: Add TechPreview e2e CI jobs for openshift/console#81559
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
perdasilva:console-e2e-gcp-techpreview

Conversation

@perdasilva

@perdasilva perdasilva commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add e2e-gcp-console-techpreview presubmit job that runs Cypress e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Add e2e-playwright-techpreview presubmit job that runs Playwright e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Both jobs are optional and triggered manually via /test e2e-gcp-console-techpreview and /test e2e-playwright-techpreview

Details

These jobs mirror the existing e2e-gcp-console and e2e-playwright jobs respectively, with the addition of FEATURE_SET: TechPreviewNoUpgrade in the step environment. This causes the IPI installer to enable the TechPreview feature gate on the cluster, which the console auto-detects via the cluster's FeatureGate resource.

Test plan

  • Verify ci-operator-prowgen check passes
  • Trigger /test e2e-gcp-console-techpreview on an openshift/console PR
  • Trigger /test e2e-playwright-techpreview on an openshift/console PR

Summary by CodeRabbit

This PR updates the openshift/release CI (ci-operator/prowgen config for openshift/console) to add two optional, manually triggered TechPreview e2e jobs that run against a GCP IPI cluster with FEATURE_SET: TechPreviewNoUpgrade:

  • e2e-gcp-console-techpreview (Cypress): runs ./test-prow-e2e.sh using the existing openshift-org-gcp cluster profile and console-plugin-demo dependency, sourcing tests from src.
  • e2e-playwright-techpreview (Playwright): runs ./test-prow-playwright-e2e.sh using the existing openshift-org-gcp cluster profile and console-plugin-demo dependency, sourcing tests from console-playwright-runner.

Both jobs mirror the existing e2e-gcp-console / e2e-playwright jobs’ configuration/behavior, and can be triggered on PRs via:

  • /test e2e-gcp-console-techpreview
  • /test e2e-playwright-techpreview

@perdasilva perdasilva changed the title Add TechPreview e2e CI jobs for openshift/console NO-ISSUE: Add TechPreview e2e CI jobs for openshift/console Jul 7, 2026
@perdasilva

perdasilva commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

/hold for console ccsig review of the idea in the first place XD

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

Copy link
Copy Markdown
Contributor

@perdasilva: This pull request explicitly references no jira issue.

Details

In response to this:

Summary

  • Add e2e-gcp-console-techpreview presubmit job that runs Cypress e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Add e2e-playwright-techpreview presubmit job that runs Playwright e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Both jobs are optional and triggered manually via /test e2e-gcp-console-techpreview and /test e2e-playwright-techpreview

Details

These jobs mirror the existing e2e-gcp-console and e2e-playwright jobs respectively, with the addition of FEATURE_SET: TechPreviewNoUpgrade in the step environment. This causes the IPI installer to enable the TechPreview feature gate on the cluster, which the console auto-detects via the cluster's FeatureGate resource.

Test plan

  • Verify ci-operator-prowgen check passes
  • Trigger /test e2e-gcp-console-techpreview on an openshift/console PR
  • Trigger /test e2e-playwright-techpreview on an openshift/console PR

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.

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

This PR adds two optional TechPreview GCP IPI console e2e jobs: e2e-gcp-console-techpreview and e2e-playwright-techpreview. Both set FEATURE_SET: TechPreviewNoUpgrade and follow the existing Cypress and Playwright job patterns.

Changes

Console TechPreview e2e jobs

Layer / File(s) Summary
TechPreview Cypress and Playwright job definitions
ci-operator/config/openshift/console/openshift-console-main.yaml
Adds two optional e2e jobs, one Cypress and one Playwright, both configured with FEATURE_SET: TechPreviewNoUpgrade and the existing GCP IPI console job structure.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: bear-redhat, jhadvig

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed No Ginkgo test titles were added; the only new names are static CI job IDs like e2e-gcp-console-techpreview.
Test Structure And Quality ✅ Passed PR changes only ci-operator YAML; no Ginkgo/spec test code or behavior to review.
Microshift Test Compatibility ✅ Passed Only CI job YAML was added; no new Ginkgo test definitions or test bodies were introduced to check for MicroShift-incompatible APIs.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Config-only PR adds CI jobs; no new Ginkgo tests or multi-node assumptions were introduced in code.
Topology-Aware Scheduling Compatibility ✅ Passed The PR only adds CI jobs in a ci-operator YAML; no anti-affinity, topology spread, nodeSelector, PDB, or control-plane scheduling logic is introduced.
Ote Binary Stdout Contract ✅ Passed PR only adds CI YAML jobs; no process-level code or stdout writes were changed, so the OTE stdout contract is unaffected.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo test bodies were added; the PR only adds ci-operator jobs mirroring existing scripts, so this compatibility check is not applicable.
No-Weak-Crypto ✅ Passed Changed YAML only adds TechPreview CI jobs; scans found no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB, custom crypto, or secret comparisons.
Container-Privileges ✅ Passed No added privileged flags, hostPID/Network/IPC, allowPrivilegeEscalation, or root/securityContext settings in the new techpreview jobs; they mirror existing unprivileged jobs.
No-Sensitive-Data-In-Logs ✅ Passed No new logging statements expose secrets; the only secret-related line reads a mounted file into an env var without echoing it.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding TechPreview e2e CI jobs for openshift/console.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci
openshift-ci Bot requested review from jhadvig and rhamilto July 7, 2026 13:54
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: pj-rehearse could not automatically process this event because the request waited in queue for longer than 5 minutes. Use /pj-rehearse to trigger rehearsals manually.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ci-operator/config/openshift/console/openshift-console-main.yaml`:
- Around line 134-160: The e2e-gcp-console-techpreview job is still
auto-triggering on non-doc changes because its skip_if_only_changed filter only
exempts docs and ignores the manual-only intent. Update the job definition for
e2e-gcp-console-techpreview in the console config so it does not auto-run unless
explicitly invoked, removing or changing the skip_if_only_changed path filter
accordingly while keeping the rest of the job setup intact.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: d2c96baf-1ecf-4587-949c-379fa7b99947

📥 Commits

Reviewing files that changed from the base of the PR and between dee2284 and 507598f.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/console/openshift-console-main-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/console/openshift-console-main.yaml

Comment thread ci-operator/config/openshift/console/openshift-console-main.yaml Outdated
@fsgreco

fsgreco commented Jul 7, 2026

Copy link
Copy Markdown

/assign @fsgreco

fsgreco

This comment was marked as duplicate.

@fsgreco fsgreco left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

maybe this solves also the problem pointed out by coderabbit

Comment thread ci-operator/config/openshift/console/openshift-console-main.yaml Outdated
@perdasilva
perdasilva force-pushed the console-e2e-gcp-techpreview branch from 507598f to 4893baa Compare July 9, 2026 08:46
@perdasilva
perdasilva requested a review from fsgreco July 9, 2026 08:47
@perdasilva perdasilva changed the title NO-ISSUE: Add TechPreview e2e CI jobs for openshift/console CONSOLE-5422: Add TechPreview e2e CI jobs for openshift/console Jul 9, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@perdasilva: This pull request references CONSOLE-5422 which is a valid jira issue.

Details

In response to this:

Summary

  • Add e2e-gcp-console-techpreview presubmit job that runs Cypress e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Add e2e-playwright-techpreview presubmit job that runs Playwright e2e tests against a GCP cluster provisioned with the TechPreviewNoUpgrade feature set
  • Both jobs are optional and triggered manually via /test e2e-gcp-console-techpreview and /test e2e-playwright-techpreview

Details

These jobs mirror the existing e2e-gcp-console and e2e-playwright jobs respectively, with the addition of FEATURE_SET: TechPreviewNoUpgrade in the step environment. This causes the IPI installer to enable the TechPreview feature gate on the cluster, which the console auto-detects via the cluster's FeatureGate resource.

Test plan

  • Verify ci-operator-prowgen check passes
  • Trigger /test e2e-gcp-console-techpreview on an openshift/console PR
  • Trigger /test e2e-playwright-techpreview on an openshift/console PR

Summary by CodeRabbit

This PR updates the openshift/console CI configuration to add two optional TechPreview presubmit jobs for GCP-based e2e coverage:

  • e2e-gcp-console-techpreview for Cypress console e2e tests
  • e2e-playwright-techpreview for Playwright e2e tests

Both jobs mirror the existing non-TechPreview GCP e2e jobs, but provision clusters with FEATURE_SET: TechPreviewNoUpgrade. They remain manually triggerable from PRs via /test e2e-gcp-console-techpreview and /test e2e-playwright-techpreview, expanding validation for console changes against the TechPreview feature set.

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.

@perdasilva

Copy link
Copy Markdown
Contributor Author

/unhold

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 9, 2026
@perdasilva
perdasilva force-pushed the console-e2e-gcp-techpreview branch from 4893baa to 804a4ce Compare July 9, 2026 09:42

@fsgreco fsgreco left a comment

Copy link
Copy Markdown

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 9, 2026
@perdasilva

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@perdasilva

Copy link
Copy Markdown
Contributor Author

/retest

@perdasilva

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Comment thread ci-operator/config/openshift/console/openshift-console-main.yaml Outdated
@perdasilva

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@perdasilva

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2026
Add e2e-gcp-console-techpreview and e2e-playwright-techpreview
presubmit jobs that provision clusters with the TechPreviewNoUpgrade
feature set. Both jobs are optional and can be triggered manually
via /test commands on PRs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
@perdasilva
perdasilva force-pushed the console-e2e-gcp-techpreview branch from cd23af1 to 7b6a4be Compare July 15, 2026 16:15
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@perdasilva: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-console-main-e2e-gcp-console-techpreview openshift/console presubmit Presubmit changed
pull-ci-openshift-console-main-e2e-playwright-techpreview openshift/console presubmit Presubmit changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@TheRealJon TheRealJon left a comment

Copy link
Copy Markdown
Member

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 15, 2026
@openshift-ci

openshift-ci Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fsgreco, perdasilva, TheRealJon

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 Jul 15, 2026
@TheRealJon

Copy link
Copy Markdown
Member

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@TheRealJon: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

@perdasilva: 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.

@perdasilva

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@perdasilva: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 16, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 59a0be9 into openshift:main Jul 16, 2026
18 checks passed
SachinNinganure pushed a commit to SachinNinganure/release that referenced this pull request Jul 20, 2026
Add e2e-gcp-console-techpreview and e2e-playwright-techpreview
presubmit jobs that provision clusters with the TechPreviewNoUpgrade
feature set. Both jobs are optional and can be triggered manually
via /test commands on PRs.

Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
Co-authored-by: Per G. da Silva <pegoncal@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fracappa pushed a commit to fracappa/release that referenced this pull request Jul 22, 2026
Add e2e-gcp-console-techpreview and e2e-playwright-techpreview
presubmit jobs that provision clusters with the TechPreviewNoUpgrade
feature set. Both jobs are optional and can be triggered manually
via /test commands on PRs.

Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
Co-authored-by: Per G. da Silva <pegoncal@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants