-
Notifications
You must be signed in to change notification settings - Fork 3
69 lines (60 loc) · 1.83 KB
/
k8s-local-python.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: k8s-local-python
on:
workflow_dispatch:
inputs:
read-rps:
description: Required Read RPS
required: true
type: string
default: '1000'
write-rps:
description: Required Write RPS
required: true
type: string
default: '50'
pull_request:
branches:
- 'k8s-local'
jobs:
test-slo:
concurrency:
group: slo-${{ github.ref }}
runs-on: ubuntu-latest
name: SLO test
permissions:
checks: write
pull-requests: write
contents: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ydb-platform/ydb-python-sdk
- name: Run SLO
uses: ydb-platform/slo-tests@k8s-local
env:
DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}
continue-on-error: true
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
grafana_dashboard: ${{ vars.SLO_GRAFANA_DASHBOARD }}
READ_RPS: ${{ github.event.inputs.read-rps }}
WRITE_RPS: ${{ github.event.inputs.write-rps }}
ydb_version: 'newest'
timeBetweenPhases: 30
shutdownTime: 30
language_id0: sync-python-table
language0: Python SDK over Table Service
workload_path0: tests/slo
workload_build_context0: ../..
workload_build_options0: -f Dockerfile --build-arg SDK_SERVICE=sync-python-table
language_id1: sync-python-query
language1: Python SDK over Query Service
workload_path1: tests/slo
workload_build_context1: ../..
workload_build_options1: -f Dockerfile --build-arg SDK_SERVICE=sync-python-query
- uses: actions/upload-artifact@v4
with:
name: slo-logs
path: logs/