boklm pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
-
c73503ae
by Nicolas Vigier at 2024-03-11T15:48:23+01:00
3 changed files:
Changes:
... | ... | @@ -58,9 +58,25 @@ steps: |
58 | 58 | src-tarballs:
|
59 | 59 | filename: 'src-[% project %]-[% c("version") %].tar.xz'
|
60 | 60 | version: '[% c("git_hash") %]'
|
61 | - input_files: []
|
|
61 | + input_files:
|
|
62 | + - project: container-image
|
|
63 | + pkg_type: build
|
|
64 | + compress_tar: ''
|
|
62 | 65 | container:
|
63 | - use_container: 0
|
|
66 | + use_container: 1
|
|
67 | + var:
|
|
68 | + # single-thread and multi-thread xz will generate a different result,
|
|
69 | + # se we use at least 2 threads
|
|
70 | + xz_threads: '[% c("num_procs") == "1" ? "2" : c("num_procs") %]'
|
|
71 | + src-tarballs: |
|
|
72 | + #!/bin/bash
|
|
73 | + set -e
|
|
74 | + mkdir -p '[% dest_dir %]'
|
|
75 | + # Files copied to the container are owned by group root (rbm#40074),
|
|
76 | + # and it seems xz doesn't like that and exits with an error
|
|
77 | + chgrp rbm '[% project %]-[% c("version") %].tar'
|
|
78 | + xz --threads=[% c("var/xz_threads") %] -f '[% project %]-[% c("version") %].tar'
|
|
79 | + mv -vf '[% project %]-[% c("version") %].tar.xz' '[% dest_dir %]/[% c("filename") %]'
|
|
64 | 80 | targets:
|
65 | 81 | nightly:
|
66 | 82 | version: '[% c("abbrev") %]'
|
... | ... | @@ -229,8 +229,7 @@ input_files: |
229 | 229 | pkg_type: src-tarballs
|
230 | 230 | target:
|
231 | 231 | - '[% c("var/build_target") %]'
|
232 | - - browser-src
|
|
233 | - - '[% c("var/browser_type") %]'
|
|
232 | + - '[% c("var/browser_type") %]-macos'
|
|
234 | 233 | |
235 | 234 | steps:
|
236 | 235 | signtag:
|
... | ... | @@ -14,14 +14,6 @@ container: |
14 | 14 | build: 1
|
15 | 15 | |
16 | 16 | steps:
|
17 | - src-tarballs:
|
|
18 | - compress_tar: xz
|
|
19 | - src-tarballs: |
|
|
20 | - #!/bin/bash
|
|
21 | - set -e
|
|
22 | - mkdir -p '[% dest_dir %]'
|
|
23 | - mv -vf '[% project %]-[% c("version") %].tar.xz' '[% dest_dir %]/[% c("filename") %]'
|
|
24 | - |
|
25 | 17 | list_toolchain_updates:
|
26 | 18 | build_log: '-'
|
27 | 19 | list_toolchain_updates: '[% INCLUDE list_toolchain_updates %]'
|