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

RUBY-3298 Add container info to handshake metadata #2821

Merged
merged 6 commits into from
Jan 12, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Jan 9, 2024

Adds a :container key to the environment document that is set with the handshake metadata. The container may include a :runtime key (for Docker) and/or an :orchestrator key (for Kubernetes).

@jamis jamis requested a review from comandeo January 9, 2024 20:53
@jamis jamis requested a review from comandeo January 11, 2024 16:50
@jamis jamis merged commit 69b0ec1 into mongodb:master Jan 12, 2024
335 checks passed
@jamis jamis deleted the 3298-add-container-and-kubernetes-checks branch January 12, 2024 16:17
comandeo pushed a commit to comandeo/mongo-ruby-driver that referenced this pull request Jan 24, 2024
* RUBY-3298 include container info in handshake metadata

* make sure it works even when faas info is not present

* look for .dockerenv, not Dockerfile

* add a test to check the value of DOCKERENV_PATH

* linter appeasement
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.

2 participants