Commit Graph
86 Commits
Author SHA1 Message Date
Sergei Shitikov 345cdb40d0 Use inspect Model instead of plain Response after fix in beluga-php/docker-php. Update resolving host logic. 2025-02-03 23:57:59 +01:00
Sergei Shitikov 1c928cc767 Adjust StartedGenericContainer 2025-02-03 20:47:02 +01:00
Sergei Shitikov f55b399cab Merge remote-tracking branch 'contributor/0.2' into feat/started-generic-container 2025-01-23 15:27:46 +01:00
Sergei Shitikov 9d83a05bb1 use array_merge instead of foreach on copy methods 2025-01-21 19:27:32 +01:00
Sergei Shitikov 53c67a15ed added withCopy* functionality to copy data into containers. Additional tests and improvements 2025-01-19 23:12:19 +01:00
Sergei Shitikov dfff7ef282 test improvements 2025-01-01 23:29:57 +01:00
Sergei Shitikov 774743a7ce update interfaces, small phpstan improvements 2024-12-28 18:57:23 +01:00
Sergei Shitikov e663bbfbcc add withHostname, withName, withLabels support 2024-12-28 13:26:52 +01:00
Thomas Wünsche a1d29e4dac Implements missed methods in StartedGenericContainer.php 2024-11-13 10:33:46 +01:00
Shyim e21a6ff14a Merge pull request #19 from rw4lll/feat/docker-engine-api-client
Implement WaitForHttp and WaitForHostPort strategies
2024-10-28 07:46:22 +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
Shyim 30eac24f1b Merge pull request #17 from rw4lll/feat/docker-engine-api-client
Feat/docker engine api client
2024-10-01 11:34:49 +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