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

  notarget:
    - release
    - torbrowser-all

65 66 67 68
  noversiondir:
    var:
      publish_dir: ''

boklm's avatar
boklm committed
69 70
  release:
    var:
boklm's avatar
boklm committed
71
      build_target: release
boklm's avatar
boklm committed
72 73 74 75

  nightly:
    output_dir: 'nightly'
    var:
boklm's avatar
boklm committed
76
      build_target: nightly
77
      publish_dir: '[% c("var/today") %]'
boklm's avatar
boklm committed
78 79

  alpha:
80
    output_dir: alpha
boklm's avatar
boklm committed
81
    var:
boklm's avatar
boklm committed
82
      build_target: alpha
boklm's avatar
boklm committed
83

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

91 92 93 94
  no_containers:
    var:
      containers_target: no_containers

95 96 97 98
  signed:
    var:
      signed_status: signed

99 100 101 102
  create_unsigned_incrementals:
    var:
      create_unsigned_incrementals: 1

boklm's avatar
boklm committed
103 104 105
input_files:

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

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

122 123 124 125 126 127 128 129
 - 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

130 131 132 133
 - name: android-aarch64
   project: tor-browser
   enable: '[% c("var/torbrowser-android-aarch64") %]'
   target:
Georg Koppen's avatar
Georg Koppen committed
134
     - '[% c("var/containers_target") %]'
135 136 137
     - '[% c("var/build_target") %]'
     - torbrowser-android-aarch64

boklm's avatar
boklm committed
138 139
 - name: linux-x86_64
   project: tor-browser
boklm's avatar
boklm committed
140
   enable: '[% c("var/torbrowser-linux-x86_64") %]'
boklm's avatar
boklm committed
141
   target:
boklm's avatar
boklm committed
142
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
143
     - 'torbrowser-linux-x86_64[% c("var/debug-build") %]'
boklm's avatar
boklm committed
144 145 146

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

 - name: windows-i686
   project: tor-browser
boklm's avatar
boklm committed
154
   enable: '[% c("var/torbrowser-windows-i686") %]'
boklm's avatar
boklm committed
155
   target:
boklm's avatar
boklm committed
156
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
157 158
     - torbrowser-windows-i686

159 160 161 162 163 164 165
 - 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
166 167
 - name: osx-x86_64
   project: tor-browser
boklm's avatar
boklm committed
168
   enable: '[% c("var/torbrowser-osx-x86_64") %]'
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-osx-x86_64

boklm's avatar
boklm committed
173 174 175 176 177 178 179
 - 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
180

181 182 183 184 185 186 187 188
 - name: windows64-expert-bundle
   project: tor
   enable: '[% c("var/torbrowser-windows-x86_64") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-x86_64
     - expert-bundle

189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
 - 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
205 206 207 208 209 210
steps:
  signtag:
    build_log: '-'
    debug: 0
    input_files: []
    signtag: '[% INCLUDE signtag %]'
211 212 213 214 215
  update_responses_config:
    build_log: '-'
    debug: 0
    input_files: []
    update_responses_config: '[% INCLUDE update_responses_config %]'
216 217 218 219 220
  create_update_responses_tar:
    build_log: '-'
    debug: 0
    input_files: []
    create_update_responses_tar: '[% INCLUDE create_update_responses_tar %]'
221 222 223 224 225
  hash_incrementals:
    build_log: '-'
    debug: 0
    input_files: []
    hash_incrementals: '[% INCLUDE hash_incrementals %]'
boklm's avatar
boklm committed
226 227 228 229 230
  dmg2mar:
    build_log: '-'
    debug: 0
    input_files: []
    dmg2mar: '[% INCLUDE dmg2mar %]'