How to run KRE on Octopus Deploy

In this tutorial, we will create a simple integration between KRE and Octopus Deploy https://octopus.com/ on your Linux Octopus worker

Requirements:

  • KRE license

  • Git, Docker installed on your Octopus Linux Worker(s).

Steps:

  • In the Process Editor, Create a Run a Script step

  • In the step, edit Inline Source Code with this Bash script

git clone <your-repo-url>
cd <your-repo-folder>
docker run -t --rm -v "$(pwd)":/tmp/project katalonstudio/katalon:latest katalonc.sh -projectPath=/tmp/project -testSuitePath="path to your suite" --executionProfile="default" -apiKey="your api key"
  • Save the step, and deploy

Wow, great sharing anh. I think this can help a lot of our members here. Thank you for your contribution

Thanks for sharing, I was looking for this

One thing to keep in mind is that the Octopus worker or target machine needs the same dependencies and permissions that KRE expects. I’ve seen deployment steps succeed but test execution fail because the environment wasn’t identical to the local setup. Checking the execution logs in detail can usually reveal what’s missing.