GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

config 5.09 KB
Newer Older
boklm's avatar
boklm committed
1 2
# vim: filetype=yaml sw=2
version: '[% c("var/torbrowser_version") %]'
3
output_dir: release
boklm's avatar
boklm committed
4 5

var:
6
  signed_status: unsigned
boklm's avatar
boklm committed
7
  today: '[% USE date; date.format(format = "%Y-%m-%d") %]'
8
  publish_dir: '[% c("var/signed_status") %]/[% c("version") %]-[% c("var/torbrowser_build") %]'
9
  containers_target: with_containers
boklm's avatar
boklm committed
10 11 12 13 14 15

targets:
  torbrowser-all:
    - torbrowser-linux-x86_64
    - torbrowser-linux-i686
    - torbrowser-windows-i686
16
    - torbrowser-windows-x86_64
boklm's avatar
boklm committed
17
    - torbrowser-osx-x86_64
18
    - torbrowser-android-armv7
19
    - torbrowser-android-x86
Georg Koppen's avatar
Georg Koppen committed
20
    - torbrowser-android-aarch64
21
    - torbrowser-src
22 23 24
  torbrowser-android-armv7:
    var:
      torbrowser-android-armv7: 1
25 26 27
  torbrowser-android-x86:
    var:
      torbrowser-android-x86: 1
28 29 30
  torbrowser-android-aarch64:
    var:
      torbrowser-android-aarch64: 1
boklm's avatar
boklm committed
31 32 33
  torbrowser-linux-x86_64:
    var:
      torbrowser-linux-x86_64: 1
boklm's avatar
boklm committed
34 35 36 37
  torbrowser-linux-x86_64-debug:
    var:
      torbrowser-linux-x86_64: 1
      debug-build: '-debug'
boklm's avatar
boklm committed
38 39 40 41 42 43
  torbrowser-linux-i686:
    var:
      torbrowser-linux-i686: 1
  torbrowser-windows-i686:
    var:
      torbrowser-windows-i686: 1
44 45
  torbrowser-windows-x86_64:
    var:
46
      torbrowser-windows-x86_64: 1
boklm's avatar
boklm committed
47 48 49
  torbrowser-osx-x86_64:
    var:
      torbrowser-osx-x86_64: 1
50 51 52 53 54 55
  torbrowser-src:
    var:
      torbrowser-src: '[% ! c("var/testbuild") %]'
  torbrowser-src-testbuild:
    var:
      torbrowser-src: 1
boklm's avatar
boklm committed
56 57 58 59 60

  notarget:
    - release
    - torbrowser-all

61 62 63 64
  noversiondir:
    var:
      publish_dir: ''

boklm's avatar
boklm committed
65 66
  release:
    var:
boklm's avatar
boklm committed
67
      build_target: release
boklm's avatar
boklm committed
68 69 70 71

  nightly:
    output_dir: 'nightly'
    var:
boklm's avatar
boklm committed
72
      build_target: nightly
73
      publish_dir: '[% c("var/today") %]'
boklm's avatar
boklm committed
74 75 76 77

  alpha_nightly:
    output_dir: 'alpha_nightly'
    var:
boklm's avatar
boklm committed
78
      build_target: alpha
79
      publish_dir: '[% c("var/today") %]'
boklm's avatar
boklm committed
80 81

  alpha:
82
    output_dir: alpha
boklm's avatar
boklm committed
83
    var:
boklm's avatar
boklm committed
84
      build_target: alpha
boklm's avatar
boklm committed
85

boklm's avatar
boklm committed
86 87 88
  testbuild:
    output_dir: 'testbuild'
    var:
89
      testbuild: 1
boklm's avatar
boklm committed
90
      build_target: torbrowser-testbuild
91
      publish_dir: ''
boklm's avatar
boklm committed
92

93 94 95 96
  no_containers:
    var:
      containers_target: no_containers

97 98 99 100
  signed:
    var:
      signed_status: signed

101 102 103 104
  create_unsigned_incrementals:
    var:
      create_unsigned_incrementals: 1

boklm's avatar
boklm committed
105 106 107
input_files:

