flagger-k6-webhook
flagger-k6-webhook copied to clipboard
Support loading scripts from configmaps
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
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