Skip to content

Commit

Permalink
[Azure Pipelines] Differentiate manual triggers for Edge Dev/Canary (w…
Browse files Browse the repository at this point in the history
…eb-platform-tests#18445)

As it is, it's only possible to run both of them:
web-platform-tests#17342 (comment)

This also renames the Edge Dev job and artifacts so that Edge stable can
later be added without further renaming.
  • Loading branch information
foolip authored and natechapin committed Aug 23, 2019
1 parent 564f381 commit 581d219
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ jobs:

# 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_edge
- job: results_edge_dev
displayName: 'all tests: Edge Dev'
condition: |
or(eq(variables['Build.Reason'], 'Schedule'),
and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_edge']))
and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_edge_dev']))
# There are 12 agents in the pool, but use more jobs so that each takes <1h.
strategy:
parallel: 20
Expand All @@ -271,18 +271,18 @@ jobs:
- task: PublishBuildArtifacts@1
displayName: 'Publish results'
inputs:
artifactName: 'edge-results'
artifactName: 'edge-dev-results'
- template: tools/ci/azure/cleanup_win10.yml
- template: tools/ci/azure/fyi_hook.yml
parameters:
dependsOn: results_edge
artifactName: edge-results
dependsOn: results_edge_dev
artifactName: edge-dev-results

- job: results_edge_canary
displayName: 'all tests: Edge Canary'
condition: |
or(eq(variables['Build.Reason'], 'Schedule'),
and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_edge']))
and(eq(variables['Build.Reason'], 'Manual'), variables['run_all_edge_canary']))
# There are 12 agents in the pool, but use more jobs so that each takes <1h.
strategy:
parallel: 20
Expand Down

0 comments on commit 581d219

Please sign in to comment.