a.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. title: Release `ya tool python3`
  2. service: cc
  3. ci:
  4. secret: sec-01e0d4agf6pfvwdjwxp61n3fvg
  5. runtime:
  6. sandbox:
  7. owner: DTCC
  8. releases:
  9. release-ya-tool-python3:
  10. title: Release `ya tool python3`
  11. flow: release-ya-tool-python3
  12. flows:
  13. release-ya-tool-python3:
  14. title: Release `ya tool python3`
  15. jobs:
  16. build:
  17. title: Build
  18. task: common/arcadia/build_arcadia_project_for_all
  19. input:
  20. platforms_list:
  21. - linux
  22. - linux-aarch64
  23. - darwin
  24. - darwin-arm64
  25. - win32
  26. checkout_arcadia_from_url: arcadia-arc:/#${context.target_revision.hash}
  27. project: contrib/tools/python3/bin/python3
  28. musl: true
  29. create-pr:
  30. title: Create PR
  31. needs:
  32. - build
  33. task: projects/devtools/deploy_tools/deploy_tools
  34. input:
  35. config:
  36. arc_revision_hash: ${context.target_revision.hash}
  37. tools_array:
  38. - source: contrib/tools/python3/bin/python3
  39. processor: resource_map
  40. output: build/platform/python/ymake_python3/resources.json
  41. is_release: true
  42. create_pr: true
  43. branch_prefix: deploy-tools
  44. branch_suffix: ${context.version_info.full}
  45. push_from_user: false
  46. sb_resources: ${(tasks.*.resources[])[?type == 'PLATFORM_MAPPING']}
  47. write-info-comment:
  48. title: Write comment about flow info
  49. needs: create-pr
  50. task: projects/devtools/write_pr_comment/write_pr_comment
  51. input:
  52. config:
  53. data: "From hash: [${context.target_revision.hash}](https://a.yandex-team.ru/arcadia/commit/${context.target_revision.hash})\n
  54. From revision: [${context.target_revision.number}](https://a.yandex-team.ru/arcadia/commit/${context.target_revision.number})\n
  55. [CI flow](${context.ci_url})\n
  56. Flow triggered by user: [${context.flow_triggered_by}](https://staff.yandex-team.ru/${context.flow_triggered_by})"
  57. pr_id: ${tasks.create-pr.result.pr_id}