Skip to content

nightly chaos testing #261

nightly chaos testing

nightly chaos testing #261

Workflow file for this run

name: nightly chaos testing
on:
workflow_dispatch: {}
schedule:
# daily at 06:23
- cron: "23 06 * * *"
# Declare default permissions as read only.
permissions: read-all
jobs:
chaos-testing:
name: chaos testing
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0
- name: Install Task
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run chaos-test task
run: task chaos-test
- name: Print cluster logs
if: always()
run: |
kubectl cluster-info dump -o yaml | tee kind-cluster-dump.txt
- name: Upload cluster dump
if: always()
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: kind-cluster-dump.txt
path: |
kind-cluster-dump.txt