config 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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: 91.0.13
  11. torbrowser_branch: 11.0
  12. container:
  13. use_container: 1
  14. # This should be updated when the list of gradle dependencies is changed.
  15. gradle_dependencies_version: 31
  16. gradle_version: 6.6.1
  17. glean_parser: 3.4.0
  18. git_branch: '[% project %]-[% c("var/android_components_version") %]-[% c("var/torbrowser_branch") %]-1'
  19. targets:
  20. nightly:
  21. git_hash: '[% c("var/git_branch") %]'
  22. tag_gpg_id: 0
  23. input_files:
  24. - project: container-image
  25. pkg_type: build
  26. - name: '[% c("var/compiler") %]'
  27. project: '[% c("var/compiler") %]'
  28. pkg_type: build
  29. - project: gradle
  30. name: gradle
  31. pkg_type: build
  32. - name: geckoview
  33. project: geckoview
  34. pkg_type: merge_aars
  35. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  36. - name: application-services
  37. project: application-services
  38. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  39. - name: python
  40. project: python
  41. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  42. - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
  43. name: gradle-dependencies
  44. exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  45. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  46. - filename: git.patch
  47. - filename: mavenLocal.patch
  48. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  49. - URL: https://people.torproject.org/~boklm/mirrors/sources/glean-wheels-[% c('var/glean_parser') %].tar.xz
  50. name: glean
  51. sha256sum: b74c9184dd2ee4c84a6e9766cd754cd07fc9be7233a1cdaa35bba6bd169beb75
  52. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  53. - filename: gen_gradle_deps_file.sh
  54. enable: '[% c("var/fetch_gradle_dependencies") %]'
  55. steps:
  56. list_toolchain_updates:
  57. git_url: https://github.com/mozilla-mobile/android-components.git
  58. git_hash: releases/91.0
  59. #tag_gpg_id: 0
  60. var:
  61. container:
  62. use_container: 0
  63. get_glean_version: |
  64. #!/bin/bash
  65. read -d '' p << 'EOF' || true
  66. if (m/const\\sval\\smozilla_glean\\s=\\s"([^"]+)"/) {
  67. print $1;
  68. exit;
  69. }
  70. EOF
  71. perl -ne "$p" < buildSrc/src/main/java/Dependencies.kt
  72. glean_version: '[% exec(c("var/get_glean_version")) %]'
  73. input_files:
  74. - name: glean
  75. project: glean
  76. pkg_type: src
  77. get_gradle_dependencies_list:
  78. filename: 'gradle-dependencies-list-[% c("var/android_components_version") %].txt'
  79. get_gradle_dependencies_list: '[% INCLUDE build %]'
  80. git_hash: '[% c("var/git_branch") %]^{/Bug 40023: Stop PrivateNotificationService}'
  81. var:
  82. fetch_gradle_dependencies: 1