config 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("abbrev") %]'
  3. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  4. git_hash: '[% project %]-[% c("var/android_components_version") %]-[% c("var/torbrowser_branch") %]-1-build1'
  5. git_url: https://gitlab.torproject.org/tpo/applications/android-components.git
  6. tag_gpg_id: 1
  7. gpg_keyring: torbutton.gpg
  8. variant: '[% IF c("var/release") %]Release[% ELSE %]Beta[% END %]'
  9. var:
  10. android_components_version: 94.0.12
  11. torbrowser_branch: 11.5
  12. container:
  13. use_container: 1
  14. # This should be updated when the list of gradle dependencies is changed.
  15. gradle_dependencies_version: 33
  16. gradle_version: 7.0.2
  17. glean_parser: 4.0.0
  18. git_branch: '[% project %]-[% c("var/android_components_version") %]-[% c("var/torbrowser_branch") %]-1'
  19. arch_deps:
  20. - python3-venv
  21. targets:
  22. nightly:
  23. git_hash: '[% c("var/git_branch") %]'
  24. tag_gpg_id: 0
  25. input_files:
  26. - project: container-image
  27. pkg_type: build
  28. - name: '[% c("var/compiler") %]'
  29. project: '[% c("var/compiler") %]'
  30. pkg_type: build
  31. - project: gradle
  32. name: gradle
  33. pkg_type: build
  34. - name: geckoview
  35. project: geckoview
  36. pkg_type: merge_aars
  37. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  38. - name: application-services
  39. project: application-services
  40. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  41. - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
  42. name: gradle-dependencies
  43. exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  44. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  45. - filename: git.patch
  46. - filename: mavenLocal.patch
  47. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  48. - URL: '[% pc("glean", "var/glean_wheels_url/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  49. name: glean
  50. sha256sum: '[% pc("glean", "var/glean_wheels_sha256sum/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  51. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  52. - filename: gen_gradle_deps_file.sh
  53. enable: '[% c("var/fetch_gradle_dependencies") %]'
  54. steps:
  55. list_toolchain_updates:
  56. git_url: https://github.com/mozilla-mobile/android-components.git
  57. git_hash: releases/94.0
  58. #tag_gpg_id: 0
  59. var:
  60. container:
  61. use_container: 0
  62. get_glean_version: |
  63. #!/bin/bash
  64. read -d '' p << 'EOF' || true
  65. if (m/const\\sval\\smozilla_glean\\s=\\s"([^"]+)"/) {
  66. print $1;
  67. exit;
  68. }
  69. EOF
  70. perl -ne "$p" < buildSrc/src/main/java/Dependencies.kt
  71. glean_version: '[% exec(c("var/get_glean_version")) %]'
  72. input_files:
  73. - name: glean
  74. project: glean
  75. pkg_type: src
  76. get_gradle_dependencies_list:
  77. filename: 'gradle-dependencies-list-[% c("var/android_components_version") %].txt'
  78. get_gradle_dependencies_list: '[% INCLUDE build %]'
  79. git_hash: '[% c("var/git_branch") %]^{/Bug 40023: Stop PrivateNotificationService}'
  80. var:
  81. fetch_gradle_dependencies: 1