I want some ideas as i want to reuse the test-run CR once the config map containing config.js is changed i want to make this for the developers ?
And to integrate with the CI/CD and make reusable.
Hi @olhayevtushenko, would you mind chiming in here, and helping with some assistance around the k6 operator, please?
Thanks!
Sorry for the delay! I’m not sure I follow the question. If you changed your test, that means you need to restart it. With k6-operator, it means delete and create your TestRun CR anew. k6 CLI doesn’t support on-the-fly-restart of the script, and so neither does k6-operator.
Just in case, if you keep your script in ConfigMap, then to change it you need to first re-create a ConfigMap object. Then re-create the TestRun. It’s the same everywhere, in CI/CD as well.
LMK if additional info is needed.