Commit Graph
96 Commits
Author SHA1 Message Date
Soner Sayakci 6785bcb718 fix: update test command in GitHub Actions workflow to use composer run integration 2025-02-14 15:43:37 +01:00
Soner Sayakci 99b78a9f06 fix: update test command in GitHub Actions workflow to use PHPUnit 2025-02-14 15:34:37 +01:00
Soner Sayakci b25371687d fix: update port configuration in GenericContainerTest for non standard port 2025-02-14 15:31:41 +01:00
Soner Sayakci cf035bcbd5 fix: update tar command for macOS compatibility and clean up workflow 2025-02-14 15:27:11 +01:00
Soner Sayakci 6e0952f8e3 fix: code style errors 2025-02-14 15:20:34 +01:00
Shyim 17bceb9006 Merge pull request #27 from rw4lll/feat/started-generic-container
Feat/started generic container
2025-02-06 20:01:09 +01:00
Sergei Shitikov f899c41311 adjust phpstan memory, small phpstan fixes added HostResolverTest 2025-02-04 00:25:24 +01:00
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
Shyim d89576ecac Merge pull request #26 from rw4lll/feat/docker-engine-api-client
Added withCopy*() functionality. Improved tests.
2025-01-22 08:02:08 +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
Shyim e59f7c8e8c Merge pull request #24 from rw4lll/feat/docker-engine-api-client
add withHostname, withName, withLabels support
2024-12-29 15:29:56 +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