testcontainers / testcontainers-jooq-codegen-maven-plugin

jOOQ code generator using Testcontainers
Apache License 2.0
56 stars 9 forks source link

#26 Support init scripts for test containers #35

Open zzzLobster opened 1 year ago

zzzLobster commented 1 year ago

26 Feature: Support for TC_INITSCRIPT parameter

zzzLobster commented 10 months ago

@sivaprasadreddy , @mzagar, @eddumelendez , could you please merge approved PRs and publish new release? I do need these changes. Thank you so much!

rajadilipkolli commented 7 months ago

@kiview can you please approve?

zzzLobster commented 7 months ago

Thanks for the contribution. I would suggest next time discussing the feature before raising a PR. No immediate action for now, I see some other options

1. Support copy file

2. Support volume mount

3. Execute scripts using ScriptUtils (this PR)

Currently, the suggested approach is using copy files instead due to most of the images provides a fresh initialization folder.

@eddumelendez , could you please check my questions in the issue? #26