[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-bundle-testsuite][main] Bug 40105: Only run tools/trigger-test-pipeline.py for supported platforms



Title: GitLab

boklm pushed to branch main at The Tor Project / Applications / tor-browser-bundle-testsuite

Commits:

  • 6527da9f
    by Nicolas Vigier at 2026-05-25T16:53:22+02:00
    Bug 40105: Only run tools/trigger-test-pipeline.py for supported platforms
    
    Add trigger_test_pipeline option to only enable running
    tools/trigger-test-pipeline.py on selected builds that are supported
    platforms.
    
    This should remove all "failed run" pipeline errors in the email that
    are expected failures.
    

4 changed files:

Changes:

  • TBBTestSuite/TestSuite/TorBrowserBuild.pm
    ... ... @@ -46,7 +46,8 @@ sub set_tests {
    46 46
                     'browser-linux-x86_64',
    
    47 47
                     'torbrowser',
    
    48 48
                 ],
    
    49
    -            publish_dir => 'nightly-linux-x86_64',
    
    49
    +            publish_dir           => 'nightly-linux-x86_64',
    
    50
    +            trigger_test_pipeline => 1,
    
    50 51
             },
    
    51 52
             {
    
    52 53
                 name  => 'torbrowser-incrementals-nightly-linux-x86_64',
    
    ... ... @@ -109,7 +110,8 @@ sub set_tests {
    109 110
                     'browser-windows-x86_64',
    
    110 111
                     'torbrowser',
    
    111 112
                 ],
    
    112
    -            publish_dir => 'nightly-windows-x86_64',
    
    113
    +            publish_dir           => 'nightly-windows-x86_64',
    
    114
    +            trigger_test_pipeline => 1,
    
    113 115
             },
    
    114 116
             {
    
    115 117
                 name  => 'torbrowser-incrementals-nightly-windows-x86_64',
    
    ... ... @@ -130,7 +132,8 @@ sub set_tests {
    130 132
                     'browser-macos',
    
    131 133
                     'torbrowser',
    
    132 134
                 ],
    
    133
    -            publish_dir => 'nightly-macos',
    
    135
    +            publish_dir           => 'nightly-macos',
    
    136
    +            trigger_test_pipeline => 1,
    
    134 137
             },
    
    135 138
             {
    
    136 139
                 name  => 'torbrowser-incrementals-nightly-macos',
    
    ... ... @@ -165,7 +168,8 @@ sub set_tests {
    165 168
                     'browser-android-x86_64',
    
    166 169
                     'torbrowser',
    
    167 170
                 ],
    
    168
    -            publish_dir => 'nightly-android-x86_64',
    
    171
    +            publish_dir           => 'nightly-android-x86_64',
    
    172
    +            trigger_test_pipeline => 1,
    
    169 173
             },
    
    170 174
             {
    
    171 175
                 name  => 'torbrowser-nightly-android-aarch64',
    

  • config/tb-build-06.torproject.org
    ... ... @@ -32,7 +32,7 @@ my $test_post = sub {
    32 32
         my ($tbbinfos, $test) = @_;
    
    33 33
         run_rsync();
    
    34 34
     
    
    35
    -    return unless $test->{type} eq 'rbm_build';
    
    35
    +    return unless $test->{trigger_test_pipeline};
    
    36 36
         return unless $test->{results} && $test->{results}{success};
    
    37 37
         return unless $test->{publish_dir};
    
    38 38
     
    

  • tmpl/details_rbm_build.html
    ... ... @@ -3,7 +3,7 @@
    3 3
     [% IF tbbfiles.$tbbfile.publish_url %]
    
    4 4
         <li><a href="">"[% tbbfiles.$tbbfile.publish_url %]/[% test.publish_dir %]">build files</a></li>
    
    5 5
     [% END %]
    
    6
    -[% IF test.gitlab_pipeline_url %]
    
    7
    -    <li>GitLab test pipeline: <a href="">"[% test.gitlab_pipeline_url %]">[% test.gitlab_pipeline_url %]</a></li>
    
    6
    +[% IF IF test.trigger_test_pipeline && test.results.success %]
    
    7
    +    <li><a href="">"[% test.gitlab_pipeline_url %]">GitLab test pipeline</a> (<a href="">"results-[% tbbfile %]/[% test.name %].trigger-test-pipeline.stderr.txt">trigger stderr</a>)</li>
    
    8 8
     [% END %]
    
    9 9
     </ul>

  • tmpl/report_tor-browser_build.txt
    ... ... @@ -9,7 +9,7 @@ Results
    9 9
     [% IF test.results -%]
    
    10 10
       [% test.name %]: [% test.results.success ? 'ok' : 'failed (' _ test.fail_type _ ')' %]
    
    11 11
     
    
    12
    -  [%- IF test.type == 'rbm_build' -%]
    
    12
    +  [%- IF test.trigger_test_pipeline && test.results.success -%]
    
    13 13
         GitLab test pipeline: [% test.gitlab_pipeline_url ? test.gitlab_pipeline_url : 'failed run' %]
    
    14 14
     
    
    15 15
       [%- END -%]
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx