Commit Graph
55 Commits
Author SHA1 Message Date
Sergei Shitikov 3194c8725f add updates from StartedGenericContainer 2025-02-03 23:59:25 +01:00
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 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
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 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 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 1f9035f790 solve conflicts 2024-09-27 17:18:48 +02:00
Sergei Shitikov 357887542f fixes and improvements 2024-09-08 19:04:15 +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
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
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
Nikola Petkanski 913c88e355 Ability to run privileged containers 2024-07-15 23:23:53 +03:00
Soner Sayakci 3ddc75e717 fix: phpunit tests 2024-07-13 11:21:19 +09:00
Nikola Petkanski 90a8d4dc28 Ability to specify a container entry point 2024-07-12 16:30:49 +03:00
Chris 7db5275296 feat: allow publishing ports for containers 2024-05-15 14:49:42 +02:00
Philipp Andreas 585719f247 Added support to specify the network used by container 2024-03-14 20:27:26 +01:00