Browse Source

.github: [jepsen] add more docs (#6141)

pull/6160/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
5a39f72aa8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 7 deletions
  1. +17
    -7
      .github/workflows/jepsen.yml

+ 17
- 7
.github/workflows/jepsen.yml View File

@ -1,10 +1,19 @@
# Runs Jepsen tests: https://github.com/tendermint/jepsen.
# Runs a Jepsen test - cas-register (no nemesis) by default.
# See inputs for various options.
# Repo: https://github.com/tendermint/jepsen
#
# If you want to test a new breaking version of Tendermint, you'll need to
# update the Merkleeyes ABCI app and 'merkleeyesUrl' input accordingly. You can
# upload a new tarball to
# https://github.com/tendermint/jepsen/releases/tag/0.2.1.
#
# Manually triggered.
name: jepsen name: jepsen
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
workload: workload:
description: 'Test workload to run; e.g. cas-register, set'
description: 'Test workload to run: (cas-register | set)'
required: true required: true
default: 'cas-register' default: 'cas-register'
nemesis: nemesis:
@ -24,23 +33,24 @@ on:
required: true required: true
default: 60 default: 60
tendermintUrl: tendermintUrl:
description: 'Where to grab the Tendermint binary (linux/amd64 tarball)?'
description: 'Where to grab the Tendermint tarball (w/ linux/amd64 binary)'
required: true required: true
default: 'https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz' default: 'https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz'
merkleeyesUrl: merkleeyesUrl:
description: 'Where to grab the Merkleeyes binary (linux/amd64 tarball)?'
description: 'Where to grab the Merkleeyes tarball (w/ linux/amd64 binary)'
required: true required: true
default: 'https://github.com/melekes/katas/releases/download/0.2.0/merkleeyes_0.1.7.tar.gz'
default: 'https://github.com/tendermint/jepsen/releases/download/0.2.1/merkleeyes_0.1.7.tar.gz'
jobs: jobs:
jepsen-test: jepsen-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
- name: Checkout the Jepsen repository
uses: actions/checkout@v2
with: with:
repository: 'tendermint/jepsen' repository: 'tendermint/jepsen'
- name: Start a Jepsen cluster
- name: Start a Jepsen cluster in background
working-directory: docker working-directory: docker
run: ./bin/up --daemon run: ./bin/up --daemon


Loading…
Cancel
Save