Commit graph

27 commits

Author SHA1 Message Date
Tim Zöller
8c807a8750
Update testcontainers version to 1.19.0 (#69) 2023-08-23 18:10:26 -06:00
Tim Zöller
1bf2c205c1 Applied automatic styling 2022-07-03 17:22:00 +02:00
Tim Zöller
fffb398918 Use nginx Docker image for HTTP wait status test 2022-06-12 11:30:56 +02:00
Tim Zöller
c42886ba56 Added :fn log strategy (#41) 2022-03-26 11:54:28 +01:00
Tim Zöller
28b0183339 Applied autoformatter 2022-03-18 14:05:20 +01:00
Tim Zöller
71af11f503 Extended config for wait strategies (#42) 2022-03-18 14:03:42 +01:00
Rob Hanlon
43d573e6f5
Use .copyFileToContainer when the container is already started (#44) 2020-11-26 12:19:17 +01:00
Tim Zöller
193482c1b8 Prepare Release 0.3.0 2020-10-23 23:12:24 +02:00
Tim Zöller
94975f68f0 Formatting fixes 2020-10-23 22:47:42 +02:00
Tim Zöller
f40dcec5f0 Enhanced logging mechanism, added a test for it 2020-10-23 22:42:11 +02:00
David Harrigan
ec26e4c078
Add support for accessing container logs. (#34)
* Add support for accessing container logs.

closes #27

-=david=-

* Don't add logs to configuration if not capturing the log

* Further refinements
2020-10-05 10:21:16 +02:00
David Harrigan
ea854767ae
Add support for a container wait strategy. (#31)
For review.

-=david=-
2020-09-24 19:23:12 +02:00
Rob Hanlon
76359eec37
Rename init-network, remove .getId call (#30)
* Rename init-network, remove .getId call

- Should be called `create-network` to match the existing `create`
  function
- Network#getId oddly has a side effect, which made generative testing
  impossible. Removing this defers network creation until `start!` is called
- Mark init-network as deprecated

* just use def instead of defn

* Fix indentation in README
2020-08-18 14:44:04 +02:00
Rob Hanlon
c0c08b2e26
Configure clojure.spec, add a few specs (#23)
Creates specs for init, create, and init-network
2020-08-10 08:15:00 +02:00
Rob Hanlon
36f3820f4f
cljstyle redux, with pre-commit hook (#24)
* cljstyle redux, with pre-commit

* Use fork of lein-githooks with fixes for shell characters

* Remove stale doc
2020-08-09 21:38:20 +02:00
Tim Zöller
5f6c9d21ad #8 - Added new functions to the documentation 2020-08-05 22:34:49 +02:00
Tim Zöller
de4a48a07b #2 - Add networking support 2020-08-05 15:37:35 +02:00
Rob Hanlon
8794b4a991
Allow for provision of a Testcontainer instance (#16)
* Allow for provision of a Testcontainer instance

Testcontainers provides many different container implementations that
can be very useful. This simple change allows callers to provide their
own, premade container instance so consumers can flexibly choose their
container type. If no container instance is supplied, then
clj-test-containers falls back to its original behavior.

* Extract  function

* Cleanup, ensure Clojure types instead of Java types

Co-authored-by: Tim Zöller <mail@tim-zoeller.de>
2020-08-05 07:25:59 +02:00
Burin Choomnuan
c30d02aaaf
Add create-from-docker-file (#14)
* Add create-from-docker-file

* Update code base on review/feedback

Fix the following

- Fix the import style in one line
- Use constructure once when creating the docker-image
- Use some? instead of if
- Remove :env-vars from the test
- Move resources to test section
2020-08-05 07:13:31 +02:00
Tim Zöller
647d4fe441 #5 - Refactoring and documentation 2020-06-06 17:30:00 +02:00
Tim Zöller
c8ba10a9dc #5 - Set up dependencies for Clojars Deployment 2020-06-06 15:18:31 +02:00
Tim Zöller
6dbebf15bd #6 - Enabled command execution in the container
Also used it to enhance integration tests and make them more precise
2020-06-06 14:43:11 +02:00
Tim Zöller
dee0c8a572 #3 - Finalized volume handling 2020-06-06 13:57:31 +02:00
Tim Zöller
ec2fdf42eb #3 - Filesytem mappings into the container 2020-06-04 22:52:05 +02:00
Tim Zöller
9991a153dd #1 - Streamlined API some more 2020-06-04 13:04:30 +02:00
Tim Zöller
a6d6c10fde #1 - Added simple configuration for generic container initialisation 2020-06-04 12:35:16 +02:00
Tim Zöller
92b2e27703 Initial Commit containing the App Template 2020-06-04 10:44:03 +02:00