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

Make Ollama test correctly run #182

Merged
merged 6 commits into from
Jan 9, 2024
Merged

Make Ollama test correctly run #182

merged 6 commits into from
Jan 9, 2024

Conversation

anakin87
Copy link
Member

@anakin87 anakin87 commented Jan 9, 2024

Sometimes Ollama tests fail because the Ollama service is not fully ready when the next steps in the workflow are executed.
See for example https://github.com/deepset-ai/haystack-core-integrations/actions/runs/7454708762/job/20282535972

I initially tried adding a health check, but I found that GitHub messes around.
Simply changing the order of the steps in the workflow is enough to solve the problem.

@anakin87 anakin87 requested a review from a team as a code owner January 9, 2024 09:40
@anakin87 anakin87 requested review from silvanocerza and removed request for a team January 9, 2024 09:40
@anakin87 anakin87 marked this pull request as draft January 9, 2024 09:48
@anakin87 anakin87 changed the title Add healthcheck to Ollama service Make Ollama test correctly run Jan 9, 2024
@anakin87 anakin87 marked this pull request as ready for review January 9, 2024 10:12
Copy link
Contributor

@silvanocerza silvanocerza left a comment

Choose a reason for hiding this comment

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

Nice workaround. 👍

@anakin87 anakin87 merged commit 0330419 into main Jan 9, 2024
6 checks passed
@anakin87 anakin87 deleted the ollama-add-healthcheck branch January 9, 2024 10:50
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.

2 participants