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

fix(core): add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST #384

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

meiswjn
Copy link
Contributor

@meiswjn meiswjn commented Oct 2, 2023

Resolves #383

This PR aims to unify the configuration for the Testcontainer Hostvariable as it is in Java and Dotnet (and potentially others).

@meiswjn meiswjn changed the title feat: add alternative to TC_HOST as in Java / .NET feat: add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST Oct 2, 2023
@totallyzen
Copy link
Collaborator

I'm closing this because we've got #388 as a potential improved implementation over this. Please comment/advise based on thatissue! 🙏

@totallyzen totallyzen closed this Feb 29, 2024
@meiswjn
Copy link
Contributor Author

meiswjn commented Mar 6, 2024

Hey @totallyzen,
I think this PR is not really related to #388. What I am doing is unifying environment variables (as found in every other testcontainer distribution).
This line remains unchanged in the other PR:

host = os.environ.get("TC_HOST")

Would you re-consider my proposed change, please?

@alexanderankin alexanderankin reopened this Mar 6, 2024
@alexanderankin
Copy link
Member

reopening temporarily so it doesnt get lost

@alexanderankin alexanderankin changed the title feat: add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST fix(core): add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST Apr 3, 2024
@alexanderankin alexanderankin merged commit 8073874 into testcontainers:main Apr 17, 2024
7 checks passed
alexanderankin pushed a commit that referenced this pull request Apr 17, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.4.0](testcontainers-v4.3.3...testcontainers-v4.4.0)
(2024-04-17)


### Features

* **labels:** Add common testcontainers labels
([#519](#519))
([e04b7ac](e04b7ac))
* **network:** Add network context manager
([#367](#367))
([11964de](11964de))


### Bug Fixes

* **core:**
[#486](#486)
for colima delay for port avail for connect
([#543](#543))
([90bb780](90bb780))
* **core:** add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST
([#384](#384))
([8073874](8073874))
* **dependencies:** remove usage of `sqlalchemy` in DB extras. Add
default wait timeout for `wait_for_logs`
([#525](#525))
([fefb9d0](fefb9d0))
* tests for Kafka container running on ARM64 CPU
([#536](#536))
([29b5179](29b5179))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment variable "testcontainers_host_override" is missing
3 participants