Bug 1528232 [wpt PR 15384] - [Azure] Use curl instead of InvokeRESTAPI@1, a=testonly
authorRobert Ma <bob1211@gmail.com>
Tue, 05 Mar 2019 12:13:04 +0000
changeset 464531 1e4f678f8bf97200cb609a08342e3c70b3d00b8e
parent 464530 c24abbb7f7e91a2501a438c1c8eba45e11cde21c
child 464532 641af081b5e6f38ac2d24d707f41de5cfb80ba81
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
bugs1528232, 15384
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 1528232 [wpt PR 15384] - [Azure] Use curl instead of InvokeRESTAPI@1, a=testonly Automatic update from web-platform-tests [Azure] Use curl instead of InvokeRESTAPI@1 (#15384) InvokeRESTAPI@1 doesn't seem to allow us to customize the timeout (it has a builtin timeout of 20s), and the notify endpoint takes a while to complete as it needs to download the artifacts from Azure. Also, run both hooks (prod & staging) independently. Hope to alleviate #1131. -- wpt-commits: e0a7556f7d12da1dc38b6a051dacb224da442b72 wpt-pr: 15384
testing/web-platform/tests/.azure-pipelines.yml
--- a/testing/web-platform/tests/.azure-pipelines.yml
+++ b/testing/web-platform/tests/.azure-pipelines.yml
@@ -209,20 +209,16 @@ jobs:
     displayName: 'Publish results'
     inputs:
       artifactName: 'results'
 
 # The InvokeRESTAPI task can only run in a server job.
 - job: all_post
   displayName: 'all tests (wpt.fyi hook)'
   dependsOn: all_macOS
-  pool: server
+  pool:
+    vmImage: 'ubuntu-16.04'
   steps:
-  - task: InvokeRESTAPI@1
+  - script: curl -s -S https://wpt.fyi/api/checks/azure/$(Build.BuildId)
     displayName: 'Invoke wpt.fyi hook'
-    inputs:
-      serviceConnection: wpt.fyi
-      urlSuffix: /api/checks/azure/$(Build.BuildId)
-  - task: InvokeRESTAPI@1
+  - script: curl -s -S https://staging.wpt.fyi/api/checks/azure/$(Build.BuildId)
     displayName: 'Invoke staging.wpt.fyi hook'
-    inputs:
-      serviceConnection: staging.wpt.fyi
-      urlSuffix: /api/checks/azure/$(Build.BuildId)
+    condition: succeededOrFailed()