Skip to content

Smoke RocksDB Nightly #999

Smoke RocksDB Nightly

Smoke RocksDB Nightly #999

on:
workflow_dispatch:
schedule:
- cron: '0 02 * * *'
name: Smoke RocksDB Nightly
jobs:
smoke-nightly:
runs-on: self-hosted
name: Smoke Nightly ${{ matrix.rocksdb-ref }}
strategy:
fail-fast: false
matrix:
rocksdb-ref:
- main
- 6.29.fb
- 7.2.fb
- 7.10.fb
- 8.7.fb
steps:
- name: Clean
run: rm -rf ${GITHUB_WORKSPACE}/*
- name: Checkout build scripts
run: git clone ~/harness.git
- name: Checkout zbdbench
uses: actions/checkout@v2
with:
repository: westerndigitalcorporation/zbdbench
ref: v0.1.1
path: harness/rocksdb-context/zbdbench
- name: Checkout rocksdb
uses: actions/checkout@v2
with:
repository: facebook/rocksdb
ref: ${{ matrix.rocksdb-ref }}
path: harness/rocksdb-context/rocksdb
- name: Checkout zenfs
uses: actions/checkout@v2
with:
fetch-depth: 0
path: harness/rocksdb-context/rocksdb/plugin/zenfs
- name: Build docker image
run: cd harness && st -o logs/make-smoke -- make NO_VAGRANT=1 V=1 rocksdb-docker-image
- name: Run smoke tests
run: cd harness && st --silent -o logs/make-smoke -- disk-select --disk 1TB -- make NO_VAGRANT=1 results/zenfs-smoke.xml
- name: Run utils tests
run: cd harness && st --silent -o logs/make-utils -- disk-select --disk 1TB -- make NO_VAGRANT=1 results/zenfs-utils.xml
- name: Collect Results
run: cd harness && make NO_VAGRANT=1 upload
if: always()
- name: Remove docker images
run: podman rmi --force --all
if: always()