Skip to content

On Demand Preview and Test Environments

Choose a tag to compare

@h4ck3rk3y h4ck3rk3y released this 26 Feb 20:03
· 7 commits to main since this release
d0cb0c9

This GitHub Action integrates Kurtosis into your CI/CD pipeline, allowing you to leverage Kurtosis tests and environments directly within GitHub Actions workflows.

Note - This action currently supports Docker environments. For Kubernetes support, please reach out to @h4ck3rk3y.

You will have to add a new workflow to your GitHub that will look like

name: CI

on:
    pull_request:

jobs:
    run_kurtosis:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout Repository
              uses: actions/checkout@v4    
            - name: Run Kurtosis
              uses: kurtosis-tech/kurtosis-github-action@v1
              with:
                path: "."
                cloud_instance_id: INSTANCE_ID
                cloud_api_key: ${{ secrets.KURTOSIS_CLOUD_API_KEY }}

The KURTOSIS_CLOUD_API_KEY needs to be in your repository secret and the INSTANCE_ID needs to be replaced with the right value. You can get your Kurtosis Cloud account for free here

The path can be a directory containing a Kurtosis package or a docker-compose.yml file. It can also be a URL that points to a Kurtosis Package.