a.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. title: gdb14
  2. service: buildroot
  3. arcanum:
  4. review:
  5. ignore_self_ship: true
  6. min_approvers_count: 1
  7. disabling_policy: denied
  8. override_policy: append
  9. groups:
  10. - name: reviewers
  11. roles:
  12. - "cc:duty"
  13. - name: owners
  14. roles:
  15. - "cc:duty"
  16. - "cc:developer"
  17. rules:
  18. - reviewers:
  19. - name: reviewers
  20. ship: 0
  21. assign: 1
  22. ignore_self_ship: false
  23. - subpaths: "a.yaml"
  24. reviewers:
  25. - name: reviewers
  26. ship: 0
  27. assign: 1
  28. - name: owners
  29. ship: 1
  30. assign: 0
  31. ignore_self_ship: false
  32. auto_merge:
  33. requirements:
  34. - system: arcanum
  35. type: st_issue_linked
  36. disabling_policy: denied
  37. override_policy: final
  38. data:
  39. in_commit_message: true
  40. - system: arcanum
  41. type: comment_issues_closed
  42. disabling_policy: need_reason
  43. override_policy: final
  44. shared:
  45. mapping_path: &mapping-path "build/external_resources/gdb/resources.json"
  46. input: &base-input
  47. package: gdb/14
  48. toolchain_name: gdb14
  49. ci:
  50. secret: sec-01hnfbz3r6xqfacy9t3he0rzvf
  51. runtime:
  52. sandbox:
  53. owner: DTCC
  54. permissions:
  55. start-flow:
  56. - service: cc
  57. - service: ya_make
  58. releases:
  59. release-gdb:
  60. title: "Release gdb14"
  61. flow: build-and-release-gdb
  62. flow-vars-ui:
  63. schema:
  64. required: [revision]
  65. type: object
  66. properties:
  67. revision:
  68. title: Repository revision (github.com/yandex/toolchains)
  69. type: string
  70. default: HEAD
  71. platforms:
  72. title: Build only for particular platforms (comma separated)
  73. type: string
  74. default: "linux-x86_64, linux-aarch64"
  75. filters:
  76. - discovery: dir
  77. abs-paths:
  78. - devtools/gdb/**
  79. - toolchains/ynd/gdb/**
  80. flows:
  81. build-and-release-gdb:
  82. title: "Build and Release gdb14"
  83. jobs:
  84. build:
  85. title: Build
  86. task: projects/devtools/toolchain_registry/build
  87. input:
  88. <<: *base-input
  89. revision: ${flow-vars.revision}
  90. mapping_path: *mapping-path
  91. selected_platforms: ${flow-vars.platforms}
  92. update-mapping:
  93. title: Update mapping.conf.json
  94. task: projects/devtools/deploy_mapping/deploy_mapping
  95. needs: build
  96. input:
  97. config:
  98. pr_id: ${tasks.build.output_params.pr_id}
  99. create_pr: false
  100. push_only: true
  101. orig_mapping: devtools/ya/opensource/mapping.conf.json
  102. public: true
  103. write_comment: false
  104. release:
  105. title: Release
  106. task: projects/devtools/toolchain_registry/release
  107. needs: update-mapping
  108. input:
  109. <<: *base-input
  110. revision: ${flow-vars.revision}
  111. pr_id: ${tasks.build.output_params.pr_id}
  112. built_resources: ${tasks.build.output_params.built_resources}