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

Add ollama module #778

Merged
merged 8 commits into from
Jun 15, 2024
Merged

Conversation

ilopezluna
Copy link
Contributor

adds Ollama Module based on module of TC java

Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 9b61361
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/666c89a7bfcb120008fa50ee
😎 Deploy Preview https://deploy-preview-778--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ilopezluna ilopezluna marked this pull request as ready for review June 14, 2024 14:13
@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Jun 14, 2024
.withWaitStrategy(Wait.forLogMessage("Listening on "))
.withStartupTimeout(120_000);

getContainerRuntimeClient().then((client) => {
Copy link
Collaborator

@cristianrgreco cristianrgreco Jun 14, 2024

Choose a reason for hiding this comment

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

Although this should be fine because the container runtime client will be initialised before this constructor is invoked, it is still async and not guaranteed to resolve before start is called. I'd move this into the start method or one of the other lifecycle callbacks where it can be awaited.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Cristian :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you Ignasi!

@cristianrgreco cristianrgreco merged commit ab46673 into testcontainers:main Jun 15, 2024
136 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Backward compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants