Merging main into develop again #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Chaos Engineering experiments | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
run_experiments: | |
runs-on: ubuntu-latest | |
name: Run Experiments | |
steps: | |
- uses: actions/checkout@v1 | |
- 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()" |