Skip to content

Commit a6e9a37

Browse files
committed
fixup: Add ci job to validate deployment of chaos mesh
1 parent 2599b53 commit a6e9a37

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,3 +275,13 @@ jobs:
275275
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
276276
loki_username: ${{ secrets.LOKI_ID || '' }}
277277
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
278+
robustness:
279+
runs-on: ubuntu-latest
280+
steps:
281+
- uses: actions/checkout@v4
282+
- uses: ./.github/actions/setup-go-for-project
283+
- uses: ./.github/actions/install-nix
284+
# TODO(marun) Extend testing of robustness beyond deploying a suitable test environment
285+
- name: Deploy kind with chaos mesh
286+
shell: bash
287+
run: nix develop --command ./scripts/run_task.sh test-robustness

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,11 @@ tasks:
257257
- task: generate-load-contract-bindings
258258
- cmd: bash -x ./scripts/tests.load.kube.kind.sh {{.CLI_ARGS}}
259259

260+
test-robustness:
261+
desc: Deploys kind with chaos mesh. Intended to eventually run a robustness (fault-injection) test suite.
262+
cmds:
263+
- ./bin/tmpnetctl start-kind-cluster --install-chaos-mesh
264+
260265
test-unit:
261266
desc: Runs unit tests
262267
# Invoking with bash ensures compatibility with CI execution on Windows

0 commit comments

Comments
 (0)