Skip to content

Commit d061618

Browse files
authored
Merge branch 'master' into 754-retry-eof
2 parents ecbd3f5 + a93a005 commit d061618

File tree

37 files changed

+2538
-475
lines changed

37 files changed

+2538
-475
lines changed

.github/workflows/slo.yml

Lines changed: 64 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,68 @@ on:
77
pull_request:
88
workflow_dispatch:
99
jobs:
10-
native:
11-
needs: [gorm]
10+
test-slo:
1211
concurrency:
13-
group: slo-native-${{ github.ref }}
14-
if: github.event.pull_request.head.repo.full_name == 'ydb-platform/ydb-go-sdk' &&
15-
!contains(github.event.pull_request.labels.*.name, 'no slo')
16-
uses: ydb-platform/slo-tests/.github/workflows/slo.yml@main
17-
secrets: inherit
18-
with:
19-
language_id: go-native
20-
language: go/v3/native
21-
workload_path: tests/slo
22-
workload_build_options: -f Dockerfile --build-arg SRC_PATH=native
23-
workload_build_context: ../..
24-
database_sql:
25-
needs: [native]
26-
concurrency:
27-
group: slo-database-sql-${{ github.ref }}
28-
if: github.event.pull_request.head.repo.full_name == 'ydb-platform/ydb-go-sdk' &&
29-
!contains(github.event.pull_request.labels.*.name, 'no slo')
30-
uses: ydb-platform/slo-tests/.github/workflows/slo.yml@main
31-
secrets: inherit
32-
with:
33-
language_id: go-database-sql
34-
language: go/v3/database/sql
35-
workload_path: tests/slo
36-
workload_build_options: -f Dockerfile --build-arg SRC_PATH=database/sql
37-
workload_build_context: ../..
38-
gorm:
39-
concurrency:
40-
group: slo-gorm-${{ github.ref }}
41-
if: github.event.pull_request.head.repo.full_name == 'ydb-platform/ydb-go-sdk' &&
42-
!contains(github.event.pull_request.labels.*.name, 'no slo')
43-
uses: ydb-platform/slo-tests/.github/workflows/slo.yml@main
44-
secrets: inherit
45-
with:
46-
language_id: go-gorm
47-
language: go/v3/gorm
48-
workload_path: tests/slo
49-
workload_build_options: -f Dockerfile --build-arg SRC_PATH=gorm
50-
workload_build_context: ../..
12+
group: slo-${{ github.ref }}
13+
if: (!contains(github.event.pull_request.labels.*.name, 'no slo'))
14+
15+
runs-on: ubuntu-latest
16+
name: SLO test
17+
permissions:
18+
checks: write
19+
pull-requests: write
20+
contents: read
21+
issues: write
22+
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v3
26+
27+
- name: Run SLO
28+
uses: ydb-platform/slo-tests@additional-logs
29+
with:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
KUBECONFIG_B64: ${{ secrets.SLO_KUBE_CONFIG }}
32+
AWS_CREDENTIALS_B64: ${{ secrets.SLO_AWS_CREDENTIALS }}
33+
AWS_CONFIG_B64: ${{ secrets.SLO_AWS_CONFIG }}
34+
DOCKER_USERNAME: ${{ secrets.SLO_DOCKER_USERNAME }}
35+
DOCKER_PASSWORD: ${{ secrets.SLO_DOCKER_PASSWORD }}
36+
DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}
37+
DOCKER_FOLDER: ${{ secrets.SLO_DOCKER_FOLDER }}
38+
s3_endpoint: ${{ secrets.SLO_S3_ENDPOINT }}
39+
s3_images_folder: ${{ vars.SLO_S3_IMAGES_FOLDER }}
40+
grafana_domain: ${{ vars.SLO_GRAFANA_DOMAIN }}
41+
grafana_dashboard: ${{ vars.SLO_GRAFANA_DASHBOARD }}
42+
ydb_version: 'newest'
43+
timeBetweenPhases: 30
44+
shutdownTime: 30
45+
46+
language_id0: 'native'
47+
workload_path0: 'tests/slo'
48+
language0: 'Go SDK native'
49+
workload_build_context0: ../..
50+
workload_build_options0: -f Dockerfile --build-arg SRC_PATH=native --build-arg JOB_NAME=workload-native
51+
52+
language_id1: 'databasesql'
53+
workload_path1: 'tests/slo'
54+
language1: 'Go SDK database/sql'
55+
workload_build_context1: ../..
56+
workload_build_options1: -f Dockerfile --build-arg SRC_PATH=database/sql --build-arg JOB_NAME=workload-databasesql
57+
58+
language_id2: 'gorm'
59+
workload_path2: 'tests/slo'
60+
language2: 'Go SDK gorm'
61+
workload_build_context2: ../..
62+
workload_build_options2: -f Dockerfile --build-arg SRC_PATH=gorm --build-arg JOB_NAME=workload-gorm
63+
64+
language_id3: 'xorm'
65+
workload_path3: 'tests/slo'
66+
language3: 'Go SDK xorm'
67+
workload_build_context3: ../..
68+
workload_build_options3: -f Dockerfile --build-arg SRC_PATH=xorm --build-arg JOB_NAME=workload-xorm
69+
70+
- uses: actions/upload-artifact@v3
71+
if: always()
72+
with:
73+
name: slo-logs
74+
path: logs/

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
* Fixed stop reader by grpc stream shutdown
1+
* Fixed stopping reader by grpc stream shutdown
2+
* Fixed `database/sql` driver for get and parse container ydb types
3+
* Changed `table/scanner.scanner.Any()` behaviour: for non-primitive types returns raw `table/types.Value` instead nil from previous behaviour
4+
* Added `table/types.{ListItems,VariantValue,DictValues}` helpers for get internal content of abstract `table/types.Value`
5+
* Marked as deprecated `table/types.DictFields` (use `table/types.DictValues` instead)
6+
7+
## v3.47.5
8+
* Added `scheme.Entry.IsColumnTable()` helper
9+
10+
## v3.47.4
11+
* Disabled check of node exists with `balancers.SingleConn`
212
* Improved code with `go-critic` linter
313
* Added session info into `database/sql` event `connected`
414

examples/containers/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/containers/containers.go

Lines changed: 0 additions & 162 deletions
This file was deleted.

0 commit comments

Comments
 (0)