flagger-k6-webhook icon indicating copy to clipboard operation
flagger-k6-webhook copied to clipboard

Support loading scripts from configmaps

Open julienduchesne opened this issue 3 years ago • 1 comments

K6 supports running tests from a directory structure, using imports. This could be supported by loading common config maps (one or many)

The benefits of this are:

  • Reusing the same tests for multiple deployments
  • Cleaner, more structured test definitions

julienduchesne avatar Nov 25 '21 12:11 julienduchesne

As mentioned here: https://github.com/grafana/flagger-k6-webhook/issues/15#issuecomment-1053761121. Another solution to use multiple files in a single script is to transpile them with rollup.js

julienduchesne avatar Feb 28 '22 01:02 julienduchesne