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.65 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 7
  signed_status: unsigned
  publish_dir: '[% c("var/signed_status") %]/[% c("version") %]-[% c("var/torbrowser_build") %]'
8
  containers_target: with_containers
boklm's avatar
boklm committed
9 10 11 12 13 14

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

  notarget:
    - release
    - torbrowser-all
76
    - torbrowser-all-android
77
    - torbrowser-all-desktop
boklm's avatar
boklm committed
78

79 80 81 82
  noversiondir:
    var:
      publish_dir: ''

boklm's avatar
boklm committed
83 84
  release:
    var:
boklm's avatar
boklm committed
85
      build_target: release
boklm's avatar
boklm committed
86 87 88 89

  nightly:
    output_dir: 'nightly'
    var:
boklm's avatar
boklm committed
90
      build_target: nightly
91
      publish_dir: '[% c("version") %]'
boklm's avatar
boklm committed
92 93

  alpha:
94
    output_dir: alpha
boklm's avatar
boklm committed
95
    var:
boklm's avatar
boklm committed
96
      build_target: alpha
boklm's avatar
boklm committed
97

boklm's avatar
boklm committed
98 99 100
  testbuild:
    output_dir: 'testbuild'
    var:
101
      testbuild: 1
boklm's avatar
boklm committed
102
      build_target: torbrowser-testbuild
103
      publish_dir: ''
boklm's avatar
boklm committed
104

105 106 107 108
  no_containers:
    var:
      containers_target: no_containers

109 110 111 112
  signed:
    var:
      signed_status: signed

113 114 115 116
  create_unsigned_incrementals:
    var:
      create_unsigned_incrementals: 1

boklm's avatar
boklm committed
117 118 119
input_files:

# Release
120 121 122 123
 - name: android-armv7
   project: tor-browser
   enable: '[% c("var/torbrowser-android-armv7") %]'
   target:
124
     - '[% c("var/containers_target") %]'
125 126 127
     - '[% c("var/build_target") %]'
     - torbrowser-android-armv7

128 129 130 131
 - name: android-x86
   project: tor-browser
   enable: '[% c("var/torbrowser-android-x86") %]'
   target:
132
     - '[% c("var/containers_target") %]'
133 134 135
     - '[% c("var/build_target") %]'
     - torbrowser-android-x86

136 137 138 139 140 141 142 143
 - name: android-x86_64
   project: tor-browser
   enable: '[% c("var/torbrowser-android-x86_64") %]'
   target:
     - '[% c("var/containers_target") %]'
     - '[% c("var/build_target") %]'
     - torbrowser-android-x86_64

144 145 146 147
 - name: android-aarch64
   project: tor-browser
   enable: '[% c("var/torbrowser-android-aarch64") %]'
   target:
Georg Koppen's avatar
Georg Koppen committed
148
     - '[% c("var/containers_target") %]'
149 150 151
     - '[% c("var/build_target") %]'
     - torbrowser-android-aarch64

boklm's avatar
boklm committed
152 153
 - name: linux-x86_64
   project: tor-browser
boklm's avatar
boklm committed
154
   enable: '[% c("var/torbrowser-linux-x86_64") %]'
boklm's avatar
boklm committed
155
   target:
boklm's avatar
boklm committed
156
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
157
     - 'torbrowser-linux-x86_64[% c("var/debug-build") %]'
boklm's avatar
boklm committed
158 159 160

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

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

173 174 175 176 177 178 179
 - 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
180 181
 - name: osx-x86_64
   project: tor-browser
boklm's avatar
boklm committed
182
   enable: '[% c("var/torbrowser-osx-x86_64") %]'
boklm's avatar
boklm committed
183
   target:
boklm's avatar
boklm committed
184
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
185 186
     - torbrowser-osx-x86_64

boklm's avatar
boklm committed
187 188 189 190 191 192 193
 - 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
194

195 196 197 198 199 200 201 202
 - name: windows64-expert-bundle
   project: tor
   enable: '[% c("var/torbrowser-windows-x86_64") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-x86_64
     - expert-bundle

203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
 - 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
219 220 221 222 223 224
steps:
  signtag:
    build_log: '-'
    debug: 0
    input_files: []
    signtag: '[% INCLUDE signtag %]'
225 226 227 228 229
  update_responses_config:
    build_log: '-'
    debug: 0
    input_files: []
    update_responses_config: '[% INCLUDE update_responses_config %]'
230 231 232 233 234
  create_update_responses_tar:
    build_log: '-'
    debug: 0
    input_files: []
    create_update_responses_tar: '[% INCLUDE create_update_responses_tar %]'
235 236 237 238 239
  hash_incrementals:
    build_log: '-'
    debug: 0
    input_files: []
    hash_incrementals: '[% INCLUDE hash_incrementals %]'
boklm's avatar
boklm committed
240 241 242 243 244
  dmg2mar:
    build_log: '-'
    debug: 0
    input_files: []
    dmg2mar: '[% INCLUDE dmg2mar %]'