/
githubmirror
/
slo-tests
Обзор
Документация
Войти
/
githubmirror
/
slo-tests
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/k8s-local-python.yml
68 строк
2 KB
Nikita-Levuskin
Update k8s-local-python.yml
02 окт 2024, 19:33
Не верифицирован
02 окт 2024, 19:33
3b411b5
Код
Авторство
О чём код?
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/