-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (34 loc) · 1.13 KB
/
test-custom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Dqlite Jepsen tests - custom dispatch
on:
workflow_dispatch:
inputs:
dqlite-repo:
description: dqlite repo
default: canonical/dqlite
dqlite-ref:
description: dqlite branch or ref
default: master
workloads:
description: Workloads as a JSON array, e.g. [ 'append' ]
required: true
nemeses:
description: Nemeses as a JSON array, e.g. [ 'pause', 'disk' ]
required: true
disk:
description: "Enable or disable dqlite's disk-mode e.g. [ '0', '1 ]"
required: true
cli-opts:
description: Jepsen cli opts, e.g. --node-targets primaries
required: false
jobs:
custom-dispatch:
uses: canonical/jepsen.dqlite/.github/workflows/test-build-run.yml@master
with:
workloads: ${{ inputs.workloads }}
nemeses: ${{ inputs.nemeses }}
disk: ${{ inputs.disk }}
cli-opts: ${{ inputs.cli-opts }}
jepsen-dqlite-repo: canonical/jepsen.dqlite
jepsen-dqlite-ref: master
dqlite-repo: ${{ inputs.dqlite-repo || 'canonical/dqlite' }}
dqlite-ref: ${{ inputs.dqlite-ref || 'master' }}