config 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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: 99.0.3
  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: 35
  16. gradle_version: 7.0.2
  17. glean_parser: 5.0.1
  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: mavenLocal.patch
  46. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  47. - URL: '[% pc("glean", "var/glean_wheels_url/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  48. name: glean
  49. sha256sum: '[% pc("glean", "var/glean_wheels_sha256sum/" _ c("var/glean_parser"), { error_if_undef => 1 }) %]'
  50. enable: '[% !c("var/fetch_gradle_dependencies") %]'
  51. - filename: gen_gradle_deps_file.sh
  52. enable: '[% c("var/fetch_gradle_dependencies") %]'
  53. steps:
  54. list_toolchain_updates:
  55. git_url: https://github.com/mozilla-mobile/android-components.git
  56. git_hash: releases/99.0
  57. #tag_gpg_id: 0
  58. var:
  59. container:
  60. use_container: 0
  61. get_glean_version: |
  62. #!/bin/bash
  63. read -d '' p << 'EOF' || true
  64. if (m/const\\sval\\smozilla_glean\\s=\\s"([^"]+)"/) {
  65. print $1;
  66. exit;
  67. }
  68. EOF
  69. perl -ne "$p" < buildSrc/src/main/java/Dependencies.kt
  70. glean_version: '[% exec(c("var/get_glean_version")) %]'
  71. input_files:
  72. - name: glean
  73. project: glean
  74. pkg_type: src
  75. get_gradle_dependencies_list:
  76. filename: 'gradle-dependencies-list-[% c("var/android_components_version") %].txt'
  77. get_gradle_dependencies_list: '[% INCLUDE build %]'
  78. git_hash: '[% c("var/git_branch") %]^{/Bug 40023: Stop PrivateNotificationService}'
  79. var:
  80. fetch_gradle_dependencies: 1