{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":141451032,"defaultBranch":"main","name":"testcontainers-go","ownerLogin":"testcontainers","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-07-18T15:04:31.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13393021?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726784634.0","currentOid":""},"activityList":{"items":[{"before":"15fd568b8bc245189abb2f3089115e3e1c054b34","after":"b09b1d9ef628ff6abde5acf38341770066b90e85","ref":"refs/heads/chore/bump-golangci-lint","pushedAt":"2024-09-20T00:38:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"chore: fix not empty check\n\nFix use of assert.NotEmpty and replace assert with replace.","shortMessageHtmlLink":"chore: fix not empty check"}},{"before":"7cfbd9c8245e646697a0785a79d4a2573b8f5982","after":"15fd568b8bc245189abb2f3089115e3e1c054b34","ref":"refs/heads/chore/bump-golangci-lint","pushedAt":"2024-09-19T23:39:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: lint","shortMessageHtmlLink":"fix: lint"}},{"before":"50638ee865a6d660f4fcfb37fdf00736b05136b3","after":"7cfbd9c8245e646697a0785a79d4a2573b8f5982","ref":"refs/heads/chore/bump-golangci-lint","pushedAt":"2024-09-19T22:56:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"Update ci-test-go.yml\n\nCo-authored-by: Manuel de la Peña ","shortMessageHtmlLink":"Update ci-test-go.yml"}},{"before":"2c6196fa3b96cc78d65014ebc84c9c02e90c64f8","after":"85930b2e989ca59d143b6ce182b47973eb6e3d2d","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-19T22:26:11.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feat/copy-host-path-to","shortMessageHtmlLink":"Merge branch 'main' into feat/copy-host-path-to"}},{"before":"78552482f705433a0f8b4aef6aff101153d6f008","after":"50638ee865a6d660f4fcfb37fdf00736b05136b3","ref":"refs/heads/chore/bump-golangci-lint","pushedAt":"2024-09-19T22:24:53.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"Merge branch 'main' into chore/bump-golangci-lint","shortMessageHtmlLink":"Merge branch 'main' into chore/bump-golangci-lint"}},{"before":"4dbd1834bcce830b8f39d73d04290fef960f3a13","after":null,"ref":"refs/heads/chore/disable-mssql-tests","pushedAt":"2024-09-19T22:23:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"}},{"before":"069f7248cc14b9f8edfcb31c56e1481d1332170e","after":"fa560fb4a64b817ca9166f23de4b72774d26e97d","ref":"refs/heads/main","pushedAt":"2024-09-19T22:23:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix(mssql): bump Docker image version (#2786)\n\n* chore: disable mssql tests\r\n\r\nDisable all mssql tests as the container is currently crashing, see #2785\r\n\r\n* fix: use valid MSSQL image\r\n\r\n---------\r\n\r\nCo-authored-by: Manuel de la Peña ","shortMessageHtmlLink":"fix(mssql): bump Docker image version (#2786)"}},{"before":"4a11fc6534cde35ed114eab4bf2c5172e1267a8a","after":"4dbd1834bcce830b8f39d73d04290fef960f3a13","ref":"refs/heads/chore/disable-mssql-tests","pushedAt":"2024-09-19T21:48:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: use valid MSSQL image","shortMessageHtmlLink":"fix: use valid MSSQL image"}},{"before":null,"after":"78552482f705433a0f8b4aef6aff101153d6f008","ref":"refs/heads/chore/bump-golangci-lint","pushedAt":"2024-09-19T16:48:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"chore: golangci-lint 1.61.0\n\nUpdate golangci-lint to v1.61.0 and update the action to v6.1.0.","shortMessageHtmlLink":"chore: golangci-lint 1.61.0"}},{"before":null,"after":"4a11fc6534cde35ed114eab4bf2c5172e1267a8a","ref":"refs/heads/chore/disable-mssql-tests","pushedAt":"2024-09-19T14:58:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"chore: disable mssql tests\n\nDisable all mssql tests as the container is currently crashing, see #2785","shortMessageHtmlLink":"chore: disable mssql tests"}},{"before":"7bc2a8719053a426df76c969cfb6ca107b970f55","after":null,"ref":"refs/heads/fix/reaper-retries-race","pushedAt":"2024-09-19T13:24:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"}},{"before":null,"after":"7bc2a8719053a426df76c969cfb6ca107b970f55","ref":"refs/heads/fix/reaper-retries-race","pushedAt":"2024-09-19T13:23:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"fix(reaper): refactor to allow retries and fix races\n\nRefactor how the reaper is created to allow for proper retries of\ntemporary errors such as container not found issues during startup or\nshutdown races.\n\nThis eliminates the use of sync.Once which wasn't solving the problem at\nhand and replaces it with a singleton spawner with locked access.\n\nWrap reaper errors so we can determine the cause of failures more\neasily.\n\nFix race condition in port wait when loading from container by always\nwaiting for the port first.\n\nRemove unnecessary use of buffering and invalid retry logic in reaper\nconnection handling which could never recover correctly from a partial\nread.\n\nMove the reaper creation just before connections are established in\ncompose to ensure its still running when the Connect calls are made.\n\nPreviously the reaper was requested in NewDockerComposeWith which\nmeans it could have already shutdown before connections are made\nduring the later sections of Up if the startup took over 1 minute.\n\nThis was causing consistent failures for:\nTestDockerComposeAPIWithWaitLogStrategy\n\nEnsure that resource labels are correct so that resources aren't reaped\nwhen the reaper is disabled by excluding session id when reaper is\ndisabled.\n\nError when creating a reaper when the config says it's disabled so that\nwe avoid hard to debug issues because a reaper is running when it\nshouldn't be.","shortMessageHtmlLink":"fix(reaper): refactor to allow retries and fix races"}},{"before":"31a033c5ff201ea3b75a85d702cd98a2de39eca6","after":"069f7248cc14b9f8edfcb31c56e1481d1332170e","ref":"refs/heads/main","pushedAt":"2024-09-18T20:12:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: handle 127 error code for podman compatibility (#2778)\n\n* fix: handle 127 error code for podman compatibility\r\n\r\n* fix: remove magic numbers; handle 126 and 127 error code separately\r\n\r\n* chore: handle comments for removing exitStatus type; handle returned error and switch case instead of if-else-if\r\n\r\n* feat: add unit test for exit code 127\r\n\r\n* chore: add internalCheck() tests for exit code = 126/127\r\n\r\n* chore: replace t.fatal() with require.NoError()\r\n\r\n* chore: merge internal check tests with existing tests; revert mockStrategyTarget to MockStrategyTarget to avoid export errors; run make lint","shortMessageHtmlLink":"fix: handle 127 error code for podman compatibility (#2778)"}},{"before":"e2bd70faa82e7338c56d352f79a13314215d9371","after":"31a033c5ff201ea3b75a85d702cd98a2de39eca6","ref":"refs/heads/main","pushedAt":"2024-09-18T12:32:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: do not override ImageBuildOptions.Labels when building from a Dockerfile (#2775)\n\n* Fix #2632 - ImageBuildOptions.Labels are overwritten\r\n\r\n* Fix #2632 - fix linter errors.\r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update container.go\r\n\r\nCo-authored-by: Manuel de la Peña \r\n\r\n* Update internal/core/labels.go\r\n\r\nCo-authored-by: Manuel de la Peña \r\n\r\n* Update container_test.go\r\n\r\nCo-authored-by: Manuel de la Peña \r\n\r\n* Fix #2632 - remove given, when, then comments.\r\n\r\n* Update internal/core/labels.go\r\n\r\nCo-authored-by: Manuel de la Peña \r\n\r\n* Fix #2632 - unit test update.\r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Fix #2632 - return error when destination labels map is nil and custom labels are present.\r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Update internal/core/labels_test.go\r\n\r\nCo-authored-by: Steven Hartland \r\n\r\n* Fix #2632 - fix test.\r\n\r\n* Update container_test.go\r\n\r\nCo-authored-by: Manuel de la Peña \r\n\r\n---------\r\n\r\nCo-authored-by: Steven Hartland \r\nCo-authored-by: Manuel de la Peña ","shortMessageHtmlLink":"fix: do not override ImageBuildOptions.Labels when building from a Do…"}},{"before":"060734b868fe71a55bdfa2a9293add71caf794ff","after":"e2bd70faa82e7338c56d352f79a13314215d9371","ref":"refs/heads/main","pushedAt":"2024-09-17T23:26:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"feat(mongodb): Wait for mongodb module with a replicaset to finish (#2777)\n\n* Insert a document in mongodb during tests\r\n\r\nTo be able to catch `NotWritablePrimary` error\r\n\r\n* Add mongo:7 to replica set tests\r\n\r\n* Add new waiting strategy for mongodb replicaset\r\n\r\n* Extend default wait strategy\r\n\r\nThanks @stevenh\r\n\r\n---------\r\n\r\nCo-authored-by: Steven Hartland ","shortMessageHtmlLink":"feat(mongodb): Wait for mongodb module with a replicaset to finish (#…"}},{"before":"edb9d0499e0833aeaebbc1af3f9194bfeb0ae627","after":"2c6196fa3b96cc78d65014ebc84c9c02e90c64f8","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-17T16:03:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nDisable linter check for deprecated methods as we use them internally\nand test them.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"97996d65588044cbe96119c9fcbaff6f492454a4","after":null,"ref":"refs/heads/fix-postgres-snapshot","pushedAt":"2024-09-17T12:26:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"}},{"before":"b60497e9c7921c637aa2213bb9bffb486346c15d","after":"060734b868fe71a55bdfa2a9293add71caf794ff","ref":"refs/heads/main","pushedAt":"2024-09-17T12:26:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix(postgres): Apply default snapshot name if no name specified (#2783)","shortMessageHtmlLink":"fix(postgres): Apply default snapshot name if no name specified (#2783)"}},{"before":null,"after":"97996d65588044cbe96119c9fcbaff6f492454a4","ref":"refs/heads/fix-postgres-snapshot","pushedAt":"2024-09-17T11:54:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kiview","name":"Kevin Wittek","path":"/kiview","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5088104?s=80&v=4"},"commit":{"message":"fix(postgres): Apply default snapshot name if no name specified","shortMessageHtmlLink":"fix(postgres): Apply default snapshot name if no name specified"}},{"before":"3f6c23d2621fb7b53c1904d802c403a84845c933","after":"edb9d0499e0833aeaebbc1af3f9194bfeb0ae627","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-17T03:41:54.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nDisable linter check for deprecated methods as we use them internally\nand test them.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"e81fdcb1a8bd9a01395b18f2bf5aa94fee99c688","after":"3f6c23d2621fb7b53c1904d802c403a84845c933","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-17T03:28:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"3e340299a2e82fadf5b2a25d8860ab57dcf35839","after":"e81fdcb1a8bd9a01395b18f2bf5aa94fee99c688","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-17T02:49:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"8ed34c6e80a5e391484b95a4897b90ea19f908d4","after":"3e340299a2e82fadf5b2a25d8860ab57dcf35839","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-16T23:58:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"6d7eb7bd883064ffe581b3b3dfd53b03091a0841","after":"8ed34c6e80a5e391484b95a4897b90ea19f908d4","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-16T19:35:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFix testdata wait scripts.\n\nFix invalid FileMode values, so tests don't fail with the new FileMode\nvalidation.\n\nSwitch to exists check for copy instead of running it as a shell.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"eba1930542d44703a86a26b90533e54bbe440217","after":"6d7eb7bd883064ffe581b3b3dfd53b03091a0841","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-16T17:47:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":null,"after":"eba1930542d44703a86a26b90533e54bbe440217","ref":"refs/heads/feat/copy-host-path-to","pushedAt":"2024-09-16T17:36:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stevenh","name":"Steven Hartland","path":"/stevenh","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104239?s=80&v=4"},"commit":{"message":"feat: copy from host to container\n\nAdd CopyHostPathTo to container methods, which is capable of copying files\nand directories from the host to a container. It identifies the correct\ncopy semantics based on inspecting the source and target, replicating\nthe behaviour of docker cp and other OS copy tools.\n\nThis deprecates CopyDirToContainer and CopyFileToContainer while still\ncorrecting their behaviour to also match docker cp behaviour.\n\nReplace nonamedreturns linter with nakedret, as nonamedreturns prevents\nnaming returned parameters which has a number of valid uses including:\ndisambiguating return values and error checking.\n\nCopying files to the container now doesn't compression as this is\nslower and consumes more resources for the typical local transfer case.\n\nFix docker copy tests to they validate the correct behaviour by ensuring\nthat done is reported to the container log.\n\nClean up some error wrapping.\n\nFixes #2780","shortMessageHtmlLink":"feat: copy from host to container"}},{"before":"d328e09b06c80619cfd036600c8cdaf35a3735d3","after":"8ef4dd1900f7cd65f0351f8f9dc115f427b2356d","ref":"refs/heads/v1","pushedAt":"2024-09-13T11:44:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"docs: remove deprecated RunContainer function from docs and tests","shortMessageHtmlLink":"docs: remove deprecated RunContainer function from docs and tests"}},{"before":"e1705ceaf2e06f8a4789a2b799eddf49cb725aa2","after":"d328e09b06c80619cfd036600c8cdaf35a3735d3","ref":"refs/heads/v1","pushedAt":"2024-09-13T11:38:40.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"Merge branch 'main' into v1\n* main:\n fix: resource clean up for tests and examples (#2738)","shortMessageHtmlLink":"Merge branch 'main' into v1"}},{"before":"b4f82947ee7295898235ee64df290eebe6e49bea","after":"b60497e9c7921c637aa2213bb9bffb486346c15d","ref":"refs/heads/main","pushedAt":"2024-09-12T08:47:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: resource clean up for tests and examples (#2738)\n\nEnsure that all resources are cleaned up for tests and examples even\r\nif they fail.\r\n\r\nThis leverages new helpers in testcontainers:\r\n* TerminateContainer for examples\r\n* CleanupContainer and CleanupNetwork for tests\r\n\r\nThese are required ensuring that containers that are created but fail\r\nin later actions are returned alongside the error so that clean up can\r\nbe performed.\r\n\r\nConsistently clean up created networks using a new context to ensure\r\nthat the removal gets run even if original context has timed out or\r\nbeen cancelled.\r\n\r\nUse fmt.Print instead of log.Fatal to ensure that defers are run in\r\nall examples again ensuring that clean up is processed.\r\n\r\nCall Stop from Terminate to ensure that child containers are shutdown\r\ncorrectly on clean up as the hard coded timeout using by ContainerRemove\r\nis too short to allow this to happen correctly.\r\n\r\nClean up of test logic replacing manual checks and asserts with require\r\nto make them more concise and hence easier to understand.\r\n\r\nQuiet test output by either capturing or disabling output so it's easier\r\nto identify issues when tests are run in non verbose mode.\r\n\r\nClarify source of errors with wrapping and update tests to handle.\r\n\r\nEnsure that port forwarding container is shutdown if an error occurs\r\nduring setup so it isn't orphaned.\r\n\r\nShutdown the port forwarding container on both stop and terminate to\r\nprevent it being orphaned when the Stop is used.\r\n\r\nAdd missing error checks to tests.\r\n\r\nRemove unused nolint directives and enable the nolintlint to catch any\r\nregressions.\r\n\r\nDon't use container as a variable as its overused.","shortMessageHtmlLink":"fix: resource clean up for tests and examples (#2738)"}},{"before":"018c0d567216b33eb24eade9fb7d1e2cc62c2d53","after":"e1705ceaf2e06f8a4789a2b799eddf49cb725aa2","ref":"refs/heads/v1","pushedAt":"2024-09-10T14:22:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mdelapenya","name":"Manuel de la Peña","path":"/mdelapenya","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/951580?s=80&v=4"},"commit":{"message":"fix: run make generate","shortMessageHtmlLink":"fix: run make generate"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEu29BdQA","startCursor":null,"endCursor":null}},"title":"Activity · testcontainers/testcontainers-go"}