-
-
Notifications
You must be signed in to change notification settings - Fork 26k
CI Adds quicker CI failure to reduce resource usage #21497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
45d45ac
MNT Test pipelines [azure all-parallel]
thomasjpfan d2037f2
Trigger CI to see the graph running live
ogrisel 9aa83f9
ENH Try disjunction
thomasjpfan c4286a4
ENH Try disjunction
thomasjpfan 46c52a7
ENH Try disjunction
thomasjpfan 9bb2e96
ENH Try disjunction
thomasjpfan 83c72d4
ENH Try disjunction
thomasjpfan 5a3854e
ENH Try disjunction
thomasjpfan 4136aa5
ENH Try disjunction
thomasjpfan b3e05fd
MNT Test pipelines [azure all-parallel]
thomasjpfan 00f3b0c
MNT Test pipelines [azure all-parallel]
thomasjpfan 1f0d299
CLN Fix error
thomasjpfan adc1cbf
CLN Fix error
thomasjpfan 1ffd213
CLN Fix error
thomasjpfan 7efb373
CLN Fix error
thomasjpfan f3f95dd
CLN Fix error
thomasjpfan 3992898
CLN Fix error
thomasjpfan d8d2e1f
CLN Fix error
thomasjpfan 89c11a4
CLN Fix error
thomasjpfan a686f33
CLN Fix error
thomasjpfan 92ed936
CLN Fix error
thomasjpfan a4b5c07
CLN Fix error
thomasjpfan 8e8fdea
CLN Fix error
thomasjpfan 075a646
CLN Fix error
thomasjpfan e2f684f
CLN Fix error
thomasjpfan b4b5f38
CLN Use nested templates [azure all-parallel]
thomasjpfan 996863b
CLN Use nested templates [azure all-parallel]
thomasjpfan 495a89d
CLN Use nested templates [azure all-parallel]
thomasjpfan 5ca1e4a
CLN Use nested templates [azure all-parallel]
thomasjpfan 59b891d
CLN Use nested templates [azure all-parallel]
thomasjpfan 0245c31
CLN Use nested templates [azure all-parallel]
thomasjpfan f484cfc
CLN Use nested templates [azure all-parallel]
thomasjpfan f6c1bb3
DOC Adds more comments
thomasjpfan c1f3dd7
Merge remote-tracking branch 'upstream/main' into ci_failing_faster
thomasjpfan d56716a
DOC Adds marker to for azure parlllel
thomasjpfan a022634
Merge remote-tracking branch 'upstream/main' into ci_failing_faster
thomasjpfan c2e638e
CLN Change build tag name
thomasjpfan 62bcc17
DOC Better yaml comment
thomasjpfan cc7dc5c
Merge remote-tracking branch 'upstream/main' into ci_failing_faster
thomasjpfan bc82f43
Merge remote-tracking branch 'upstream/main' into ci_failing_faster
thomasjpfan 0ad4589
Apply suggestions from code review
thomasjpfan 5b9bda5
Merge remote-tracking branch 'upstream/main' into ci_failing_faster
thomasjpfan 02b6062
CLN Spelling issue
thomasjpfan 598a669
DOC Update docstring for CI
thomasjpfan 8568165
DOC Adds yaml key [azure parallel]
thomasjpfan b434227
CI Fixes dependsOn [azure parallel]
thomasjpfan 39dd70d
CI Trigger default
thomasjpfan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This configuration allows enables a job based on `posix.yml` to have two modes: | ||
# | ||
# 1. When `[azure parallel]` *is not* in the commit message, then this job will | ||
# run first. If this job succeeds, then all dependent jobs can run. | ||
# 2. When `[azure parallel]` *is* in the commit message, then this job will | ||
# run with name `{{ parameters.name }}_Parallel` along with all other jobs. | ||
# | ||
# To enable this template, all dependent jobs should check if this job succeeded | ||
# or skipped by using: | ||
# dependsOn: in(dependencies[{{ parameters.name }}]['result'], 'Succeeded', 'Skipped') | ||
|
||
parameters: | ||
name: '' | ||
vmImage: '' | ||
matrix: [] | ||
dependsOn: [] | ||
condition: '' | ||
commitMessage: '' | ||
|
||
jobs: | ||
|
||
# When [azure parallel] *is not* in the commit message, this job will run | ||
# first. | ||
- template: posix.yml | ||
parameters: | ||
name: ${{ parameters.name }} | ||
vmImage: ${{ parameters.vmImage }} | ||
matrix: ${{ parameters.matrix }} | ||
dependsOn: ${{ parameters.dependsOn }} | ||
condition: | | ||
and( | ||
${{ parameters.condition }}, | ||
not(contains(${{ parameters.commitMessage }}, '[azure parallel]')) | ||
) | ||
|
||
# When [azure parallel] *is* in the commit message, this job and dependent | ||
# jobs will run in parallel. Implementation-wise, the job above is skipped and | ||
# this job, named ${{ parameters.name }}_Parallel, will run in parallel with | ||
# the other jobs. | ||
- template: posix.yml | ||
parameters: | ||
name: ${{ parameters.name }}_Parallel | ||
vmImage: ${{ parameters.vmImage }} | ||
matrix: ${{ parameters.matrix }} | ||
dependsOn: ${{ parameters.dependsOn }} | ||
condition: | | ||
and( | ||
${{ parameters.condition }}, | ||
contains(${{ parameters.commitMessage }}, '[azure parallel]') | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.