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

PR to update e2e tests for Ansible chatbot service including model evaluation n response #62

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

justjais
Copy link

@justjais justjais commented Feb 6, 2025

Description

PR to update e2e tests for Ansible chatbot service including model evaluation n response. AAP-39070

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • You'd need a openshift cluster to test the e2e test
  • Once logged in as kubeadmin, you can fire the command: pdm run make test-e2e, to run the e2e test

with open(args.eval_api_token_file, mode="r", encoding="utf-8") as t_f:
token = t_f.read().rstrip()
client.headers.update({"Authorization": f"Bearer {token}"})
if path.isfile(args.eval_api_token_file) == True:
Copy link
Author

Choose a reason for hiding this comment

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

this is to accommodate GHA secret retrieval, as we cannot pass secret under a file WRT GHA

@justjais justjais marked this pull request as ready for review February 20, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant