aboutsummaryrefslogtreecommitdiffstats
path: root/build/external_resources/gdb/a.yaml
blob: 7cb1cc01af6e13a2f146357facbd5da34097784f (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
title: gdb14
service: buildroot

shared:
  resource_path: &resource-path "build/external_resources/gdb/resources.json"
  input: &base-input
    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]
          type: object
          properties:
            revision:
              title: Repository revision (github.com/yandex/toolchains)
              type: string
              default: HEAD
            platforms:
              title: Build only for particular platforms (comma separated)
              type: string
              default: "linux-x86_64, linux-aarch64"
      filters:
        - discovery: dir
          abs-paths:
            - devtools/gdb/**
            - toolchains/ynd/gdb/**

  flows:
    build-and-release-gdb:
      title: "Build and Release gdb14"
      jobs:
        build:
          title: Build
          task: projects/devtools/contrib/toolchain_registry/build
          input:
            <<: *base-input
            revision: ${flow-vars.revision}
            resource_path: *resource-path
            particular_platforms: ${flow-vars.platforms}

        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
            revision: ${flow-vars.revision}
            pr_id: ${tasks.build.output_params.pr_id}