JohnArrowwood / gatling-sbt-seed

Gatling starter project, with all my favorite helper classes
0 stars 1 forks source link

[Request] Dockerfile or testing script #2

Open alxiong opened 5 years ago

alxiong commented 5 years ago

while sbt-native-package gives the option to dockerize your app through:

sbt:AppName> Docker/publishLocal

It won't work out of the box with our current folder since src/main/scala is not really producing a binary. and most of the time it's really the sbt "gatling-it:test" that we want the Dockerfile to have as its CMD and simple sh/bash as its entrypoint.

alternatively, I think a script that ["download sbt", "setup env", "execute gatling-it:test"] would be very helpful for someone who want to just clone their gatling repo and run the test script on an AWS instance or maybe in their CI/CD pipeline. So might worth considering providing that script out of the box, maybe?

JohnArrowwood commented 5 years ago

By all means, submit a pull request! :). I'd love to have some help making it better.

On Mon, Oct 14, 2019 at 12:59 AM Alex Xiong notifications@github.com wrote:

while sbt-native-package gives the option to dockerize your app through:

sbt:AppName> Docker/publishLocal

It won't work out of the box with our current folder since src/main/scala is not really producing a binary. and most of the time it's really the sbt "gatling-it:test" that we want the Dockerfile to have as its CMD and simple sh/bash as its entrypoint.

alternatively, I think a script that ["download sbt", "setup env", "execute gatling-it:test"] would be very helpful for someone who want to just clone their gatling repo and run the test script on an AWS instance or maybe in their CI/CD pipeline. So might worth considering providing that script out of the box, maybe?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JohnArrowwood/gatling-sbt-seed/issues/2?email_source=notifications&email_token=AB3XLRMGFMEMMMH2BQ5TOQ3QOP4BBA5CNFSM4JAKRQM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRPYTZA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3XLRPYYBAMXIFHNRATC4TQOP4BBANCNFSM4JAKRQMQ .