a.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. title: gdb14
  2. service: buildroot
  3. shared:
  4. resource_path: &resource-path "build/external_resources/gdb/resources.json"
  5. input: &base-input
  6. package: gdb/14
  7. toolchain_name: gdb14
  8. ci:
  9. secret: sec-01hnfbz3r6xqfacy9t3he0rzvf
  10. runtime:
  11. sandbox:
  12. owner: DTCC
  13. permissions:
  14. start-flow:
  15. - service: cc
  16. - service: ya_make
  17. releases:
  18. release-gdb:
  19. title: "Release gdb14"
  20. flow: build-and-release-gdb
  21. flow-vars-ui:
  22. schema:
  23. required: [revision]
  24. type: object
  25. properties:
  26. revision:
  27. title: Repository revision (github.com/yandex/toolchains)
  28. type: string
  29. default: HEAD
  30. platforms:
  31. title: Build only for particular platforms (comma separated)
  32. type: string
  33. default: "linux-x86_64, linux-aarch64"
  34. filters:
  35. - discovery: dir
  36. abs-paths:
  37. - devtools/gdb/**
  38. - toolchains/ynd/gdb/**
  39. flows:
  40. build-and-release-gdb:
  41. title: "Build and Release gdb14"
  42. jobs:
  43. build:
  44. title: Build
  45. task: projects/devtools/contrib/toolchain_registry/build
  46. input:
  47. <<: *base-input
  48. revision: ${flow-vars.revision}
  49. resource_path: *resource-path
  50. particular_platforms: ${flow-vars.platforms}
  51. update-mapping:
  52. title: Update mapping.conf.json
  53. task: projects/devtools/deploy_mapping/deploy_mapping
  54. needs: build
  55. input:
  56. config:
  57. pr_id: ${tasks.build.output_params.pr_id}
  58. create_pr: false
  59. push_only: true
  60. orig_mapping: devtools/ya/opensource/mapping.conf.json
  61. public: true
  62. write_comment: false
  63. release:
  64. title: Release
  65. task: projects/devtools/contrib/toolchain_registry/release
  66. needs: update-mapping
  67. input:
  68. <<: *base-input
  69. revision: ${flow-vars.revision}
  70. pr_id: ${tasks.build.output_params.pr_id}