Skip to content

Run Chaos Engineering experiments #51

Run Chaos Engineering experiments

Run Chaos Engineering experiments #51

name: Run Chaos Engineering experiments
on:
workflow_dispatch:
# Run experiment recurrently to always have some example logs in demos
schedule:
- cron: "15 1 1,15 * *"
jobs:
run_experiments:
runs-on: ubuntu-latest
name: Run Experiments
steps:
- uses: actions/checkout@v4
- name: Install Steadybit CLI
run: npm install -g steadybit
shell: bash
- name: Add Mask
run: echo "::add-mask::${{ secrets.STEADYBIT_API_ACCESS_TOKEN }}"
- name: Add Steadybit Profile with a Team Token
run: steadybit config profile add --name "CI/CD" --token "${{ secrets.STEADYBIT_API_ACCESS_TOKEN }}"
shell: bash
- name: Run experiment via Experiment Key
run: steadybit experiment run -k GITHUB-16
if: "!cancelled()"
- name: Run versioned experiments
run: steadybit experiment run -f experiments/ --recursive
if: "!cancelled()"