aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhiddenpath <hiddenpath@yandex-team.com>2024-03-14 11:17:03 +0300
committerhiddenpath <hiddenpath@yandex-team.com>2024-03-14 11:26:26 +0300
commitd4249a074243bb969bf8c144374e0441b673df2f (patch)
tree940c1b479f5c2fa1c8ddfc8f2c69e93a2e4a000b
parent2b962b70ac051456cef192d0b77d47bb538d7321 (diff)
downloadydb-d4249a074243bb969bf8c144374e0441b673df2f.tar.gz
Put gdb under toolchain registry
a4c6c9b0a202fd36ba08f00fe6cd16a1251055ef
-rw-r--r--build/external_resources/gdb/a.yaml83
1 files changed, 83 insertions, 0 deletions
diff --git a/build/external_resources/gdb/a.yaml b/build/external_resources/gdb/a.yaml
new file mode 100644
index 0000000000..10fbbc7874
--- /dev/null
+++ b/build/external_resources/gdb/a.yaml
@@ -0,0 +1,83 @@
+title: gdb14
+service: buildroot
+
+shared:
+ resource_path: &resource-path "build/external_resources/gdb/resources.json"
+ input: &base-input
+ revision: ${tasks.checkout.result_output[0].string[0]}
+ package: gdb/14
+ toolchain_name: gdb14
+
+ci:
+ secret: sec-01hnfbz3r6xqfacy9t3he0rzvf
+ runtime:
+ sandbox:
+ owner: DTCC
+ notifications:
+ - statuses: [FAILURE, EXCEPTION]
+ transport: email
+ recipients: devtools-cc
+
+ permissions:
+ start-flow:
+ - service: cc
+ - service: ya_make
+
+ releases:
+ release-gdb:
+ title: "Release gdb14"
+ flow: build-and-release-gdb
+ flow-vars-ui:
+ schema:
+ required: [revision, ix_revision]
+ type: object
+ properties:
+ revision:
+ title: Repository revision (github.com/yandex/toolchains)
+ type: string
+ default: HEAD
+ ix_revision:
+ title: IX submodule revision (github.com/stal-ix/ix)
+ type: string
+ default: CURRENT
+ filters:
+ - discovery: dir
+ abs-paths:
+ - toolchains/ynd/gdb/**
+
+ flows:
+ build-and-release-gdb:
+ title: "Build and Release gdb14"
+ jobs:
+ checkout:
+ title: Checkout IX submodule
+ task: projects/devtools/contrib/toolchain_registry/checkout
+
+ build:
+ title: Build
+ task: projects/devtools/contrib/toolchain_registry/build
+ needs: checkout
+ input:
+ <<: *base-input
+ resource_path: *resource-path
+
+ update-mapping:
+ title: Update mapping.conf.json
+ task: projects/devtools/deploy_mapping/deploy_mapping
+ needs: build
+ input:
+ config:
+ pr_id: ${tasks.build.output_params.pr_id}
+ create_pr: false
+ push_only: true
+ orig_mapping: devtools/ya/opensource/mapping.conf.json
+ public: true
+ write_comment: false
+
+ release:
+ title: Release
+ task: projects/devtools/contrib/toolchain_registry/release
+ needs: update-mapping
+ input:
+ <<: *base-input
+ pr_id: ${tasks.build.output_params.pr_id}