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 3.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
  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") %]'
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 17 18 19
    - torbrowser-osx-x86_64
  torbrowser-linux-x86_64:
    var:
      torbrowser-linux-x86_64: 1
boklm's avatar
boklm committed
20 21 22 23
  torbrowser-linux-x86_64-debug:
    var:
      torbrowser-linux-x86_64: 1
      debug-build: '-debug'
boklm's avatar
boklm committed
24 25 26 27 28 29
  torbrowser-linux-i686:
    var:
      torbrowser-linux-i686: 1
  torbrowser-windows-i686:
    var:
      torbrowser-windows-i686: 1
30 31
  torbrowser-windows-x86_64:
    var:
32
      torbrowser-windows-x86_64: '[% ! c("var/release") %]'
boklm's avatar
boklm committed
33 34 35 36 37 38 39 40
  torbrowser-osx-x86_64:
    var:
      torbrowser-osx-x86_64: 1

  notarget:
    - release
    - torbrowser-all

41 42 43 44
  noversiondir:
    var:
      publish_dir: ''

boklm's avatar
boklm committed
45 46
  release:
    var:
boklm's avatar
boklm committed
47
      build_target: release
boklm's avatar
boklm committed
48 49 50 51

  nightly:
    output_dir: 'nightly'
    var:
boklm's avatar
boklm committed
52
      build_target: nightly
53
      publish_dir: '[% c("var/today") %]'
boklm's avatar
boklm committed
54 55 56 57

  alpha_nightly:
    output_dir: 'alpha_nightly'
    var:
boklm's avatar
boklm committed
58
      build_target: alpha
59
      publish_dir: '[% c("var/today") %]'
boklm's avatar
boklm committed
60 61

  alpha:
62
    output_dir: alpha
boklm's avatar
boklm committed
63
    var:
boklm's avatar
boklm committed
64
      build_target: alpha
boklm's avatar
boklm committed
65

boklm's avatar
boklm committed
66 67 68 69
  testbuild:
    output_dir: 'testbuild'
    var:
      build_target: torbrowser-testbuild
70
      publish_dir: ''
boklm's avatar
boklm committed
71

72 73 74 75
  signed:
    var:
      signed_status: signed

boklm's avatar
boklm committed
76 77 78 79 80
input_files:

# Release
 - name: linux-x86_64
   project: tor-browser
boklm's avatar
boklm committed
81
   enable: '[% c("var/torbrowser-linux-x86_64") %]'
boklm's avatar
boklm committed
82
   target:
boklm's avatar
boklm committed
83
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
84
     - 'torbrowser-linux-x86_64[% c("var/debug-build") %]'
boklm's avatar
boklm committed
85

boklm's avatar
boklm committed
86 87
 - name: sandbox-linux-x86_64
   project: sandbox
88
   enable: '[% c("var/torbrowser-linux-x86_64") && ! c("var/release") %]'
boklm's avatar
boklm committed
89 90 91 92
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-linux-x86_64

boklm's avatar
boklm committed
93 94
 - name: linux-i686
   project: tor-browser
boklm's avatar
boklm committed
95
   enable: '[% c("var/torbrowser-linux-i686") %]'
boklm's avatar
boklm committed
96
   target:
boklm's avatar
boklm committed
97
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
98 99 100 101
     - torbrowser-linux-i686

 - name: windows-i686
   project: tor-browser
boklm's avatar
boklm committed
102
   enable: '[% c("var/torbrowser-windows-i686") %]'
boklm's avatar
boklm committed
103
   target:
boklm's avatar
boklm committed
104
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
105 106
     - torbrowser-windows-i686

107 108 109 110 111 112 113
 - 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
114 115
 - name: osx-x86_64
   project: tor-browser
boklm's avatar
boklm committed
116
   enable: '[% c("var/torbrowser-osx-x86_64") %]'
boklm's avatar
boklm committed
117
   target:
boklm's avatar
boklm committed
118
     - '[% c("var/build_target") %]'
boklm's avatar
boklm committed
119 120
     - torbrowser-osx-x86_64

boklm's avatar
boklm committed
121 122 123 124 125 126 127
 - 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
128

129 130 131 132 133 134 135 136
 - name: windows64-expert-bundle
   project: tor
   enable: '[% c("var/torbrowser-windows-x86_64") %]'
   target:
     - '[% c("var/build_target") %]'
     - torbrowser-windows-x86_64
     - expert-bundle

boklm's avatar
boklm committed
137 138 139 140 141 142
steps:
  signtag:
    build_log: '-'
    debug: 0
    input_files: []
    signtag: '[% INCLUDE signtag %]'
143 144 145 146 147
  update_responses_config:
    build_log: '-'
    debug: 0
    input_files: []
    update_responses_config: '[% INCLUDE update_responses_config %]'
148 149 150 151 152
  create_update_responses_tar:
    build_log: '-'
    debug: 0
    input_files: []
    create_update_responses_tar: '[% INCLUDE create_update_responses_tar %]'
153 154 155 156 157
  hash_incrementals:
    build_log: '-'
    debug: 0
    input_files: []
    hash_incrementals: '[% INCLUDE hash_incrementals %]'
boklm's avatar
boklm committed
158 159 160 161 162
  dmg2mar:
    build_log: '-'
    debug: 0
    input_files: []
    dmg2mar: '[% INCLUDE dmg2mar %]'