Skip to content

Commit 1e34c36

Browse files
committed
Merge pull request #26587 from ydb-platform/merge-rightlib-251009-0050
2 parents 97e5306 + b98431a commit 1e34c36

File tree

511 files changed

+22910
-20091
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

511 files changed

+22910
-20091
lines changed

build/conf/custom_lint.conf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
JSON_LINTER_DEFAULT_CONFIGS=build/config/tests/json_style/default_configs.json
2+
3+
4+
# tag:lint tag:internal
5+
macro _CUSTOM_LINT_FILES(GLOB_VAR, EXT, DIRS[], DIRS_RECURSE[]) {
6+
_GLOB(${GLOB_VAR} ${suf=/*.(${EXT}):DIRS} ${suf=/**/*.(${EXT}):DIRS_RECURSE} ${suf=/**/ya.make:DIRS_RECURSE} ${suf=/ya.make:DIRS} EXCLUDE ya.make)
7+
}
8+
9+
# tag: internal
10+
macro _ADD_JSON_EXPLICIT_LINTER_CHECK(Args...) {
11+
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS ${ARCADIA_ROOT}/${JSON_LINTER_DEFAULT_CONFIGS})
12+
}
13+
14+
# tag:lint tag:test
15+
### @usage: STYLE_JSON([DIRS dirs] [DIRS_RECURSE dirs_recurse])
16+
macro STYLE_JSON(DIRS[], DIRS_RECURSE[]) {
17+
# XXX: _MAKEFILE_INCLUDE_LIKE_DEPS is extended to get linter wrapper exported to opensource
18+
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS ${ARCADIA_ROOT}/tools/clang_format_json_linter/wrapper.py)
19+
SET(_VAR_JSON_LINT_FILES_SALT __DIRS__ ${DIRS} __DIRS_RECURSE__ ${DIRS_RECURSE})
20+
SET(_CUSTOM_JSON_LINT_FILES_GLOB uniq_json_lint_files_${hash:_VAR_JSON_LINT_FILES_SALT})
21+
_CUSTOM_LINT_FILES(${_CUSTOM_JSON_LINT_FILES_GLOB} json DIRS .${pre=/:DIRS} DIRS_RECURSE $DIRS_RECURSE)
22+
_ADD_JSON_EXPLICIT_LINTER_CHECK(NAME clang_format_json WRAPPER_SCRIPT tools/clang_format_json_linter/wrapper.py CONFIGS $JSON_LINTER_DEFAULT_CONFIGS FILES ${${_CUSTOM_JSON_LINT_FILES_GLOB}})
23+
}

build/external_resources/gdb/a.yaml

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: gdb14
1+
title: gdb
22
service: buildroot
33

44
arcanum:
@@ -48,8 +48,21 @@ arcanum:
4848
shared:
4949
mapping_path: &mapping-path "build/external_resources/gdb/resources.json"
5050
input: &base-input
51-
package: gdb/14
52-
toolchain_name: gdb14
51+
package: ${flow-vars.ix_package}
52+
toolchain_name: ${flow-vars.toolchain_name}
53+
54+
shared-flow-vars-ui: &ui-vars
55+
required: [revision]
56+
type: object
57+
properties:
58+
revision:
59+
title: Repository revision (github.com/yandex/toolchains)
60+
type: string
61+
default: HEAD
62+
platforms:
63+
title: Build only for particular platforms (comma separated)
64+
type: string
65+
default: "linux-x86_64, linux-aarch64"
5366

5467
ci:
5568
secret: sec-01hnfbz3r6xqfacy9t3he0rzvf
@@ -66,28 +79,40 @@ ci:
6679
release-gdb:
6780
title: "Release gdb14"
6881
flow: build-and-release-gdb
82+
flow-vars:
83+
ix_package: gdb/14
84+
toolchain_name: gdb14
85+
mapping_path: build/external_resources/gdb/resources.json
86+
flow-vars-ui:
87+
schema:
88+
<<: *ui-vars
89+
filters:
90+
- discovery: dir
91+
abs-paths:
92+
- devtools/gdb/**
93+
- toolchains/ynd/bin/gdb/**
94+
- toolchains/ynd/gdb/**
95+
96+
release-gdb-16:
97+
title: "Release gdb16"
98+
flow: build-and-release-gdb
99+
flow-vars:
100+
ix_package: bin/gdb/16
101+
toolchain_name: gdb16
102+
mapping_path: build/external_resources/gdb/resources.json
69103
flow-vars-ui:
70104
schema:
71-
required: [revision]
72-
type: object
73-
properties:
74-
revision:
75-
title: Repository revision (github.com/yandex/toolchains)
76-
type: string
77-
default: HEAD
78-
platforms:
79-
title: Build only for particular platforms (comma separated)
80-
type: string
81-
default: "linux-x86_64, linux-aarch64"
105+
<<: *ui-vars
82106
filters:
83107
- discovery: dir
84108
abs-paths:
85109
- devtools/gdb/**
110+
- toolchains/ynd/bin/gdb/**
86111
- toolchains/ynd/gdb/**
87112

88113
flows:
89114
build-and-release-gdb:
90-
title: "Build and Release gdb14"
115+
title: "Build and Release gdb"
91116
jobs:
92117
build:
93118
title: Build
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"by_platform": {
33
"darwin": {
4-
"uri": "sbr:9907876625"
4+
"uri": "sbr:9930174079"
55
},
66
"darwin-arm64": {
7-
"uri": "sbr:9907875651"
7+
"uri": "sbr:9930171537"
88
},
99
"linux": {
10-
"uri": "sbr:9907878587"
10+
"uri": "sbr:9930179303"
1111
},
1212
"linux-aarch64": {
13-
"uri": "sbr:9907874761"
13+
"uri": "sbr:9930168648"
1414
},
1515
"win32": {
16-
"uri": "sbr:9907877791"
16+
"uri": "sbr:9930176677"
1717
}
1818
}
1919
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"by_platform": {
33
"darwin": {
4-
"uri": "sbr:9907877955"
4+
"uri": "sbr:9930153498"
55
},
66
"darwin-arm64": {
7-
"uri": "sbr:9907876698"
7+
"uri": "sbr:9930150770"
88
},
99
"linux": {
10-
"uri": "sbr:9907879194"
10+
"uri": "sbr:9930158816"
1111
},
1212
"linux-aarch64": {
13-
"uri": "sbr:9907875708"
13+
"uri": "sbr:9930148447"
1414
},
1515
"win32": {
16-
"uri": "sbr:9907878726"
16+
"uri": "sbr:9930156069"
1717
}
1818
}
1919
}

build/mapping.conf.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@
879879
"9772289945": "{registry_endpoint}/9772289945",
880880
"9835961820": "{registry_endpoint}/9835961820",
881881
"9907876625": "{registry_endpoint}/9907876625",
882+
"9930174079": "{registry_endpoint}/9930174079",
882883
"5766171800": "{registry_endpoint}/5766171800",
883884
"5805430761": "{registry_endpoint}/5805430761",
884885
"5829025456": "{registry_endpoint}/5829025456",
@@ -982,6 +983,7 @@
982983
"9772289314": "{registry_endpoint}/9772289314",
983984
"9835960630": "{registry_endpoint}/9835960630",
984985
"9907875651": "{registry_endpoint}/9907875651",
986+
"9930171537": "{registry_endpoint}/9930171537",
985987
"5766173070": "{registry_endpoint}/5766173070",
986988
"5805432830": "{registry_endpoint}/5805432830",
987989
"5829031598": "{registry_endpoint}/5829031598",
@@ -1085,6 +1087,7 @@
10851087
"9772291630": "{registry_endpoint}/9772291630",
10861088
"9835963691": "{registry_endpoint}/9835963691",
10871089
"9907878587": "{registry_endpoint}/9907878587",
1090+
"9930179303": "{registry_endpoint}/9930179303",
10881091
"5766171341": "{registry_endpoint}/5766171341",
10891092
"5805430188": "{registry_endpoint}/5805430188",
10901093
"5829023352": "{registry_endpoint}/5829023352",
@@ -1188,6 +1191,7 @@
11881191
"9772288547": "{registry_endpoint}/9772288547",
11891192
"9835959794": "{registry_endpoint}/9835959794",
11901193
"9907874761": "{registry_endpoint}/9907874761",
1194+
"9930168648": "{registry_endpoint}/9930168648",
11911195
"8270821739": "{registry_endpoint}/8270821739",
11921196
"8295446553": "{registry_endpoint}/8295446553",
11931197
"8326170338": "{registry_endpoint}/8326170338",
@@ -1221,6 +1225,7 @@
12211225
"9772290670": "{registry_endpoint}/9772290670",
12221226
"9835962816": "{registry_endpoint}/9835962816",
12231227
"9907877791": "{registry_endpoint}/9907877791",
1228+
"9930176677": "{registry_endpoint}/9930176677",
12241229
"5766172695": "{registry_endpoint}/5766172695",
12251230
"5805432230": "{registry_endpoint}/5805432230",
12261231
"5829029743": "{registry_endpoint}/5829029743",
@@ -2576,6 +2581,7 @@
25762581
"9772289945": "devtools/ymake/bin/ymake for darwin",
25772582
"9835961820": "devtools/ymake/bin/ymake for darwin",
25782583
"9907876625": "devtools/ymake/bin/ymake for darwin",
2584+
"9930174079": "devtools/ymake/bin/ymake for darwin",
25792585
"5766171800": "devtools/ymake/bin/ymake for darwin-arm64",
25802586
"5805430761": "devtools/ymake/bin/ymake for darwin-arm64",
25812587
"5829025456": "devtools/ymake/bin/ymake for darwin-arm64",
@@ -2679,6 +2685,7 @@
26792685
"9772289314": "devtools/ymake/bin/ymake for darwin-arm64",
26802686
"9835960630": "devtools/ymake/bin/ymake for darwin-arm64",
26812687
"9907875651": "devtools/ymake/bin/ymake for darwin-arm64",
2688+
"9930171537": "devtools/ymake/bin/ymake for darwin-arm64",
26822689
"5766173070": "devtools/ymake/bin/ymake for linux",
26832690
"5805432830": "devtools/ymake/bin/ymake for linux",
26842691
"5829031598": "devtools/ymake/bin/ymake for linux",
@@ -2782,6 +2789,7 @@
27822789
"9772291630": "devtools/ymake/bin/ymake for linux",
27832790
"9835963691": "devtools/ymake/bin/ymake for linux",
27842791
"9907878587": "devtools/ymake/bin/ymake for linux",
2792+
"9930179303": "devtools/ymake/bin/ymake for linux",
27852793
"5766171341": "devtools/ymake/bin/ymake for linux-aarch64",
27862794
"5805430188": "devtools/ymake/bin/ymake for linux-aarch64",
27872795
"5829023352": "devtools/ymake/bin/ymake for linux-aarch64",
@@ -2885,6 +2893,7 @@
28852893
"9772288547": "devtools/ymake/bin/ymake for linux-aarch64",
28862894
"9835959794": "devtools/ymake/bin/ymake for linux-aarch64",
28872895
"9907874761": "devtools/ymake/bin/ymake for linux-aarch64",
2896+
"9930168648": "devtools/ymake/bin/ymake for linux-aarch64",
28882897
"8270821739": "devtools/ymake/bin/ymake for win32",
28892898
"8295446553": "devtools/ymake/bin/ymake for win32",
28902899
"8326170338": "devtools/ymake/bin/ymake for win32",
@@ -2918,6 +2927,7 @@
29182927
"9772290670": "devtools/ymake/bin/ymake for win32",
29192928
"9835962816": "devtools/ymake/bin/ymake for win32",
29202929
"9907877791": "devtools/ymake/bin/ymake for win32",
2930+
"9930176677": "devtools/ymake/bin/ymake for win32",
29212931
"5766172695": "devtools/ymake/bin/ymake for win32-clang-cl",
29222932
"5805432230": "devtools/ymake/bin/ymake for win32-clang-cl",
29232933
"5829029743": "devtools/ymake/bin/ymake for win32-clang-cl",

0 commit comments

Comments
 (0)