FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(core): add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST by meiswjn · Pull Request #384 · testcontainers/testcontainers-python · GitHub

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

Merged
alexanderankin merged 2 commits into
testcontainers:mainfrom
meiswjn:patch-2
Apr 17, 2024
Merged

fix(core): add TESTCONTAINERS_HOST_OVERRIDE as alternative to TC_HOST#384
alexanderankin merged 2 commits into
testcontainers:mainfrom
meiswjn:patch-2

Conversation

meiswjn commented Oct 2, 2023

Copy link
Copy Markdown
Contributor

Resolves #383

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

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

Copy link
Copy Markdown
Contributor

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

totallyzen closed this Feb 29, 2024

meiswjn commented Mar 6, 2024

Copy link
Copy Markdown
Contributor Author

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 reopened this Mar 6, 2024

Copy link
Copy Markdown
Member

reopening temporarily so it doesnt get lost

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 merged commit 8073874 into testcontainers:main Apr 17, 2024
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL