generated from xpenb/bun-template
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.39 KB
/
ydb-slo-action-test-init.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
43
44
45
name: ydb-slo-action-test-init
on:
pull_request:
workflow_dispatch:
inputs:
github_pull_request_number:
required: true
jobs:
test-ydb-slo-action-init:
name: Test YDB SLO Action Init
runs-on: ubuntu-latest
strategy:
matrix:
sdk: ['sdk-1', 'sdk-2']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize YDB SLO Test
uses: ydb-platform/ydb-slo-action/init@main
with:
github_pull_request_number: ${{ github.event.inputs.github_pull_request_number }}
github_token: ${{ secrets.GITHUB_TOKEN }}
sdk_name: ${{ matrix.sdk }}
- name: Download chaos testing tool
uses: robinraju/release-downloader@v1
with:
repository: 'alexei-led/pumba'
tag: '0.10.1'
fileName: 'pumba_linux_amd64'
out-file-path: './pumba'
- name: Run chaos testing
run: |
echo 'Performing chaos testing...'
chmod +x ./pumba
./pumba --random --interval 30s restart re2:^ydb-dynamic &
- name: Run user workload
run: |
echo 'Running user workload...';
sleep 600