forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.14 KB
/
perf_nosqlbench_hash.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
37
38
39
40
41
42
name: perf_nosqlbench_hash
on:
push:
tags:
- '*'
workflow_dispatch:
schedule:
- cron: '0 */3 * * *'
jobs:
perf_nosqlbench_hash:
if: github.repository == 'tarantool/tarantool'
runs-on: perf-sh1
steps:
- name: set PATH to GIT of the newer version 2.9.0
run: echo "/usr/local/git/bin" | tee -a $GITHUB_PATH
- name: cleanup workspace
run: docker run -w /source -v ${PWD}:/source -i centos:8 /bin/bash -c "chown -R $(id -u):$(id -g) * .[^.]*"
- uses: actions/checkout@v1
- name: test
env:
BENCH: 'nosqlbench'
ARG: 'hash'
uses: ./.github/actions/perf
- name: call action to send Telegram message on failure
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_CORE_TOKEN }}
TELEGRAM_TO: ${{ secrets.TELEGRAM_CORE_TO }}
uses: ./.github/actions/send-telegram-notify
if: failure()
- name: artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: perf_nosqlbench_hash
retention-days: 21
path: |
*_result.txt
*_t_version.txt