Commit Graph
76 Commits
Author SHA1 Message Date
Sergei Shitikov e663bbfbcc add withHostname, withName, withLabels support 2024-12-28 13:26:52 +01:00
Sergei Shitikov 7d5f52b6d5 restore the doc-block for withMethod() in WaitForHttp 2024-10-27 21:57:24 +01:00
Sergei ShitikovandJacob Dreesen 662acfefa1 Update src/Container/HttpMethod.php
improve fromString

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
2024-10-27 21:32:47 +01:00
Sergei Shitikov 5b42abf081 Added missing HttpMethod enum 2024-10-24 19:55:06 +02:00
Sergei Shitikov 1cbfe638b9 implement WaitForHttp and WaitForHostPort strategies 2024-10-24 19:36:48 +02:00
Sergei Shitikov a5c8d2bb73 Merge pull request #2 from rw4lll/merge
Fixes and improvements
2024-09-29 19:31:56 +02:00
Sergei Shitikov e21cea14fc cs fix 2024-09-29 18:50:39 +02:00
Sergei Shitikov 49031990a2 Fixes in WaitForHealthCheck params and legacy tests 2024-09-29 18:48:46 +02:00
Sergei Shitikov 90edcd48f4 add forgotten stop() container for opensearch test 2024-09-29 18:14:00 +02:00
Sergei Shitikov 353977c7bb use FixedPortGenerator for legacy implementations 2024-09-29 18:10:01 +02:00
Sergei Shitikov a58ff460fa refactored WaitForHealthCheck strategy and added more granular exceptions 2024-09-29 14:46:54 +02:00
Sergei Shitikov 2f1c8750e0 Improve retry logic on start(), improved portBindings types 2024-09-29 13:28:47 +02:00
Sergei Shitikov 336f459d97 Initialize default wait strategy in Constructor 2024-09-29 11:14:22 +02:00
Sergei Shitikov 2802dea75e refactor start() method of the GenericContainer 2024-09-29 11:11:37 +02:00
Sergei Shitikov c5b20854b8 Merge pull request #1 from rw4lll/merge
Merge
2024-09-27 17:19:33 +02:00
Sergei Shitikov 1f9035f790 solve conflicts 2024-09-27 17:18:48 +02:00
Sergei Shitikov 75f34f4e97 Merge branch 'main' into feat/docker-engine-api-client 2024-09-27 15:51:20 +02:00
Sergei Shitikov 357887542f fixes and improvements 2024-09-08 19:04:15 +02:00
Sergei Shitikov aa2c1eb900 remove symfony/http-client dependency + some composer adjustments 2024-09-08 15:46:34 +02:00
Sergei Shitikov f7e97d4932 cleanup 2024-09-06 22:19:52 +02:00
Sergei Shitikov abe8159bcb cleanup 2024-09-06 21:30:46 +02:00
Sergei Shitikov 656f38f056 cleanup 2024-09-06 20:15:10 +02:00
Sergei Shitikov a10484e7f5 Update deps and README + some cleanup 2024-09-06 20:02:48 +02:00
Sergei Shitikov f05ea0020d - Move most of the stuff for backwards compatibility support into one class
- Added random port logic
- Updated wait wtrategies
- API alignments to make it similar to other official implementations
- ...
2024-09-06 19:08:37 +02:00
Sergei Shitikov a956794279 Added test for GenericContainer implementation + implemented exec related stuff 2024-09-01 19:40:55 +02:00
Sergei Shitikov 93c9895027 Adjust tests for OpenSearch 2024-09-01 19:12:46 +02:00
Sergei Shitikov ea07a96091 Implement WaitForExec using new Client library. Add BaseWait to avoid some code duplication. Adjust Postgres test 2024-09-01 18:23:21 +02:00
Sergei Shitikov 3dd4d2525a Remove WaitForNothing. WaitForContainerRunning can be used as a basic implementation instead. 2024-09-01 17:05:31 +02:00
Sergei Shitikov de66ea607c Fix WaitForLog implementation 2024-09-01 15:18:05 +02:00
Sergei Shitikov 5ee4fdc804 some reordering and test optimizations to align new API. 2024-09-01 14:45:04 +02:00
Sergei Shitikov b0e4f60592 fix issue with passing envs into the container. Remove container registry usage. 2024-09-01 14:43:34 +02:00
Sergei Shitikov 58f811ec8a Adjust the requirements for dev section. 2024-09-01 14:41:46 +02:00
Sergei Shitikov b7a274b1d9 first working version with simple WaitForContainerRunning implementation 2024-08-29 18:01:04 +02:00
Sergei Shitikov 27caae56c0 refactor Container to GenericContainer for better align to other Testcontainers language packages 2024-08-22 16:45:47 +02:00
Sergei Shitikov c82e974ab9 added beluga-php/docker-php client and some basic updates to the base Container class 2024-08-22 16:41:51 +02:00
Shyim dfb4c933a7 fix: phpstan type error 2024-08-17 18:24:12 +02:00
Shyim c75dfad2dc Merge pull request #16 from redlahatarbus/main
Adding ability to run docker container with hostname and command
2024-08-17 18:23:40 +02:00
redlahatarbus b9c1424d14 fix: type cmd to array string 2024-08-17 11:12:30 -04:00
redlahatarbus a1545d9d51 Merge pull request #1 from redlahatarbus/cmd-and-hostname
feat: run container with hostname and command
2024-08-16 11:04:51 -04:00
redlahatarbus 6d85ffe6da feat: run container with hostname and command 2024-08-16 10:04:54 -04:00
Shyim 68a2d6d47c Merge pull request #14 from testcontainers/rename
feat: rename package name
2024-08-05 21:35:10 +02:00
Soner Sayakci 38f5049d89 ci: split CI 2024-07-30 21:38:29 +02:00
Soner Sayakci bf762350e9 feat: rename package name 2024-07-30 21:22:22 +02:00
Shyim 0005627e14 Merge pull request #12 from dinamic/feature/wait-for-port
Support for waiting on tcp port to open
2024-07-16 20:28:38 +09:00
Shyim 137d073c95 Merge pull request #11 from dinamic/feature/with-privileged 2024-07-16 19:10:39 +09:00
Nikola Petkanski 11c3e21e92 Code reuse on working with docker networks 2024-07-16 05:07:39 +03:00
Nikola Petkanski ed18c0b8f8 Code reuse on inspecting a docker container 2024-07-16 03:34:42 +03:00
Nikola Petkanski de59891641 Code reuse on determining docker container address 2024-07-16 03:34:41 +03:00
Nikola Petkanski 0edcaeec72 Make phpstan happy again 2024-07-16 03:11:34 +03:00
Nikola Petkanski 6c3c74c817 Support for waiting on tcp port to open 2024-07-16 02:34:24 +03:00