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: - TBBTestSuite/TestSuite/TorBrowserBuild.pm - config/tb-build-06.torproject.org - tmpl/details_rbm_build.html - tmpl/report_tor-browser_build.txt Changes: ===================================== TBBTestSuite/TestSuite/TorBrowserBuild.pm ===================================== @@ -46,7 +46,8 @@ sub set_tests { 'browser-linux-x86_64', 'torbrowser', ], - publish_dir => 'nightly-linux-x86_64', + publish_dir => 'nightly-linux-x86_64', + trigger_test_pipeline => 1, }, { name => 'torbrowser-incrementals-nightly-linux-x86_64', @@ -109,7 +110,8 @@ sub set_tests { 'browser-windows-x86_64', 'torbrowser', ], - publish_dir => 'nightly-windows-x86_64', + publish_dir => 'nightly-windows-x86_64', + trigger_test_pipeline => 1, }, { name => 'torbrowser-incrementals-nightly-windows-x86_64', @@ -130,7 +132,8 @@ sub set_tests { 'browser-macos', 'torbrowser', ], - publish_dir => 'nightly-macos', + publish_dir => 'nightly-macos', + trigger_test_pipeline => 1, }, { name => 'torbrowser-incrementals-nightly-macos', @@ -165,7 +168,8 @@ sub set_tests { 'browser-android-x86_64', 'torbrowser', ], - publish_dir => 'nightly-android-x86_64', + publish_dir => 'nightly-android-x86_64', + trigger_test_pipeline => 1, }, { name => 'torbrowser-nightly-android-aarch64', ===================================== config/tb-build-06.torproject.org ===================================== @@ -32,7 +32,7 @@ my $test_post = sub { my ($tbbinfos, $test) = @_; run_rsync(); - return unless $test->{type} eq 'rbm_build'; + return unless $test->{trigger_test_pipeline}; return unless $test->{results} && $test->{results}{success}; return unless $test->{publish_dir}; ===================================== tmpl/details_rbm_build.html ===================================== @@ -3,7 +3,7 @@ [% IF tbbfiles.$tbbfile.publish_url %] <li><a href="[% tbbfiles.$tbbfile.publish_url %]/[% test.publish_dir %]">build files</a></li> [% END %] -[% IF test.gitlab_pipeline_url %] - <li>GitLab test pipeline: <a href="[% test.gitlab_pipeline_url %]">[% test.gitlab_pipeline_url %]</a></li> +[% IF IF test.trigger_test_pipeline && test.results.success %] + <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> [% END %] </ul> ===================================== tmpl/report_tor-browser_build.txt ===================================== @@ -9,7 +9,7 @@ Results [% IF test.results -%] [% test.name %]: [% test.results.success ? 'ok' : 'failed (' _ test.fail_type _ ')' %] - [%- IF test.type == 'rbm_build' -%] + [%- IF test.trigger_test_pipeline && test.results.success -%] GitLab test pipeline: [% test.gitlab_pipeline_url ? test.gitlab_pipeline_url : 'failed run' %] [%- END -%] View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
boklm (@boklm)