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

chore(e2e): refactor periodic pipeline to include sanity plugins check #2248

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

gustavolira
Copy link
Contributor

Reintegrates the "add_sanity_plugins_check" step into the periodic pipeline.

Description

Please explain the changes you made here.

Which issue(s) does this PR fix

  • Fixes #?

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@gustavolira
Copy link
Contributor Author

/retest-required

@gustavolira
Copy link
Contributor Author

/test e2e-tests

1 similar comment
@gustavolira
Copy link
Contributor Author

/test e2e-tests

Copy link
Contributor

@gustavolira gustavolira force-pushed the RHIDP-5696 branch 4 times, most recently from f9acd07 to 3cf39c6 Compare February 1, 2025 00:52
Copy link
Contributor

github-actions bot commented Feb 1, 2025

@gustavolira
Copy link
Contributor Author

/test e2e-tests

Copy link
Contributor

This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 21 days.

Copy link

openshift-ci bot commented Feb 17, 2025

@gustavolira: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/periodic-e2e-tests-gke-helm-nightly 938f7f3 link false /test periodic-e2e-tests-gke-helm-nightly
ci/prow/periodic-e2e-tests-aks-helm-nightly 938f7f3 link false /test periodic-e2e-tests-aks-helm-nightly

Full PR test history. Your PR dashboard.

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.

@github-actions github-actions bot removed the Stale label Feb 18, 2025
@@ -154,5 +166,15 @@ export default defineConfig({
"**/playwright/e2e/verify-tls-config-health-check.spec.ts",
],
},

Copy link
Member

Choose a reason for hiding this comment

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

You have to add the

        "**/playwright/e2e/audit-log/**/*.spec.ts",

To testIgnore for showcase project

Copy link
Member

@subhashkhileri subhashkhileri Feb 19, 2025

Choose a reason for hiding this comment

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

@zdrapela @gustavolira why to ignore this audit log tests? isn't it expected to run in showcase?

Copy link
Member

Choose a reason for hiding this comment

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

I suppose that @gustavolira intentionally moved it to a separate namespace that runs only on nightly. Is that correct @gustavolira?

Copy link
Member

Choose a reason for hiding this comment

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

are you talking about showcase-sanity-plugins namespace?
I dont see audit log test here :
name: "showcase-sanity-plugins", testMatch: [ "**/playwright/e2e/catalog-timestamp.spec.ts", "**/playwright/e2e/plugins/frontend/sidebar.spec.ts", "**/playwright/e2e/home-page-customization.spec.ts", "**/playwright/e2e/instance-health-check.spec.ts",

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I'm not sure why I expected that audit-log is moved to sanity-plugins 😅 I will remove it from the testIgnore for showcase in this PR #2417

@subhashkhileri
Copy link
Member

/test ?

Copy link

openshift-ci bot commented Feb 18, 2025

@subhashkhileri: The following commands are available to trigger required jobs:

/test e2e-tests

The following commands are available to trigger optional jobs:

/test cleanup-mapt-destroy-orphaned-aks-clusters
/test e2e-tests-aks-helm-nightly
/test e2e-tests-gke-helm-nightly
/test e2e-tests-nightly
/test e2e-tests-operator-nightly
/test e2e-tests-osd-gcp-helm-nightly
/test e2e-tests-osd-gcp-operator-nightly

Use /test all to run the following jobs that were automatically triggered:

pull-ci-redhat-developer-rhdh-main-e2e-tests

In response to this:

/test ?

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.

@subhashkhileri
Copy link
Member

/test e2e-tests-nightly

Moved plugin checks deployment logic to a reusable function `initiate_sanity_plugin_checks_deployment`. Simplified the `run_sanity_plugins_check` method by delegating complex deployment steps to the new function, improving readability and maintainability.

Signed-off-by: Gustavo Lira <[email protected]>
Copy link
Member

@zdrapela zdrapela left a comment

Choose a reason for hiding this comment

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

@zdrapela
Copy link
Member

/test e2e-tests-nightly

@zdrapela
Copy link
Member

/lgtm

Copy link

openshift-ci bot commented Feb 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zdrapela

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 76bdfa0 into redhat-developer:main Feb 18, 2025
12 checks passed
@zdrapela zdrapela mentioned this pull request Feb 19, 2025
5 tasks
zdrapela pushed a commit to zdrapela/rhdh that referenced this pull request Feb 19, 2025
redhat-developer#2248)

* Add temporary plugin configurations for sandbox setup

* Add sanity plugins check to pipeline scripts and tests

Signed-off-by: Gustavo Lira <[email protected]>

* Remove default JOB_NAME export from CI test script

Signed-off-by: Gustavo Lira <[email protected]>

* Add audit log tests and remove commented-out config

Signed-off-by: Gustavo Lira <[email protected]>

* Refactor periodic sanity plugin checks deployment logic

Moved plugin checks deployment logic to a reusable function `initiate_sanity_plugin_checks_deployment`. Simplified the `run_sanity_plugins_check` method by delegating complex deployment steps to the new function, improving readability and maintainability.

Signed-off-by: Gustavo Lira <[email protected]>

---------

Signed-off-by: Gustavo Lira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants