config 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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-build5'
  5. git_url: https://gitlab.torproject.org/tpo/applications/android-components.git
  6. tag_gpg_id: 1
  7. gpg_keyring:
  8. - pierov.gpg
  9. - richard.gpg
  10. variant: '[% IF c("var/release") %]Release[% ELSE %]Beta[% END %]'
  11. container:
  12. use_container: 1
  13. var:
  14. android_components_version: 102.0.14
  15. torbrowser_branch: 12.0
  16. # This should be updated when the list of gradle dependencies is changed.
  17. gradle_dependencies_version: 37
  18. gradle_version: 7.0.2
  19. glean_parser: 5.0.1
  20. git_branch: '[% project %]-[% c("var/android_components_version") %]-[% c("var/torbrowser_branch") %]-1'
  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. enable: '[% !c("var/fetch_gradle_dependencies") && c("var/android_single_arch") %]'
  37. - name: geckoview
  38. project: geckoview
  39. pkg_type: merge_aars
  40. enable: '[% !c("var/fetch_gradle_dependencies") && !c("var/android_single_arch") %]'
  41. - name: application-services
  42. project: application-services
  43. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  44. - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
  45. name: gradle-dependencies
  46. exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  47. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  48. - filename: mavenLocal.patch
  49. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  50. - URL: '[% pc("glean", "var/glean_wheels_url/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  51. name: glean
  52. sha256sum: '[% pc("glean", "var/glean_wheels_sha256sum/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  53. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  54. - filename: gen_gradle_deps_file.sh
  55. enable: '[% c("var/fetch_gradle_dependencies") %]'
  56. steps:
  57. list_toolchain_updates:
  58. git_url: https://github.com/mozilla-mobile/android-components.git
  59. git_hash: releases/102.0
  60. #tag_gpg_id: 0
  61. container:
  62. use_container: 0
  63. var:
  64. get_glean_version: |
  65. #!/bin/bash
  66. read -d '' p << 'EOF' || true
  67. if (m/const\\sval\\smozilla_glean\\s=\\s"([^"]+)"/) {
  68. print $1;
  69. exit;
  70. }
  71. EOF
  72. perl -ne "$p" < buildSrc/src/main/java/Dependencies.kt
  73. glean_version: '[% exec(c("var/get_glean_version")) %]'
  74. input_files:
  75. - name: glean
  76. project: glean
  77. pkg_type: src
  78. get_gradle_dependencies_list:
  79. filename: 'gradle-dependencies-list-[% c("var/android_components_version") %].txt'
  80. get_gradle_dependencies_list: '[% INCLUDE build %]'
  81. git_hash: '[% c("var/git_branch") %]^{/Bug 40023: Stop PrivateNotificationService}'
  82. var:
  83. fetch_gradle_dependencies: 1