aboutsummaryrefslogtreecommitdiffstats
path: root/build/external_resources/gdb/a.yaml
blob: b6918cdd855edb74ef1129ffaab8c405e9dbd3a4 (plain) (blame)
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
70
71
72
73
74
75
76
77
78
79
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

  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}