Bug 1529814 [wpt PR 15502] - [Azure Pipelines] Allow Safari TP to be manually triggered, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 06 Mar 2019 12:34:06 +0000
changeset 464646 3df4d4a707f5ae145cf2249818b7ce1e3021e939
parent 464645 db896ec3c023252eb95bac8b48cb422098224195
child 464647 cd9ac71c85c6abbea6f856c576a3c261c34e6fba
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1529814, 15502, 15500
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1529814 [wpt PR 15502] - [Azure Pipelines] Allow Safari TP to be manually triggered, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Allow Safari TP to be manually triggered (#15502) To help alleviate https://github.com/web-platform-tests/wpt/issues/15500. -- wpt-commits: bbb94679c4f6ca8d6779631eacb2871dd804a70a wpt-pr: 15502
testing/web-platform/tests/.azure-pipelines.yml
--- a/testing/web-platform/tests/.azure-pipelines.yml
+++ b/testing/web-platform/tests/.azure-pipelines.yml
@@ -5,19 +5,17 @@
 # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates
 # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables
 # https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/index
 #
 # In addition to this configuration file, some setup in the Azure DevOps
 # project is required:
 #  - The "Build pull requests from forks of this repository" setting must be
 #    enabled: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github#validate-contributions-from-forks
-#  - A scheduled build needs to be set up for the the epochs/daily branch.
-#  - To get results from scheduled builds into wpt.fyi, a service connection
-#    named wpt.fyi with URL https://wpt.fyi is needed.
+#  - A scheduled build needs to be set up for one of the epochs/* branches.
 #  - Self-hosted agents for Windows 10 are used:
 #    - 'Hosted Windows Client' is the latest Windows 10
 #    - 'Hosted Windows Client Next' is Windows 10 Insider Preview
 #    Documention for the setup of these agents:
 #    https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows
 
 jobs:
 # The affected tests jobs are unconditional for speed, as most PRs have one or
@@ -196,17 +194,19 @@ jobs:
   parameters:
     dependsOn: results_edge
     artifactName: edge-results
 
 # All `./wpt run` tests are run from epochs/* branches on a schedule. See
 # documentation at the top of this file for required setup.
 - job: results_safari_preview
   displayName: 'all tests (Safari Technology Preview)'
-  condition: eq(variables['Build.Reason'], 'Schedule')
+  condition: |
+    or(eq(variables['Build.Reason'], 'Schedule'),
+       and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_safari_preview']))
   strategy:
     parallel: 4 # chosen to make runtime ~2h
   timeoutInMinutes: 360
   pool:
     vmImage: 'macOS-10.13'
   steps:
   - template: tools/ci/azure/checkout.yml
   - template: tools/ci/azure/pip_install.yml