# Release
108 109 110 111
 - name: android-armv7
   project: tor-browser
   enable: '[% c("var/torbrowser-android-armv7") %]'
   target:
112
     - '[% c("var/containers_target") %]'
113 114 115
     - '[% c("var/build_target") %]'
     - torbrowser-android-armv7

116 117 118 119
 - name: android-x86
   project: tor-browser
   enable: '[% c("var/torbrowser-android-x86") %]'
   target:
120
     - '[% c("var/containers_target") %]'
121 122 123
     - '[% c("var/build_target") %]'
     - torbrowser-android-x86

124 125 126 127
 - name: android-aarch64
   project: tor-browser
   enable: '[% c("var/torbrowser-android-aarch64") %]'
   target:
Georg Koppen's avatar
Georg Koppen committed
128
     - '[% c("var/containers_target") %]'
129 130 131
     - '[% c("var/build_target") %]'
     - torbrowser-android-aarch64

boklm's avatar
boklm committed
132 133
 - name: linux-x86_64
   project: tor-browser
boklm's avatar
boklm committed
134
   enable: '[% c("var/torbrowser-linux-x86_64") %]'
boklm's avatar
boklm committed
135
   target:
boklm's avatar
boklm committed
136
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
137
     - 'torbrowser-linux-x86_64[% c("var/debug-build") %]'
boklm's avatar
boklm committed
138 139 140

 - name: linux-i686
   project: tor-browser
boklm's avatar
boklm committed
141
   enable: '[% c("var/torbrowser-linux-i686") %]'
boklm's avatar
boklm committed
142
   target:
boklm's avatar
boklm committed
143
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
144 145 146 147
     - torbrowser-linux-i686

 - name: windows-i686
   project: tor-browser
boklm's avatar
boklm committed
148
   enable: '[% c("var/torbrowser-windows-i686") %]'
boklm's avatar
boklm committed
149
   target:
boklm's avatar
boklm committed
150
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
151 152
     - torbrowser-windows-i686

153 154 155 156 157 158 159
 - name: windows-x86_64
   project: tor-browser
   enable: '[% c("var/torbrowser-windows-x86_64") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-x86_64

boklm's avatar
boklm committed
160 161
 - name: osx-x86_64
   project: tor-browser
boklm's avatar
boklm committed
162
   enable: '[% c("var/torbrowser-osx-x86_64") %]'
boklm's avatar
boklm committed
163
   target:
boklm's avatar
boklm committed
164
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
165 166
     - torbrowser-osx-x86_64

boklm's avatar
boklm committed
167 168 169 170 171 172 173
 - name: windows-expert-bundle
   project: tor
   enable: '[% c("var/torbrowser-windows-i686") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-i686
     - expert-bundle
boklm's avatar
boklm committed
174

175 176 177 178 179 180 181 182
 - name: windows64-expert-bundle
   project: tor
   enable: '[% c("var/torbrowser-windows-x86_64") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-x86_64
     - expert-bundle

183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
 - name: src-firefox
   project: firefox
   enable: '[% c("var/torbrowser-src") %]'
   pkg_type: src-tarballs
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-src

 - name: src-tor-launcher
   project: tor-launcher
   enable: '[% c("var/torbrowser-src") %]'
   pkg_type: src-tarballs
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-src

boklm's avatar
boklm committed
199 200 201 202 203 204
steps:
  signtag:
    build_log: '-'
    debug: 0
    input_files: []
    signtag: '[% INCLUDE signtag %]'
205 206 207 208 209
  update_responses_config:
    build_log: '-'
    debug: 0
    input_files: []
    update_responses_config: '[% INCLUDE update_responses_config %]'
210 211 212 213 214
  create_update_responses_tar:
    build_log: '-'
    debug: 0
    input_files: []
    create_update_responses_tar: '[% INCLUDE create_update_responses_tar %]'
215 216 217 218 219
  hash_incrementals:
    build_log: '-'
    debug: 0
    input_files: []
    hash_incrementals: '[% INCLUDE hash_incrementals %]'
boklm's avatar
boklm committed
220 221 222 223 224
  dmg2mar:
    build_log: '-'
    debug: 0
    input_files: []
    dmg2mar: '[% INCLUDE dmg2mar %]'